mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 20:08:17 +00:00
build menuselect objects with -Wall and remove an unused variable
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34374 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -15,13 +15,13 @@ else
|
||||
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
|
||||
|
||||
@@ -160,7 +160,6 @@ static void draw_category_menu(WINDOW *menu, struct category *cat, int start, in
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user