Remove if, whose condition is never true.
authorChristoph Mallon <christoph.mallon@gmx.de>
Mon, 27 Oct 2008 06:48:38 +0000 (06:48 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Mon, 27 Oct 2008 06:48:38 +0000 (06:48 +0000)
[r23219]

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);
 }