From a634e729c83a44db91c40991686930454309f1fd Mon Sep 17 00:00:00 2001 From: rdb Date: Fri, 8 Mar 2019 11:45:47 +0100 Subject: [PATCH] interrogate: fix uninitialized var, fixes sporadic nb_true_divide This was a regression introduced by fa6c066b2f21856036cb24d482a7152406c6c2e2 (which in turn fixed #529) --- dtool/src/interrogate/interfaceMakerPythonNative.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dtool/src/interrogate/interfaceMakerPythonNative.h b/dtool/src/interrogate/interfaceMakerPythonNative.h index 8b18ef1957..c667ab22fa 100644 --- a/dtool/src/interrogate/interfaceMakerPythonNative.h +++ b/dtool/src/interrogate/interfaceMakerPythonNative.h @@ -121,7 +121,7 @@ private: public: std::string _answer_location; WrapperType _wrapper_type; - int _min_version; + int _min_version = 0; std::string _wrapper_name; std::set _remaps; bool _keep_method;