From: Christoph Mallon Date: Mon, 27 Oct 2008 06:48:38 +0000 (+0000) Subject: Remove if, whose condition is never true. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=9a74afee5f9ec2de1e44bce346e78ad75ed3d291;p=cparser Remove if, whose condition is never true. [r23219] --- 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); }