aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/libshiboken/threadstatesaver.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/libshiboken/threadstatesaver.h')
-rw-r--r--sources/shiboken2/libshiboken/threadstatesaver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken2/libshiboken/threadstatesaver.h b/sources/shiboken2/libshiboken/threadstatesaver.h
index 10b3af12b..ddfbcb93b 100644
--- a/sources/shiboken2/libshiboken/threadstatesaver.h
+++ b/sources/shiboken2/libshiboken/threadstatesaver.h
@@ -59,7 +59,7 @@ public:
void save();
void restore();
private:
- PyThreadState *m_threadState;
+ PyThreadState *m_threadState = nullptr;
};
} // namespace Shiboken