From owner-cvs-all Thu Jul 22 19:56:11 1999 Delivered-To: cvs-all@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (Postfix) with ESMTP id 4C0B215673; Thu, 22 Jul 1999 19:56:08 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id TAA00839; Thu, 22 Jul 1999 19:56:08 -0700 (PDT) (envelope-from dillon) Date: Thu, 22 Jul 1999 19:56:08 -0700 (PDT) From: Matthew Dillon Message-Id: <199907230256.TAA00839@apollo.backplane.com> To: Brian Feldman Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/i386 identcpu.c References: <199907060625.XAA76801@freefall.freebsd.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk :green 1999/07/05 23:25:39 PDT : : Modified files: : sys/i386/i386 identcpu.c : Log: : Add Centaur/IDT WinChip support. : : Why in the world do people put breaks at the end of a switch's default case? : : Revision Changes Path : 1.69 +14 -1 src/sys/i386/i386/identcpu.c Because it makes the switch statement more regularized and readable. default is not always emplaced at the end of the switch so it is best to treat it the same as a 'case' statement. Don't worry about it, the compiler will optimize it out if it winds up jumping to the next instruction. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message