From 15edf1c6c8de089fb37e9a7e560d922fe62822c5 Mon Sep 17 00:00:00 2001 From: Martino Facchin Date: Fri, 5 Jun 2015 17:51:09 +0200 Subject: remove useless variable --- cores/arduino/USBCore.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cores/arduino/USBCore.cpp b/cores/arduino/USBCore.cpp index 16e4a05..5f70d86 100644 --- a/cores/arduino/USBCore.cpp +++ b/cores/arduino/USBCore.cpp @@ -446,11 +446,10 @@ int USB_RecvControl(void* d, int len) int SendInterfaces() { - int total = 0; u8 interfaces = 0; #ifdef CDC_ENABLED - total = CDC_GetInterface(&interfaces); + CDC_GetInterface(&interfaces); #endif #ifdef PLUGGABLE_USB_ENABLED -- cgit v1.2.3-18-g5258