Reported-by: Coverity (1395206) Uninitialized scalar variable
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
*/
#include "test_class.h"
*/
#include "test_class.h"
+test_class::test_class() {
+ test_member = 1;
+}
void test_class::test_method() {
test_member += 1;
void test_class::test_method() {
test_member += 1;
class test_class
{
public:
class test_class
{
public:
void test_method();
volatile int test_member;
};
void test_method();
volatile int test_member;
};