mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-04 23:14:06 +02:00
atusb/fw3/: tighten compiler warnings
- Makefile (CFLAGS): tighten -Wno-unused to -Wno-unused-parameter - usb/usb.c (handle_ep): removed unused variable "res"
This commit is contained in:
parent
57b908d261
commit
23f84bc8b0
@ -14,7 +14,7 @@ SHELL = /bin/bash
|
||||
|
||||
NAME = atusb
|
||||
|
||||
CFLAGS = -g -Wall -Wextra -Wshadow -Werror -Wno-unused \
|
||||
CFLAGS = -g -Wall -Wextra -Wshadow -Werror -Wno-unused-parameter \
|
||||
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
|
||||
|
||||
CHIP=atmega32u2
|
||||
|
@ -261,7 +261,6 @@ static void ep_tx(struct ep_descr *ep)
|
||||
static void handle_ep(int n)
|
||||
{
|
||||
struct ep_descr *ep = eps+n;
|
||||
int res;
|
||||
|
||||
UENUM = n;
|
||||
if (UEINTX & (1 << RXSTPI)) {
|
||||
|
Loading…
Reference in New Issue
Block a user