1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-25 20:04:03 +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:
Werner Almesberger 2011-02-14 10:22:51 -03:00
parent 57b908d261
commit 23f84bc8b0
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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)) {