provide a correct return value in case everything goes well,

so you won't get random failures running menuselect.

Detected by -Wall -Werror



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26346 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Luigi Rizzo
2006-05-10 10:41:38 +00:00
parent 298eec4d28
commit 97c275d768
2 changed files with 3 additions and 1 deletions

View File

@@ -128,7 +128,7 @@ void draw_category_menu(WINDOW *menu, struct category *cat, int start, int end,
int j = 0;
struct member *mem;
char buf[64];
char *desc = NULL;
const char *desc = NULL;
wclear(menu);