diff --git a/source/Makefile.am b/source/Makefile.am index 7fcc1cf..3a96f3b 100644 --- a/source/Makefile.am +++ b/source/Makefile.am @@ -20,8 +20,9 @@ AM_CFLAGS = -D_ANSC_LINUX AM_CFLAGS += -D_ANSC_USER AM_CFLAGS += -D_ANSC_LITTLE_ENDIAN_ AM_CFLAGS += -Os -pedantic -std=c99 -Wall -fstrict-aliasing -fomit-frame-pointer -DDUK_USE_PROMISE_BUILTIN +AM_CFLAGS += -Werror -Wno-error=format AM_LDFLAGS = -lccsp_common -AM_CPPFLAGS = -Wall -Werror +AM_CPPFLAGS = -Wno-error=format ACLOCAL_AMFLAGS = -I m4 sbin_PROGRAMS = jst jst_CPPFLAGS = -DBUILD_RDK diff --git a/source/jst_post.c b/source/jst_post.c index 8383dde..e34bdf9 100644 --- a/source/jst_post.c +++ b/source/jst_post.c @@ -698,7 +698,7 @@ static void parse_mpfd(char* content_data, int content_len, const char* boundary { char* cursor = content_data; char* eof = content_data + content_len; - + printf("Test coverity flow %s"); while(cursor < eof) { while(cursor < eof - boundary_len)