mirror of
https://github.com/VARCem/ihex.git
synced 2026-09-24 16:05:07 +00:00
Enable -Wextra
This commit is contained in:
2
Makefile
2
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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user