[PATCH] Initialised private member variable mNeedsReset for SSLConnection in constructor (cppcheck-1.65 warning)

Wald Commits scm-commit at wald.intevation.org
Fri May 23 22:10:20 CEST 2014


# HG changeset patch
# User Bernhard Reiter <bernhard at intevation.de>
# Date 1400875645 -7200
# Node ID e32ae933391f0b649ba03fc667006836df85d805
# Parent  2276f1925468d8f0cf8305433588630848fa0bb3
Initialised private member variable mNeedsReset for SSLConnection in constructor (cppcheck-1.65 warning).

diff -r 2276f1925468 -r e32ae933391f ui/sslconnection.cpp
--- a/ui/sslconnection.cpp	Fri May 23 16:23:29 2014 +0000
+++ b/ui/sslconnection.cpp	Fri May 23 22:07:25 2014 +0200
@@ -31,6 +31,7 @@
     mPinnedCert(certificate),
     mInitialized(false),
     mConnected(false),
+    mNeedsReset(false),
     mServerFD(-1),
     mErrorState(NoError)
 {


More information about the Trustbridge-commits mailing list