diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2005-01-12 22:55:16 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2005-01-12 22:55:16 (GMT) |
commit | bbaa01da58a3d635412108555b8a2d379727d2b1 (patch) | |
tree | 053ef570143e12b0540696797939cb87473342ea /test/gass_append.c | |
parent | 6b0c4026093e1cabf574b090927a5d1d2c32761c (diff) | |
download | hdf5-bbaa01da58a3d635412108555b8a2d379727d2b1.zip hdf5-bbaa01da58a3d635412108555b8a2d379727d2b1.tar.gz hdf5-bbaa01da58a3d635412108555b8a2d379727d2b1.tar.bz2 |
[svn-r9815] Purpose:
cleanup warning messages.
Description:
Compilers complained about local variable shadowed global variables.
The global variables d[], m[], nd, na were having the same names
as local function arguments. This was a left over when I broke the
original one big chunk of code into separated functions to go around
the Intel Compiler optimization error.
Solution:
Appended the global variables with suffix _g, thus
d[] => d_g[]
m[] => m_g[]
nd => nd_g
na => na_g
This is only an intermediate step. After the changes tested
out fine by all machines, need to rename the variables to more
meaningful names like dtype_array.
Platforms tested:
Tested in heping by saving the previous generated H5Tinit.c,
regenerated a new H5Tinit.c with the changed code, finally
compared the new and old versions were identical.
Diffstat (limited to 'test/gass_append.c')
0 files changed, 0 insertions, 0 deletions