From 217bf6f53e1a8c03cae094e54ffbfdb62d0eef30 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Wed, 21 Sep 2011 12:01:39 +0200 Subject: [PATCH] fix warning from -Wswitch --- lib/scsi-lowlevel.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/scsi-lowlevel.c b/lib/scsi-lowlevel.c index 3a4138c..eb45d88 100644 --- a/lib/scsi-lowlevel.c +++ b/lib/scsi-lowlevel.c @@ -805,6 +805,10 @@ scsi_modesense_datain_unmarshall(struct scsi_task *task) case SCSI_MODESENSE_PAGECODE_INFORMATIONAL_EXCEPTIONS_CONTROL: scsi_parse_mode_informational_exceptions_control(task, pos, mp); break; + default: + /* TODO: process other pages, or add raw data to struct + * scsi_mode_page. */ + break; } mp->next = ms->pages;