summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2006-11-17 20:49:33 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2006-11-17 20:49:33 (GMT)
commit0ede5b8c9c70e7e86b0d0aba1382bbe685ca3c62 (patch)
tree76cecb7c485697935938d57b7cdc70a25bc750b4 /tools
parentb2acbc56c61fb388183ca13e8f54bd8ab3dc2899 (diff)
downloadhdf5-0ede5b8c9c70e7e86b0d0aba1382bbe685ca3c62.zip
hdf5-0ede5b8c9c70e7e86b0d0aba1382bbe685ca3c62.tar.gz
hdf5-0ede5b8c9c70e7e86b0d0aba1382bbe685ca3c62.tar.bz2
[svn-r12939] Description:
Removed all but one warnings for h5stat on Linux (heping)
Diffstat (limited to 'tools')
-rw-r--r--tools/misc/h5stat.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/misc/h5stat.c b/tools/misc/h5stat.c
index 82dbba7..7e193ac 100644
--- a/tools/misc/h5stat.c
+++ b/tools/misc/h5stat.c
@@ -99,7 +99,9 @@ static int display_group = FALSE;
static int display_dset_metadata = FALSE;
static int display_dset = FALSE;
static int display_dtype_metadata = FALSE;
+/* Not used yet 11/17/06 EIP
static int display_dtype = FALSE;
+*/
static int display_object = FALSE;
/* a structure for handling the order command-line parameters come in */
@@ -1149,9 +1151,13 @@ print_file_statistics(iter_t * _iter)
*-------------------------------------------------------------------------
*/
static void
-print_object_statistics(char *name, iter_t * _iter)
+print_object_statistics(char *name, iter_t UNUSED * _iter)
{
+/* Comment out for now to eliminate warnings since variable is not used
iter_t *iter = (iter_t*)_iter;
+ EIP 11/17/06
+*/
+
printf("Object name %s\n", name);
}
@@ -1190,7 +1196,7 @@ main(int argc, const char *argv[])
hid_t fid;
struct handler_t *hand;
herr_t status;
- char *root = "/";
+ char root[] = "/";
int i;
/* Disable error reporting */