Skip to content
Snippets Groups Projects
Commit 8375e667 authored by Wim Lavrijsen's avatar Wim Lavrijsen
Browse files

make compiler warning go away

parent b8823752
No related branches found
No related tags found
No related merge requests found
...@@ -37,7 +37,8 @@ namespace { ...@@ -37,7 +37,8 @@ namespace {
class GILControl { class GILControl {
public: public:
GILControl( PyROOT::TCallContext* ctxt ) : fRelease( ReleasesGIL( ctxt ) ) { GILControl( PyROOT::TCallContext* ctxt ) :
fRelease( ReleasesGIL( ctxt ) ), fSave( nullptr ) {
#ifdef WITH_THREAD #ifdef WITH_THREAD
if ( fRelease ) fSave = PyEval_SaveThread(); if ( fRelease ) fSave = PyEval_SaveThread();
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment