summaryrefslogtreecommitdiff
path: root/myrbuild
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2013-01-22 09:17:21 -0500
committerOri Bernstein <ori@eigenstate.org>2013-01-22 09:17:21 -0500
commit4931139165780ca410fe5ab41cac6d1af0af059e (patch)
tree6094b573b0148f5c267b57446ec24f5ef1aa8079 /myrbuild
parent693647efbb86d842a9edc6e15c8d2420ff14b01c (diff)
downloadmc-4931139165780ca410fe5ab41cac6d1af0af059e.tar.gz
Fix uninitialized variable warnings under Clang.
Diffstat (limited to 'myrbuild')
-rw-r--r--myrbuild/myrbuild.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/myrbuild/myrbuild.c b/myrbuild/myrbuild.c
index da69e73..37726fe 100644
--- a/myrbuild/myrbuild.c
+++ b/myrbuild/myrbuild.c
@@ -107,6 +107,7 @@ void run(char **cmd)
printl(cmd);
pid = fork();
+ status = 0;
if (pid == -1) {
err(1, "Could not fork");
} else if (pid == 0) {