diff --git a/libs/esl/Makefile b/libs/esl/Makefile index 6364c7a016..b9d9c2e07a 100644 --- a/libs/esl/Makefile +++ b/libs/esl/Makefile @@ -5,7 +5,7 @@ DEBUG=-g -ggdb BASE_FLAGS=$(INCS) -DHAVE_EDITLINE $(DEBUG) -I$(LIBEDIT_DIR)/src/ -fPIC PICKY=-O2 -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes CFLAGS=$(BASE_FLAGS) $(PICKY) -CXXFLAGS=$(BASE_FLAGS) +CXXFLAGS=$(BASE_FLAGS) -Wall -Werror MYLIB=libesl.a LIBS=-lncurses -lpthread -lesl LDFLAGS=-L. diff --git a/libs/esl/src/esl_oop.cpp b/libs/esl/src/esl_oop.cpp index cf7fae4fd6..cd6fb53afc 100644 --- a/libs/esl/src/esl_oop.cpp +++ b/libs/esl/src/esl_oop.cpp @@ -296,8 +296,6 @@ const char *ESLevent::firstHeader(void) const char *ESLevent::serialize(const char *format) { - int isxml = 0; - this_check(""); esl_safe_free(serialized_string);