In article <20110425053021.afdbf17...@cvs.netbsd.org>,
Jukka Ruohonen <source-changes-d@NetBSD.org> wrote:
>-=-=-=-=-=-
>
>Module Name:   src
>Committed By:  jruoho
>Date:          Mon Apr 25 05:30:21 UTC 2011
>
>Modified Files:
>       src/sys/dev/acpi: acpi_cpu.c
>
>Log Message:
>Add a missing case value in a switch statement.
>

Why go from a switch to a bunch of if statements? You could also use
an array here, since the values are contiguous.

christos

Reply via email to