diff --git a/Makefile b/Makefile index 97723a5..4bb5fe0 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ CC=clang -CFLAGS=-Wall -std=c99 -pedantic +CFLAGS=-Wall -std=c99 -pedantic -Wextra OBJS = kk_ihex.o kk_ihex_write.o kk_ihex_read.o BINS = bin2ihex ihex2bin diff --git a/bin2ihex.c b/bin2ihex.c index 22a495c..a4be93e 100644 --- a/bin2ihex.c +++ b/bin2ihex.c @@ -31,6 +31,8 @@ main (void) { return EXIT_SUCCESS; } +#pragma clang diagnostic ignored "-Wunused-parameter" + void ihex_flush_buffer(struct ihex_state *ihex, char *buffer, char *eptr) { *eptr = '\0'; (void) fputs(buffer, stdout);