From 1d7539d5f0a1097592a6efdb6a053d961cc1ba10 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Thu, 17 Dec 2015 11:01:38 +0100 Subject: [PATCH] Always initialize exit_set Be on the safe side. --- src/pipestream.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/pipestream.cpp b/src/pipestream.cpp index b29ec70..afa6d56 100644 --- a/src/pipestream.cpp +++ b/src/pipestream.cpp @@ -45,7 +45,7 @@ std::string capture_exec(const std::string& command, ExecResult &rescode) { std::string output; - bool exit_set; + bool exit_set = false; int exit_status_waitpid; // set the results to false until we are sure we have proper values -- 1.7.1