aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/libshiboken/gilstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/libshiboken/gilstate.h')
-rw-r--r--sources/shiboken2/libshiboken/gilstate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken2/libshiboken/gilstate.h b/sources/shiboken2/libshiboken/gilstate.h
index f0ff45d59..d22f688ba 100644
--- a/sources/shiboken2/libshiboken/gilstate.h
+++ b/sources/shiboken2/libshiboken/gilstate.h
@@ -59,7 +59,7 @@ public:
void release();
private:
PyGILState_STATE m_gstate;
- bool m_locked;
+ bool m_locked = false;
};
} // namespace Shiboken