Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ endif

CFLAGS += -Wall

ifneq ($(findstring darwin,$(OSTYPE)),)
ifneq ($(findstring Darwin,$(OSTYPE)),)
CFLAGS+=-D__APPLE__
else
CFLAGS += -static
Expand Down
2 changes: 2 additions & 0 deletions lpc21isp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1212,7 +1212,9 @@ void ReceiveComPort(ISP_ENVIRONMENT *IspEnvironment,
{
unsigned long tmp_realsize;
unsigned long nr_of_0x0A = 0;
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
unsigned long nr_of_0x0D = 0;
#pragma GCC diagnostic warning "-Wunused-but-set-variable"
int eof = 0;
unsigned long p;
unsigned char *Answer;
Expand Down