From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6591 invoked by alias); 24 Jan 2009 17:48:17 -0000 Received: (qmail 6568 invoked by uid 48); 24 Jan 2009 17:48:08 -0000 Date: Sat, 24 Jan 2009 17:48:00 -0000 Message-ID: <20090124174808.6567.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/38961] if () block not true but a command in it is still in effect In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "falk at debian dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-01/txt/msg02669.txt.bz2 ------- Comment #1 from falk at debian dot org 2009-01-24 17:48 ------- const char *logout_cmd = logout_cmd; actually initializes the variable with its own (uninitialized) value. You can get a warning about this with "-Winit-self". -- falk at debian dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38961