summaryrefslogtreecommitdiffstats
path: root/test/testframe.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2004-01-23 03:33:51 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2004-01-23 03:33:51 (GMT)
commit06d17aff4d4c801653d2af6983fe2ca60c9e1fe9 (patch)
tree80533bce9467ea3f225d2bf9cb8c3e0dbfd73a11 /test/testframe.c
parentf3113c02d5df98d554aee9fa23beba9f39ae9e2a (diff)
downloadhdf5-06d17aff4d4c801653d2af6983fe2ca60c9e1fe9.zip
hdf5-06d17aff4d4c801653d2af6983fe2ca60c9e1fe9.tar.gz
hdf5-06d17aff4d4c801653d2af6983fe2ca60c9e1fe9.tar.bz2
[svn-r8097] Purpose:
Bug fix Description: C++ compilers do not like the variable name new which is a kind word for C++. Changed it to newval instead. Platforms tested: Tested in Copper which is the one complained about the name.
Diffstat (limited to 'test/testframe.c')
-rw-r--r--test/testframe.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/testframe.c b/test/testframe.c
index 8070cf4..e25d3ec 100644
--- a/test/testframe.c
+++ b/test/testframe.c
@@ -311,13 +311,13 @@ int GetTestVerbosity(void)
* Set the verbosity level for the testing framework.
* Return previous verbosity level.
*/
-int SetTestVerbosity(int new)
+int SetTestVerbosity(int newval)
{
- int old;
+ int oldval;
- old = Verbosity;
- Verbosity = new;
- return(old);
+ oldval = Verbosity;
+ Verbosity = newval;
+ return(oldval);
}