aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLudovic Rousseau <ludovic.rousseau+github@gmail.com>2012-04-20 11:36:07 +0200
committerPete Batard <pete@akeo.ie>2012-04-20 22:35:38 +0100
commit29d66c1554e8db47fbe6079cba48a38984318049 (patch)
tree1157fa29f6c6d7273c3b9971e560ac5d496e5480 /examples
parentd2b7b9f78e913dfc415d6acf65e5b8fd8a04027b (diff)
downloadandroid_external_libusbx-29d66c1554e8db47fbe6079cba48a38984318049.tar.gz
android_external_libusbx-29d66c1554e8db47fbe6079cba48a38984318049.tar.bz2
android_external_libusbx-29d66c1554e8db47fbe6079cba48a38984318049.zip
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.c2
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;
}