[svn-commits] trunk r34374 - in /trunk/build_tools: Makefile menuselect_curses.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu Jun 15 17:14:46 MST 2006


Author: russell
Date: Thu Jun 15 19:14:46 2006
New Revision: 34374

URL: http://svn.digium.com/view/asterisk?rev=34374&view=rev
Log:
build menuselect objects with -Wall and remove an unused variable

Modified:
    trunk/build_tools/Makefile
    trunk/build_tools/menuselect_curses.c

Modified: trunk/build_tools/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/build_tools/Makefile?rev=34374&r1=34373&r2=34374&view=diff
==============================================================================
--- trunk/build_tools/Makefile (original)
+++ trunk/build_tools/Makefile Thu Jun 15 19:14:46 2006
@@ -15,13 +15,13 @@
 endif
 
 menuselect: $(MENUSELECT_OBJS)
-	$(CC) -g -o $@ $(MENUSELECT_OBJS) $(MENUSELECT_LIBS)
+	$(CC) -g -Wall -o $@ $(MENUSELECT_OBJS) $(MENUSELECT_LIBS)
 
 menuselect.o: menuselect.c menuselect.h
-	$(CC) -o $@ $(MENUSELECT_CFLAGS) $<
+	$(CC) -Wall -o $@ $(MENUSELECT_CFLAGS) $<
 
 menuselect_curses.o: menuselect_curses.c menuselect.h
-	$(CC) -o $@ $(MENUSELECT_CFLAGS) $(MENUSELECT_INCLUDE) $<
+	$(CC) -Wall -o $@ $(MENUSELECT_CFLAGS) $(MENUSELECT_INCLUDE) $<
 
 clean:
 	rm -f menuselect *.o

Modified: trunk/build_tools/menuselect_curses.c
URL: http://svn.digium.com/view/asterisk/trunk/build_tools/menuselect_curses.c?rev=34374&r1=34373&r2=34374&view=diff
==============================================================================
--- trunk/build_tools/menuselect_curses.c (original)
+++ trunk/build_tools/menuselect_curses.c Thu Jun 15 19:14:46 2006
@@ -160,7 +160,6 @@
 	int j = 0;
 	struct member *mem;
 	char buf[64];
-	const char *desc = NULL;
 
 	if (!changed) {
 		/* If all we have to do is move the cursor, 



More information about the svn-commits mailing list