Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24206bb commit 41998bbCopy full SHA for 41998bb
1 file changed
CXX/Extensions.hxx
@@ -474,10 +474,10 @@ namespace Py
474
: PythonExtensionBase()
475
{
476
#ifdef PyObject_INIT
477
- PyObject_INIT( this, type_object() );
+ (void)PyObject_INIT( this, type_object() );
478
#else
479
- ob_refcnt = 1;
480
- ob_type = type_object();
+ ob_refcnt = 1;
+ ob_type = type_object();
481
#endif
482
483
// every object must support getattr
0 commit comments