From: Mathieu Rene Date: Sun, 8 Mar 2009 20:45:18 +0000 (+0000) Subject: remove unused var X-Git-Tag: v1.0.4~1593 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e25265b15debe59db1b07ef863add116535dd6af;p=thirdparty%2Ffreeswitch.git remove unused var git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12527 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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);