From 9a74afee5f9ec2de1e44bce346e78ad75ed3d291 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Mon, 27 Oct 2008 06:48:38 +0000 Subject: [PATCH] Remove if, whose condition is never true. [r23219] --- parser.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/parser.c b/parser.c index e749e97..b37da81 100644 --- 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); } -- 2.20.1