]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix uninitialized members in SBufFindTest.cc
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 11 Nov 2013 11:47:36 +0000 (04:47 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 11 Nov 2013 11:47:36 +0000 (04:47 -0700)
  Detected by Coverity Scan. Issue 1104279.

src/tests/SBufFindTest.cc

index 16de357a983a55eead5908b921348950f188c867..fa6ba825855a8e29e45f5faa5ec9cb99f94a16d1 100644 (file)
@@ -20,6 +20,12 @@ SBufFindTest::SBufFindTest():
         thePlacement(placeEof),
         theStringPos(0),
         theBareNeedlePos(0),
+        theFindString(0)
+        theFindSBuf(0),
+        theReportFunc(),
+        theReportNeedle(),
+        theReportPos(),
+        theReportQuote('"'),
         caseCount(0),
         errorCount(0),
         reportCount(0)