[hackers] [scc] [driver] fix failed tool value in terminate || Quentin Rameau
commit 2bccc4ddb6e3681bc28486aee953f8806fc1001a
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Wed Jun 15 15:25:48 2016 +0200
Commit: Quentin Rameau <quinq_AT_fifth.space>
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
_AT_@ -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];
Received on Wed Jun 15 2016 - 19:00:07 CEST
This archive was generated by hypermail 2.3.0
: Wed Jun 15 2016 - 19:00:58 CEST