mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
[svn-r2462] Fixed some small compiler warnings.
This commit is contained in:
parent
a01ff43d8d
commit
3750200354
1703
tools/h5dump.c
1703
tools/h5dump.c
File diff suppressed because it is too large
Load Diff
@ -1,16 +1,17 @@
|
||||
#ifndef _H5DUMP_H
|
||||
#define _H5DUMP_H
|
||||
#ifndef H5DUMP_H__
|
||||
#define H5DUMP_H__
|
||||
|
||||
#include <hdf5.h>
|
||||
|
||||
#define H5DUMP_MAX_RANK H5S_MAX_RANK
|
||||
|
||||
#define begin_obj(obj,name,begin) \
|
||||
if (name) \
|
||||
printf("%s \"%s\" %s\n", (obj), (name), (begin)); \
|
||||
else \
|
||||
printf("%s %s\n", (obj), (begin));
|
||||
|
||||
#define end_obj(obj,end) \
|
||||
printf("%s %s\n", (end), (obj));
|
||||
|
||||
|
||||
#define H5DUMP_MAX_RANK H5S_MAX_RANK
|
||||
|
||||
#define begin_obj(obj,name, begin) if (name) printf("%s \"%s\" %s\n", obj, name, begin); else printf("%s %s\n",obj,begin);
|
||||
#define end_obj(obj, end) printf("%s %s\n", end,obj);
|
||||
|
||||
|
||||
#endif
|
||||
#endif /* H5DUMP_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user