commit 2bccc4ddb6e3681bc28486aee953f8806fc1001a
Author: Quentin Rameau <[email protected]>
AuthorDate: Wed Jun 15 15:25:48 2016 +0200
Commit: Quentin Rameau <[email protected]>
CommitDate: Wed Jun 15 18:50:46 2016 +0200
[driver] fix failed tool value in terminate
CC1 value is 0, so have a default value of -1
diff --git a/driver/posix/scc.c b/driver/posix/scc.c
index 98245c3..a81eef4 100644
--- a/driver/posix/scc.c
+++ b/driver/posix/scc.c
@@ -69,7 +69,7 @@ static void
terminate(void)
{
struct tool *t;
- int tool, failed = 0;
+ int tool, failed = -1;
for (tool = 0; tool < LAST_TOOL; ++tool) {
t = &tools[tool];