summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2013-06-26 06:25:44 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2013-06-26 06:25:44 (GMT)
commitc2750822ffd92d78e9c442e8ab046ac2dbf47d8e (patch)
treec37b50875f4dd8a5d41631bc8b7fbfb9672a838b /tools
parentcf5071ad059c3a443b23f7ea157cc2fc74fd6e43 (diff)
downloadhdf5-c2750822ffd92d78e9c442e8ab046ac2dbf47d8e.zip
hdf5-c2750822ffd92d78e9c442e8ab046ac2dbf47d8e.tar.gz
hdf5-c2750822ffd92d78e9c442e8ab046ac2dbf47d8e.tar.bz2
[svn-r23825] Bug HDFFV-8469: C++ comments in C code.
Found and removed two more "//" comments. Tested: in Koala by $ env CFLAGS="-ansi" ../hdf5/bin/buildhdf5 -fortran -cxx -config # enable fortran and cxx, configure only $ make AM_CFLAGS=-ansi # compile all source file by setting HDF5 build CFLAGS as "-ansi" only
Diffstat (limited to 'tools')
-rw-r--r--tools/h5dump/h5dump_ddl.c2
-rw-r--r--tools/lib/h5tools_dump.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/tools/h5dump/h5dump_ddl.c b/tools/h5dump/h5dump_ddl.c
index c4a9ecb..10d4d32 100644
--- a/tools/h5dump/h5dump_ddl.c
+++ b/tools/h5dump/h5dump_ddl.c
@@ -1360,8 +1360,6 @@ handle_attributes(hid_t fid, const char *attr, void UNUSED * data, int UNUSED pe
string_dataformat.do_escape = display_escape;
outputformat = &string_dataformat;
- //attr_name = attr + j + 1;
- // need to replace escape characters
attr_name = h5tools_str_replace(attr + j + 1, "\\/", "/");
diff --git a/tools/lib/h5tools_dump.c b/tools/lib/h5tools_dump.c
index e4fe3a4..cde249c 100644
--- a/tools/lib/h5tools_dump.c
+++ b/tools/lib/h5tools_dump.c
@@ -637,7 +637,6 @@ h5tools_dump_region_data_blocks(hid_t region_space, hid_t region_id,
{
HERROR(H5E_tools_g, H5E_tools_min_id_g, "Could not allocate buffer for ptdata");
HGOTO_DONE(dimension_break);
- //HGOTO_ERROR(dimension_break, H5E_tools_min_id_g, "Could not allocate buffer for ptdata");
}
if(H5Sget_select_hyper_blocklist(region_space, (hsize_t)0, nblocks, ptdata) < 0)