From 74f31a51bc4fdf14b6f3a5d2f886c65ff882bd55 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Sun, 18 Feb 2007 15:03:42 +0000 Subject: add -Wundef to the --enable-dev-mode flags, so that mistyped macro names in #if expressions will be caught convert various #if expressions to #ifdef for macros that may not be defined (and where the value is not important) Note: two of these changes are in bison generated files which is going to be inconvenient when they are regenerated git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55329 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/editline/refresh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/editline/refresh.c') diff --git a/main/editline/refresh.c b/main/editline/refresh.c index 935117741..fcebe1253 100644 --- a/main/editline/refresh.c +++ b/main/editline/refresh.c @@ -215,7 +215,7 @@ re_refresh(EditLine *el) prompt_print(el, EL_PROMPT); /* draw the current input buffer */ -#if notyet +#ifdef notyet termsz = el->el_term.t_size.h * el->el_term.t_size.v; if (el->el_line.lastchar - el->el_line.buffer > termsz) { /* -- cgit v1.2.3