diff options
author | Andrea Mattavelli <andreamattavelli@users.noreply.github.com> | 2017-09-14 13:58:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-14 13:58:11 +0100 |
commit | 2108b0e8566bb1d6e8629b7b6806c07010a8269f (patch) | |
tree | b6dce38dd98d681e97d08d0b42adff078ccf7215 /lib/Core/StatsTracker.cpp | |
parent | d19500eb93083c8cc6bb72bcb54414015830cacb (diff) | |
parent | b5929722363993bf0ad2a56d66176606cc742bc4 (diff) | |
download | klee-2108b0e8566bb1d6e8629b7b6806c07010a8269f.tar.gz |
Merge pull request #749 from odeits/issue/717
Remove unnecessary null pointer checks
Diffstat (limited to 'lib/Core/StatsTracker.cpp')
-rw-r--r-- | lib/Core/StatsTracker.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Core/StatsTracker.cpp b/lib/Core/StatsTracker.cpp index 3a87f57a..6dc13df8 100644 --- a/lib/Core/StatsTracker.cpp +++ b/lib/Core/StatsTracker.cpp @@ -264,10 +264,8 @@ StatsTracker::StatsTracker(Executor &_executor, std::string _objectFilename, } StatsTracker::~StatsTracker() { - if (statsFile) - delete statsFile; - if (istatsFile) - delete istatsFile; + delete statsFile; + delete istatsFile; } void StatsTracker::done() { |