ref: 4931139165780ca410fe5ab41cac6d1af0af059e
parent: 693647efbb86d842a9edc6e15c8d2420ff14b01c
author: Ori Bernstein <[email protected]>
date: Tue Jan 22 04:17:21 EST 2013
Fix uninitialized variable warnings under Clang.
--- a/myrbuild/myrbuild.c
+++ b/myrbuild/myrbuild.c
@@ -107,6 +107,7 @@
printl(cmd);
pid = fork();
+ status = 0;
if (pid == -1) {
err(1, "Could not fork");
} else if (pid == 0) {
--- a/parse/pickle.c
+++ b/parse/pickle.c
@@ -104,6 +104,7 @@
size_t id;
int line;
+ et = NULL;
line = rdint(fd);
id = rdint(fd);
name = unpickle(fd);