From owner-freebsd-bugs@FreeBSD.ORG Mon Sep 13 06:40:49 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D890A16A4CE for ; Mon, 13 Sep 2004 06:40:49 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B43CC43D2D for ; Mon, 13 Sep 2004 06:40:49 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i8D6enYE046119 for ; Mon, 13 Sep 2004 06:40:49 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i8D6en1v046118; Mon, 13 Sep 2004 06:40:49 GMT (envelope-from gnats) Date: Mon, 13 Sep 2004 06:40:49 GMT Message-Id: <200409130640.i8D6en1v046118@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Dan Lukes Subject: Re: bin/71631: [PATCH] cleanup of the usr.sbin/pppctl code X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dan Lukes List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Sep 2004 06:40:50 -0000 The following reply was made to PR bin/71631; it has been noted by GNATS. From: Dan Lukes To: Giorgos Keramidas Cc: bug-followup@freebsd.org Subject: Re: bin/71631: [PATCH] cleanup of the usr.sbin/pppctl code Date: Mon, 13 Sep 2004 08:37:55 +0200 > Setting `int fd = fd' is also an initialiation that is a waste of > resources. Not true as it's optimized-out despite of O level. It's hack/information for compiler, not real assignment statement. > I see no reason why it's better than an initialization > that also buys us some safety. Agree. Lets initialise fd to -1 Dan