axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prest...@apache.org
Subject svn commit: r368338 - /webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/CookiesClient.cpp
Date Thu, 12 Jan 2006 10:55:01 GMT
Author: prestonf
Date: Thu Jan 12 02:54:57 2006
New Revision: 368338

URL: http://svn.apache.org/viewcvs?rev=368338&view=rev
Log:
Remove warnings in Unit Test client code.

Modified:
    webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/CookiesClient.cpp

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/CookiesClient.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/CookiesClient.cpp?rev=368338&r1=368337&r2=368338&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/CookiesClient.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/CookiesClient.cpp Thu Jan
12 02:54:57 2006
@@ -31,7 +31,6 @@
 	const char* url="http://localhost:80/axis/Calculator";
 	const char* op = 0;
 	int i1=0, i2=0;
-	int iResult;
 
 	signal(SIGILL, sig_handler);
 	signal(SIGABRT, sig_handler);
@@ -117,7 +116,7 @@
 	}
 	catch(exception& e)
 	{
-	    cout << "Unknown exception has occured" << endl;
+	    cout << "Unknown exception has occured : " << e.what() << endl;
 	}
 	catch(...)
 	{
@@ -175,7 +174,7 @@
 
 bool IsNumber(const char* p)
 {
-	for (int x=0; x < strlen(p); x++)
+	for (int x=0; x < (int) strlen(p); x++)
 	{
 		if (!isdigit(p[x])) return false;
 	}



Mime
View raw message