git://developer.intra2net.com
/
libi2ncommon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Always initialize exit_set
[libi2ncommon]
/
src
/
pipestream.cpp
diff --git
a/src/pipestream.cpp
b/src/pipestream.cpp
index
b29ec70
..
afa6d56
100644
(file)
--- 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