From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ns0Ib-0003Fz-BM for qemu-devel@nongnu.org; Wed, 17 Mar 2010 16:57:05 -0400 Received: from [199.232.76.173] (port=51414 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ns0Ia-0003Ec-O0 for qemu-devel@nongnu.org; Wed, 17 Mar 2010 16:57:04 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Ns0IZ-0007z7-9n for qemu-devel@nongnu.org; Wed, 17 Mar 2010 16:57:04 -0400 Received: from smtp-out0.tiscali.nl ([195.241.79.175]:60893) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ns0IY-0007ym-TN for qemu-devel@nongnu.org; Wed, 17 Mar 2010 16:57:03 -0400 Subject: Re: [Qemu-devel] [PATCH] [TRIVIAL] usb-linux: remove unreachable default in switch statement From: Paul Bolle In-Reply-To: <4BA13E6E.4060708@codemonkey.ws> References: <1268053115.2130.4.camel@localhost.localdomain> <201003171708.04633.paul@codesourcery.com> <4BA10E49.90703@codemonkey.ws> <201003171743.06728.paul@codesourcery.com> <4BA13E6E.4060708@codemonkey.ws> Content-Type: text/plain; charset="UTF-8" Date: Wed, 17 Mar 2010 21:56:57 +0100 Message-ID: <1268859417.23390.3.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Blue Swirl , Paul Brook , qemu-devel@nongnu.org On Wed, 2010-03-17 at 15:41 -0500, Anthony Liguori wrote: > On 03/17/2010 03:15 PM, Blue Swirl wrote: > > This breaks build (gcc 4.3.2): > > CC usb-linux.o > > cc1: warnings being treated as errors > > /src/qemu/usb-linux.c: In function 'usb_linux_update_endp_table': > > /src/qemu/usb-linux.c:759: error: 'type' may be used uninitialized in > > this function > > > > That's unfortunate. I'll revert. I can't reproduce this with gcc-4.4.3-8.fc13.i686 (which I'm currently running). The patch was tested and submitted when I was running gcc-4.4.3-6.fc13.i686. Regards, Paul Bolle