Author: wyoung
Date: Thu Aug 13 15:22:03 2009
New Revision: 2558

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

Modified:
    trunk/lib/ssqls2.h

Modified: trunk/lib/ssqls2.h
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/ssqls2.h?rev=2558&r1=2557&r2=2558&view=diff
==============================================================================
--- trunk/lib/ssqls2.h (original)
+++ trunk/lib/ssqls2.h Thu Aug 13 15:22:03 2009
@@ -233,7 +233,12 @@
        conn_(conn),
        instance_table_name_(0)
        {
-               (void)row;
+#if !defined(_MSC_VER)
+               // Unused parameter warning squisher.  VC++ can't cope without
+               // including row.h, which we don't want to do just to squish a
+               // warning.  It doesn't warn anyway, so...
+               (void)row;      
+#endif
        }
 
        /// \brief Destructor


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

Reply via email to