diff options
author | Ludovic Rousseau <ludovic.rousseau+github@gmail.com> | 2012-04-20 11:36:07 +0200 |
---|---|---|
committer | Pete Batard <pete@akeo.ie> | 2012-04-20 22:35:38 +0100 |
commit | 29d66c1554e8db47fbe6079cba48a38984318049 (patch) | |
tree | 1157fa29f6c6d7273c3b9971e560ac5d496e5480 /examples | |
parent | d2b7b9f78e913dfc415d6acf65e5b8fd8a04027b (diff) | |
download | libusb-29d66c1554e8db47fbe6079cba48a38984318049.tar.gz |
Samples: Fix not handled in switch warning in xusb.c
xusb.c: In function ‘test_device’:
xusb.c:722:2: warning: enumeration value ‘USE_GENERIC’ not handled in switch [-Wswitch-enum]
Diffstat (limited to 'examples')
-rw-r--r-- | examples/xusb.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |