From b0018fd6803f497104bfb68d85912dc6898935c1 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Fri, 26 Nov 2021 15:13:36 -0500 Subject: [PATCH] Internals: Remove dead output variable. No functional change. --- src/V3File.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/V3File.cpp b/src/V3File.cpp index f3c2d3992..6260c61cb 100644 --- a/src/V3File.cpp +++ b/src/V3File.cpp @@ -394,8 +394,7 @@ private: #endif } - string readBlocks(int fd, int size, StrList& outl) { - string out; + void readBlocks(int fd, int size, StrList& outl) { char buf[INFILTER_IPC_BUFSIZ]; ssize_t sizegot = 0; while (!m_readEof && (size < 0 || size > sizegot)) { @@ -421,7 +420,6 @@ private: break; } } - return out; } // cppcheck-suppress unusedFunction unusedPrivateFunction string readFilterLine() {