From 4bea655df778280dab4bf603ecbcc7a203d09a07 Mon Sep 17 00:00:00 2001
From: Ludovic Rousseau <ludovic.rousseau+github@gmail.com>
Date: Fri, 20 Apr 2012 11:36:07 +0200
Subject: [PATCH 6/6] Fix compiler warning
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(-)

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;
 	}
 
-- 
1.7.9.5

