From 121163e58699543f745c34a62bee77732a763f13 Mon Sep 17 00:00:00 2001 From: ehouse Date: Fri, 12 May 2006 07:25:43 +0000 Subject: [PATCH] Turn on -Wall for compilers, and fix warnings that result. Got 'em all for win32 build, but some remain for wince that I'm unable to fix. --- xwords4/wince/ceclrsel.c | 1 - xwords4/wince/cehntlim.c | 1 + xwords4/wince/ceprefs.c | 2 ++ 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/xwords4/wince/ceclrsel.c b/xwords4/wince/ceclrsel.c index a976cb3c8..8d9369eeb 100644 --- a/xwords4/wince/ceclrsel.c +++ b/xwords4/wince/ceclrsel.c @@ -258,7 +258,6 @@ typedef struct ColorsDlgState { static void initColorData( ColorsDlgState* cState, HWND hDlg ) { - CEAppGlobals* globals = cState->globals; XP_U16 i; XP_ASSERT( (LAST_BUTTON - FIRST_BUTTON + 1) == NUM_EDITABLE_COLORS ); diff --git a/xwords4/wince/cehntlim.c b/xwords4/wince/cehntlim.c index 0c966a053..3cd25a73a 100755 --- a/xwords4/wince/cehntlim.c +++ b/xwords4/wince/cehntlim.c @@ -19,6 +19,7 @@ #ifdef XWFEATURE_SEARCHLIMIT +#include #include "cehntlim.h" static void diff --git a/xwords4/wince/ceprefs.c b/xwords4/wince/ceprefs.c index 1306e56ce..1d310874c 100755 --- a/xwords4/wince/ceprefs.c +++ b/xwords4/wince/ceprefs.c @@ -17,6 +17,8 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include + #include "ceprefs.h" #include "cemain.h" #include "ceclrsel.h"