From da4539dc749c3d29c03de9b3130f1c9a7266be9d Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Tue, 9 Sep 2014 04:36:31 -0400 Subject: misc: Fix a number of unitialised variables and members Static analysis unearther a bunch of uninitialised variables and members, and this patch addresses the problem. In all cases these omissions seem benign in the end, but at least fixing them means less false positives next time round. --- src/base/debug.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/base/debug.hh') diff --git a/src/base/debug.hh b/src/base/debug.hh index 1cd64cfc2..20bf8e76d 100644 --- a/src/base/debug.hh +++ b/src/base/debug.hh @@ -66,7 +66,7 @@ class SimpleFlag : public Flag public: SimpleFlag(const char *name, const char *desc) - : Flag(name, desc) + : Flag(name, desc), _status(false) { } bool status() const { return _status; } -- cgit v1.2.3