summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2011-03-10 13:27:29 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2011-03-10 13:27:29 (GMT)
commit1eedd5b7504b467c9a8cf2e1b0cb86702e573747 (patch)
tree3de746af23b68609db8ba5404f317a4f37d2fde0 /tools
parent55cd5326f36fbd36ff62bae1becabf341b406fa0 (diff)
downloadhdf5-1eedd5b7504b467c9a8cf2e1b0cb86702e573747.zip
hdf5-1eedd5b7504b467c9a8cf2e1b0cb86702e573747.tar.gz
hdf5-1eedd5b7504b467c9a8cf2e1b0cb86702e573747.tar.bz2
[svn-r20222] Correct mistake by declaring indexing variable removed from for at top of function.
Diffstat (limited to 'tools')
-rw-r--r--tools/lib/h5tools.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c
index ab7b017..eb37fac 100644
--- a/tools/lib/h5tools.c
+++ b/tools/lib/h5tools.c
@@ -633,6 +633,7 @@ h5tools_ncols(const char *s)
htri_t
H5Tdetect_vlen_str(hid_t tid)
{
+ int i = 0;
int n = 0;
htri_t has_vlen_str = FALSE;
H5T_class_t tclass = -1;