summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TAO/TAO_IDL/util/utl_global.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/TAO/TAO_IDL/util/utl_global.cpp b/TAO/TAO_IDL/util/utl_global.cpp
index aebfc41c685..61fd50ae561 100644
--- a/TAO/TAO_IDL/util/utl_global.cpp
+++ b/TAO/TAO_IDL/util/utl_global.cpp
@@ -471,7 +471,6 @@ IDL_GlobalData::seen_include_file_before (char *n)
unsigned long i;
char *incl = 0;
char *tmp = n;
- static retval = 0;
if (n[0] == '.')
{
@@ -485,9 +484,6 @@ IDL_GlobalData::seen_include_file_before (char *n)
if (ACE_OS::strcmp (tmp, incl) == 0)
{
return seen_once[i]++;
- // We use the index value in the function below. We
- // add 1 so a match on the first try will not return 0.
-// return (long)i + 1;
}
}