axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r729158 - /webservices/axis/trunk/c/src/common/AxisConfig.cpp
Date Tue, 23 Dec 2008 22:37:33 GMT
Author: nadiramra
Date: Tue Dec 23 14:37:32 2008
New Revision: 729158

URL: http://svn.apache.org/viewvc?rev=729158&view=rev
Log:
Do not issue message if unknown property is found in config file.

Modified:
    webservices/axis/trunk/c/src/common/AxisConfig.cpp

Modified: webservices/axis/trunk/c/src/common/AxisConfig.cpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/common/AxisConfig.cpp?rev=729158&r1=729157&r2=729158&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/common/AxisConfig.cpp (original)
+++ webservices/axis/trunk/c/src/common/AxisConfig.cpp Tue Dec 23 14:37:32 2008
@@ -178,8 +178,6 @@
         sscanf (carrLine, "%s", key);
         iValueLength = linesize - strlen (key) - 1;
     
-        bool bKeyFound = false;
-    
         for (int i = 0; i < AXCONF_LAST; i++)
         {
             if (m_pcKeyArray[i] == key)
@@ -206,15 +204,9 @@
                     }
                 }
         
-                bKeyFound = true;
                 break;
             }
         }
-    
-        if (!bKeyFound)
-        {
-            printf ("Warning - Unknown key (%s) in config file.\n", key);
-        }
     }
 
     return AXIS_SUCCESS;



Mime
View raw message