Return-path: Received: from static-ip-62-75-166-246.inaddr.intergenia.de ([62.75.166.246]:37971 "EHLO vs166246.vserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751912AbXKJQ2Y convert rfc822-to-8bit (ORCPT ); Sat, 10 Nov 2007 11:28:24 -0500 From: Michael Buesch To: "John W. Linville" Subject: Re: [PATCH] b43: silence a bogus gcc warning Date: Sat, 10 Nov 2007 17:27:43 +0100 Cc: Frank Lichtenheld , bcm43xx-dev@lists.berlios.de, linux-wireless@vger.kernel.org References: <200711101614.03776.mb@bu3sch.de> <20071110152533.GC32472@tuxdriver.com> In-Reply-To: <20071110152533.GC32472@tuxdriver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Message-Id: <200711101727.43736.mb@bu3sch.de> (sfid-20071110_162828_899537_909410D8) Sender: linux-wireless-owner@vger.kernel.org List-ID: On Saturday 10 November 2007 16:25:33 John W. Linville wrote: > On Sat, Nov 10, 2007 at 04:14:03PM +0100, Michael Buesch wrote: > > From: Frank Lichtenheld > >=20 > > inititalise ret to 0 to avoid the following bogus warning: > > CC [M] drivers/net/wireless/b43/debugfs.o > > drivers/net/wireless/b43/debugfs.c: In function =E2=80=98b43_debugf= s_read=E2=80=99: > > drivers/net/wireless/b43/debugfs.c:355: warning: =E2=80=98ret=E2=80= =99 may be used uninitialized in this function > >=20 > > Signed-off-by: Frank Lichtenheld > > Signed-off-by: Michael Buesch >=20 > Isn't this what uninitialized_var() is for? >=20 I'd be OK with that, too. --=20 Greetings Michael. - To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html