Revision: 3692
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=3692&view=rev
Author: mdboom
Date: 2007-08-09 08:13:12 -0700 (Thu, 09 Aug 2007)
Log Message:
-----------
Removed "right-hand operand has no effect" warning in gcc.
Modified Paths:
--------------
trunk/matplotlib/CXX/Extensions.hxx
Modified: trunk/matplotlib/CXX/Extensions.hxx
===================================================================
--- trunk/matplotlib/CXX/Extensions.hxx 2007-08-09 14:39:11 UTC (rev 3691)
+++ trunk/matplotlib/CXX/Extensions.hxx 2007-08-09 15:13:12 UTC (rev 3692)
@@ -474,10 +474,10 @@
: PythonExtensionBase()
{
#ifdef PyObject_INIT
- PyObject_INIT( this, type_object() );
+ (void)PyObject_INIT( this, type_object() );
#else
- ob_refcnt = 1;
- ob_type = type_object();
+ ob_refcnt = 1;
+ ob_type = type_object();
#endif
// every object must support getattr
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|