diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2015-11-21 03:48:01 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2015-11-21 03:48:01 (GMT) |
commit | 05b604da9abdb85e0aeeec5128cb9ebb57aeea32 (patch) | |
tree | de721c0885aa96413f88aa64fdc8fb7505b5a6be /tools/h5stat/h5stat.c | |
parent | c327c727cf633192e64bf90405f581454de770b3 (diff) | |
download | hdf5-05b604da9abdb85e0aeeec5128cb9ebb57aeea32.zip hdf5-05b604da9abdb85e0aeeec5128cb9ebb57aeea32.tar.gz hdf5-05b604da9abdb85e0aeeec5128cb9ebb57aeea32.tar.bz2 |
[svn-r28433] Misc warning and cleanup fixes.
Tested on Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
serial only
Diffstat (limited to 'tools/h5stat/h5stat.c')
-rw-r--r-- | tools/h5stat/h5stat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5stat/h5stat.c b/tools/h5stat/h5stat.c index ac6ca23..a331014 100644 --- a/tools/h5stat/h5stat.c +++ b/tools/h5stat/h5stat.c @@ -310,7 +310,7 @@ static void usage(const char *prog) * *------------------------------------------------------------------------- */ -static unsigned +H5_ATTR_CONST static unsigned ceil_log10(unsigned long x) { unsigned long pow10 = 1; @@ -321,7 +321,7 @@ ceil_log10(unsigned long x) ret++; } /* end while */ - return(ret); + return ret; } /* ceil_log10() */ |