aboutsummaryrefslogtreecommitdiffstats
path: root/mutator-lvl0.cpp
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2016-12-14 20:40:16 +0000
committerbloodstalker <thabogre@gmail.com>2016-12-14 20:40:16 +0000
commitd9ddba1e5f88fcb891af6d8cca73529c2bae4cdf (patch)
tree97643e1cc79af40ef7b49d0c5b900758a8820e87 /mutator-lvl0.cpp
parentfixed the Coverity faults. (diff)
downloadmutator-d9ddba1e5f88fcb891af6d8cca73529c2bae4cdf.tar.gz
mutator-d9ddba1e5f88fcb891af6d8cca73529c2bae4cdf.zip
fixed the issues that coverity raised.
Diffstat (limited to 'mutator-lvl0.cpp')
-rw-r--r--mutator-lvl0.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mutator-lvl0.cpp b/mutator-lvl0.cpp
index 72fc618..b85e0d7 100644
--- a/mutator-lvl0.cpp
+++ b/mutator-lvl0.cpp
@@ -865,7 +865,7 @@ private:
unsigned int VecC;
- bool alreadymatched;
+ bool alreadymatched = false;
Rewriter &Rewrite;
};
@@ -1126,7 +1126,7 @@ private:
SourceLocation oldSourceLocation;
SourceLocation newSourceLocation;
- bool isFirstElement;
+ bool isFirstElement = false;
bool doesFirstElementHaveInit;
bool someoneHasInit = false;
bool everyoneHasInit = true;