Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 23 Mar 2001 17:33:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 23 Mar 2001 17:32:09 -0500 Received: from ganymede.isdn.uiuc.edu ([192.17.19.210]:63505 "EHLO ganymede.isdn.uiuc.edu") by vger.kernel.org with ESMTP id ; Fri, 23 Mar 2001 17:31:16 -0500 Date: Fri, 23 Mar 2001 16:29:56 -0600 From: Bill Wendling To: Alan Cox Cc: "J . A . Magallon" , Linux Kernel , Linus Torvalds Subject: Re: [PATCH] gcc-3.0 warnings Message-ID: <20010323162956.A27066@ganymede.isdn.uiuc.edu> In-Reply-To: <20010323011140.A1176@werewolf.able.es> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from alan@lxorguk.ukuu.org.uk on Fri, Mar 23, 2001 at 12:28:32AM +0000 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Also sprach Alan Cox: } > - default: } > + default:; } } Agree - done } This kind of coding makes me want to cry. What's so wrong with: default: break; instead? The ';' is hard to notice and, if people don't leave the "default:" at the end, then bad things could happen... -- || Bill Wendling wendling@ganymede.isdn.uiuc.edu - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/