Date: Mon, 13 Sep 2004 06:40:49 GMT From: Dan Lukes <dan@obluda.cz> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/71631: [PATCH] cleanup of the usr.sbin/pppctl code Message-ID: <200409130640.i8D6en1v046118@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/71631; it has been noted by GNATS. From: Dan Lukes <dan@obluda.cz> To: Giorgos Keramidas <keramida@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409130640.i8D6en1v046118>