diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2005-01-12 22:55:22 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2005-01-12 22:55:22 (GMT) |
commit | 1190d2573e0d011db7eca8fdd442a0e0b81c2a45 (patch) | |
tree | ca2718ffe39d8eb7b745e1451a0ae53404c77064 /config/freebsd | |
parent | 524830d67eb640e75d2dbaf85e3e863ff9643564 (diff) | |
download | hdf5-1190d2573e0d011db7eca8fdd442a0e0b81c2a45.zip hdf5-1190d2573e0d011db7eca8fdd442a0e0b81c2a45.tar.gz hdf5-1190d2573e0d011db7eca8fdd442a0e0b81c2a45.tar.bz2 |
[svn-r9816] 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 'config/freebsd')
0 files changed, 0 insertions, 0 deletions