diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-10-02 15:25:03 -0400 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-10-02 15:25:03 -0400 |
commit | f09a3c33044164725f5a39dc36012f4ec95ad1a3 (patch) | |
tree | 624b326383394ea6e0f9c5fdc3551daff923de58 /checkcloudconnection.cpp | |
parent | dde82a6ba416af03749bdb23b178d8a1d57bf200 (diff) | |
download | subsurface-f09a3c33044164725f5a39dc36012f4ec95ad1a3.tar.gz |
Avoid potentially uninitialized member
This seems a false positive, reply is always set before it is used, but
there's no harm in setting it explicitly.
Coverity CID 1325280
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'checkcloudconnection.cpp')
-rw-r--r-- | checkcloudconnection.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/checkcloudconnection.cpp b/checkcloudconnection.cpp index b780453fc..b4b4b2be8 100644 --- a/checkcloudconnection.cpp +++ b/checkcloudconnection.cpp @@ -10,7 +10,9 @@ #include "checkcloudconnection.h" -CheckCloudConnection::CheckCloudConnection(QObject *parent) : QObject(parent) +CheckCloudConnection::CheckCloudConnection(QObject *parent) : + QObject(parent), + reply(0) { } |