From 534e61c4e6eb10deeaaebd0ead88ffe36c439927 Mon Sep 17 00:00:00 2001 From: Zheng Bao Date: Tue, 11 Sep 2012 12:13:39 +0800 Subject: nvramtool: Remove the building warning on older gcc Some older gcc requires the default entry in switch, otherwise build warning "enumeration value not handled in switch" will come up. Change-Id: Ic8ea9960e4aca599e0ea62ec345122c9df57e766 Signed-off-by: Zheng Bao Signed-off-by: Zheng Bao Reviewed-on: http://review.coreboot.org/1501 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- util/nvramtool/cmos_lowlevel.c | 1 + 1 file changed, 1 insertion(+) (limited to 'util/nvramtool') diff --git a/util/nvramtool/cmos_lowlevel.c b/util/nvramtool/cmos_lowlevel.c index 55b1879ff0..ef0c3832b1 100644 --- a/util/nvramtool/cmos_lowlevel.c +++ b/util/nvramtool/cmos_lowlevel.c @@ -55,6 +55,7 @@ void select_hal(hal_t hal, void *data) break; #endif case HAL_MEMORY: + default: current_access = &memory_hal; break; } -- cgit v1.2.3