Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jul 1999 19:56:08 -0700 (PDT)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Brian Feldman <green@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/i386/i386 identcpu.c
Message-ID:  <199907230256.TAA00839@apollo.backplane.com>
References:   <199907060625.XAA76801@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
: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 
					<dillon@backplane.com>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907230256.TAA00839>