From ec43b6c8292508baa0d20bb03741008088d9bb36 Mon Sep 17 00:00:00 2001 From: Martino Facchin Date: Fri, 5 Jun 2015 17:51:09 +0200 Subject: [PATCH] remove useless variable --- hardware/arduino/avr/cores/arduino/USBCore.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hardware/arduino/avr/cores/arduino/USBCore.cpp b/hardware/arduino/avr/cores/arduino/USBCore.cpp index 16e4a0522..5f70d8650 100644 --- a/hardware/arduino/avr/cores/arduino/USBCore.cpp +++ b/hardware/arduino/avr/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