summaryrefslogtreecommitdiffstats
path: root/src/H5system.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-04-22 20:04:44 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-04-22 20:04:44 (GMT)
commit683d60460a94869225094b4efc824258c5b0dcd3 (patch)
tree92f6400d0c7f80046231ad46048227cdf4940a34 /src/H5system.c
parentcacfe71beb159fc44df256f641d4faac594c802e (diff)
downloadhdf5-683d60460a94869225094b4efc824258c5b0dcd3.zip
hdf5-683d60460a94869225094b4efc824258c5b0dcd3.tar.gz
hdf5-683d60460a94869225094b4efc824258c5b0dcd3.tar.bz2
[svn-r18617] Description:
Bring r18616 from trunk to 1.8 branch: Clean up compiler warnings. Tested on: Mac OS X/32 10.6.3 (amazon) w/debug (too minor to require h5committest)
Diffstat (limited to 'src/H5system.c')
-rw-r--r--src/H5system.c35
1 files changed, 19 insertions, 16 deletions
diff --git a/src/H5system.c b/src/H5system.c
index 5725218..7776cbb 100644
--- a/src/H5system.c
+++ b/src/H5system.c
@@ -138,23 +138,26 @@ HDfprintf(FILE *stream, const char *fmt, ...)
s = fmt + 1;
/* Flags */
- while (HDstrchr ("-+ #", *s)) {
- switch (*s) {
- case '-':
- leftjust = 1;
- break;
- case '+':
- plussign = 1;
- break;
- case ' ':
- ldspace = 1;
- break;
- case '#':
- prefix = 1;
- break;
- } /*lint !e744 Switch statement doesn't _need_ default */
+ while(HDstrchr ("-+ #", *s)) {
+ switch(*s) {
+ case '-':
+ leftjust = 1;
+ break;
+
+ case '+':
+ plussign = 1;
+ break;
+
+ case ' ':
+ ldspace = 1;
+ break;
+
+ case '#':
+ prefix = 1;
+ break;
+ } /* end switch */ /*lint !e744 Switch statement doesn't _need_ default */
s++;
- }
+ } /* end while */
/* Field width */
if (HDisdigit (*s)) {