Author: wyoung
Date: Thu Jan  3 19:13:18 2008
New Revision: 2087

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2087&view=rev
Log:
Warning squishers

Modified:
    trunk/examples/cgi_jpeg.cpp
    trunk/examples/cpoolp.cpp
    trunk/examples/ssqls1.cpp
    trunk/examples/ssqls2.cpp
    trunk/examples/ssqls3.cpp
    trunk/examples/ssqls4.cpp
    trunk/examples/ssqls5.cpp
    trunk/examples/store_if.cpp
    trunk/examples/transaction.cpp

Modified: trunk/examples/cgi_jpeg.cpp
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/examples/cgi_jpeg.cpp?rev=2087&r1=2086&r2=2087&view=diff
==============================================================================
--- trunk/examples/cgi_jpeg.cpp (original)
+++ trunk/examples/cgi_jpeg.cpp Thu Jan  3 19:13:18 2008
@@ -48,7 +48,7 @@
 #if defined(MYSQLPP_SSQLS_COMPATIBLE)
 int main()
 #else
-int main(int argc, char* argv[])
+int main(int, char* argv[])
 #endif
 {
 #if defined(MYSQLPP_SSQLS_COMPATIBLE)

Modified: trunk/examples/cpoolp.cpp
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/examples/cpoolp.cpp?rev=2087&r1=2086&r2=2087&view=diff
==============================================================================
--- trunk/examples/cpoolp.cpp (original)
+++ trunk/examples/cpoolp.cpp Thu Jan  3 19:13:18 2008
@@ -204,6 +204,7 @@
        delete poolptr;
 
 #else
+       (void)argc;             // warning squisher
        cout << argv[0] << " requires pthreads to function!" << endl;
 #endif
        return 0;

Modified: trunk/examples/ssqls1.cpp
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/examples/ssqls1.cpp?rev=2087&r1=2086&r2=2087&view=diff
==============================================================================
--- trunk/examples/ssqls1.cpp (original)
+++ trunk/examples/ssqls1.cpp Thu Jan  3 19:13:18 2008
@@ -84,6 +84,7 @@
 #else
        // MySQL++ works under Visual C++ 2003 with only one excpetion,
        // SSQLS, so we have to stub out the examples to avoid build errors.
+       (void)argc;
        cout << argv[0] << " requires Visual C++ 2005 or newer." << endl;
 #endif
 

Modified: trunk/examples/ssqls2.cpp
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/examples/ssqls2.cpp?rev=2087&r1=2086&r2=2087&view=diff
==============================================================================
--- trunk/examples/ssqls2.cpp (original)
+++ trunk/examples/ssqls2.cpp Thu Jan  3 19:13:18 2008
@@ -87,6 +87,7 @@
 #else
        // MySQL++ works under Visual C++ 2003 with only one excpetion,
        // SSQLS, so we have to stub out the examples to avoid build errors.
+       (void)argc;
        cout << argv[0] << " requires Visual C++ 2005 or newer." << endl;
 #endif
 

Modified: trunk/examples/ssqls3.cpp
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/examples/ssqls3.cpp?rev=2087&r1=2086&r2=2087&view=diff
==============================================================================
--- trunk/examples/ssqls3.cpp (original)
+++ trunk/examples/ssqls3.cpp Thu Jan  3 19:13:18 2008
@@ -107,6 +107,7 @@
 #else
        // MySQL++ works under Visual C++ 2003 with only one excpetion,
        // SSQLS, so we have to stub out the examples to avoid build errors.
+       (void)argc;
        cout << argv[0] << " requires Visual C++ 2005 or newer." << endl;
 #endif
 

Modified: trunk/examples/ssqls4.cpp
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/examples/ssqls4.cpp?rev=2087&r1=2086&r2=2087&view=diff
==============================================================================
--- trunk/examples/ssqls4.cpp (original)
+++ trunk/examples/ssqls4.cpp Thu Jan  3 19:13:18 2008
@@ -99,6 +99,7 @@
 #else
        // MySQL++ works under Visual C++ 2003 with only one excpetion,
        // SSQLS, so we have to stub out the examples to avoid build errors.
+       (void)argc;
        cout << argv[0] << " requires Visual C++ 2005 or newer." << endl;
 #endif
 

Modified: trunk/examples/ssqls5.cpp
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/examples/ssqls5.cpp?rev=2087&r1=2086&r2=2087&view=diff
==============================================================================
--- trunk/examples/ssqls5.cpp (original)
+++ trunk/examples/ssqls5.cpp Thu Jan  3 19:13:18 2008
@@ -84,6 +84,7 @@
 #else
        // MySQL++ works under Visual C++ 2003 with only one excpetion,
        // SSQLS, so we have to stub out the examples to avoid build errors.
+       (void)argc;
        cout << argv[0] << " requires Visual C++ 2005 or newer." << endl;
 #endif
 

Modified: trunk/examples/store_if.cpp
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/examples/store_if.cpp?rev=2087&r1=2086&r2=2087&view=diff
==============================================================================
--- trunk/examples/store_if.cpp (original)
+++ trunk/examples/store_if.cpp Thu Jan  3 19:13:18 2008
@@ -104,6 +104,7 @@
 #else
        // MySQL++ works under Visual C++ 2003 with only one excpetion,
        // SSQLS, so we have to stub out the examples to avoid build errors.
+       (void)argc;
        std::cout << argv[0] << " requires Visual C++ 2005 or newer." << 
std::endl;
 #endif
 

Modified: trunk/examples/transaction.cpp
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/examples/transaction.cpp?rev=2087&r1=2086&r2=2087&view=diff
==============================================================================
--- trunk/examples/transaction.cpp (original)
+++ trunk/examples/transaction.cpp Thu Jan  3 19:13:18 2008
@@ -106,6 +106,7 @@
 #else
        // MySQL++ works under Visual C++ 2003 with only one excpetion,
        // SSQLS, so we have to stub out the examples to avoid build errors.
+       (void)argc;
        cout << argv[0] << " requires Visual C++ 2005 or newer." << endl;
 #endif
 


_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits

Reply via email to