projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b69f87
)
Remove if, whose condition is never true.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Mon, 27 Oct 2008 06:48:38 +0000
(06:48 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Mon, 27 Oct 2008 06:48:38 +0000
(06:48 +0000)
[r23219]
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
e749e97
..
b37da81
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-5537,14
+5537,6
@@
continue_for:;
}
}
- if (next == NULL) {
- next = stmt->base.parent;
- if (next == NULL) {
- warningf(&stmt->base.source_position,
- "control reaches end of non-void function");
- }
- }
-
check_reachable(next);
}