summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-04-17 21:29:57 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-04-18 09:32:39 +0100
commit5f78d62051d720552088895ac94fb02a06cf6e22 (patch)
tree62602e1872b04ea826dcd942eab3ae8cbed19244
parent072b32442e3f6f220936a93ad1fcbde57746b747 (diff)
coverity#1358588 Uninitialized scalar field
Change-Id: I32596c33b9d8fc261d51c880ff1c049879f17509
-rw-r--r--smoketest/smoketest.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/smoketest/smoketest.cxx b/smoketest/smoketest.cxx
index fa301f7f0f4e..2133cc17d3f0 100644
--- a/smoketest/smoketest.cxx
+++ b/smoketest/smoketest.cxx
@@ -59,7 +59,10 @@ struct Result {
osl::Condition condition;
bool success;
OUString result;
- Result() = default;
+ Result()
+ : success(false)
+ {
+ }
Result(const Result&) = delete;
Result& operator=(const Result&) = delete;
};