From 29d66c1554e8db47fbe6079cba48a38984318049 Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Fri, 20 Apr 2012 11:36:07 +0200 Subject: Samples: Fix not handled in switch warning in xusb.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit xusb.c: In function ‘test_device’: xusb.c:722:2: warning: enumeration value ‘USE_GENERIC’ not handled in switch [-Wswitch-enum] --- examples/xusb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/xusb.c') diff --git a/examples/xusb.c b/examples/xusb.c index 07935d4..343a0b4 100644 --- a/examples/xusb.c +++ b/examples/xusb.c @@ -731,7 +731,7 @@ static int test_device(uint16_t vid, uint16_t pid) break; case USE_SCSI: CALL_CHECK(test_mass_storage(handle, endpoint_in, endpoint_out)); - default: + case USE_GENERIC: break; } -- cgit v1.2.1