Fix: use of uninitialized variable in C++ userspace-probe testapp
[lttng-tools.git] / tests / utils / testapp / userspace-probe-elf-cxx-binary / test_class.cpp
index 8c25f51457fd4b661c21a4b6c7560839504d460b..e673854fec834b80a7f5c27b86fccb10a2a2bed9 100644 (file)
@@ -17,6 +17,9 @@
  */
 
 #include "test_class.h"
+test_class::test_class() {
+       test_member = 1;
+}
 
 void test_class::test_method() {
        test_member += 1;
This page took 0.023164 seconds and 4 git commands to generate.