]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
remove unused var
authorMathieu Rene <mrene@avgs.ca>
Sun, 8 Mar 2009 20:45:18 +0000 (20:45 +0000)
committerMathieu Rene <mrene@avgs.ca>
Sun, 8 Mar 2009 20:45:18 +0000 (20:45 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12527 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/esl/Makefile
libs/esl/src/esl_oop.cpp

index 6364c7a016847ef29eaaac56311a75f22033efcb..b9d9c2e07add99cbfd6895c981744fe5ff45e1e3 100644 (file)
@@ -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.
index cf7fae4fd6884377bc0d9d7b031d987218231d52..cd6fb53afc576d8f80cebe5bc11cced34815aaf8 100644 (file)
@@ -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);