Skip to content

Commit 4529bd5

Browse files
committed
remove useless variable
1 parent 1ffca94 commit 4529bd5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

hardware/arduino/avr/cores/arduino/USBCore.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -446,11 +446,10 @@ int USB_RecvControl(void* d, int len)
446446

447447
int SendInterfaces()
448448
{
449-
int total = 0;
450449
u8 interfaces = 0;
451450

452451
#ifdef CDC_ENABLED
453-
total = CDC_GetInterface(&interfaces);
452+
CDC_GetInterface(&interfaces);
454453
#endif
455454

456455
#ifdef PLUGGABLE_USB_ENABLED

0 commit comments

Comments
 (0)