diff --git a/libs/libcommon/include/common/StackTrace.h b/libs/libcommon/include/common/StackTrace.h index 1abea887d54..9c27ffdcc65 100644 --- a/libs/libcommon/include/common/StackTrace.h +++ b/libs/libcommon/include/common/StackTrace.h @@ -45,7 +45,7 @@ protected: void tryCapture(); static std::string toStringImpl(const Frames & frames, size_t size); - size_t size; + size_t size = 0; Frames frames; };