From d4086fe2b78e1a3f4fa58901f2184cd10ffcaba5 Mon Sep 17 00:00:00 2001 From: "henryk@ploetzli.ch" Date: Sun, 6 Sep 2009 19:19:38 +0000 Subject: [PATCH] Re-enable -Wall --- armsrc/fpgaloader.c | 2 +- common/Makefile.common | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)) -- 2.39.2