Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/dev/acpi
In article <20110425053021.AFDBF175D0%cvs.netbsd.org@localhost>,
Jukka Ruohonen <source-changes-d%NetBSD.org@localhost> 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
Home |
Main Index |
Thread Index |
Old Index