From: henryk@ploetzli.ch Date: Sun, 6 Sep 2009 19:19:38 +0000 (+0000) Subject: Re-enable -Wall X-Git-Tag: v1.0.0~481 X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/d4086fe2b78e1a3f4fa58901f2184cd10ffcaba5 Re-enable -Wall --- diff --git a/armsrc/fpgaloader.c b/armsrc/fpgaloader.c index c30468f4..86a7a405 100644 --- a/armsrc/fpgaloader.c +++ b/armsrc/fpgaloader.c @@ -152,7 +152,7 @@ static void DownloadFPGA_byte(unsigned char w) // If bytereversal is set: reverse the byte order in each 4-byte word static void DownloadFPGA(const char *FpgaImage, int FpgaImageLen, int bytereversal) { - int i, j; + int i; PIO_OUTPUT_ENABLE = (1 << GPIO_FPGA_ON); PIO_ENABLE = (1 << GPIO_FPGA_ON); diff --git a/common/Makefile.common b/common/Makefile.common index 93e14589..faf59520 100644 --- a/common/Makefile.common +++ b/common/Makefile.common @@ -56,7 +56,7 @@ VPATH = . ../common/ ../fpga/ INCLUDES = ../include/proxmark3.h ../include/at91sam7s128.h ../include/config_gpio.h ../include/usb_cmd.h $(APP_INCLUDES) -CFLAGS = -c $(INCLUDE) -Werror -pedantic -std=gnu99 $(APP_CFLAGS) +CFLAGS = -c $(INCLUDE) -Wall -Werror -pedantic -std=gnu99 $(APP_CFLAGS) THUMBOBJ = $(patsubst %.c,$(OBJDIR)/%.o,$(THUMBSRC)) ARMOBJ = $(patsubst %.c,$(OBJDIR)/%.o,$(ARMSRC))