From: H.G. Muller Date: Sun, 7 Feb 2010 09:38:38 +0000 (+0100) Subject: Fix error that compiler does not notice X-Git-Tag: master-20100221~38 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=c3fb2ac54aba3f1cab85e2e73552d5ab14bd4e9c;p=xboard.git Fix error that compiler does not notice Boolean GLT_GetFromList did not return a value. But no error on Ubuntu! --- diff --git a/xgamelist.c b/xgamelist.c index aa7c6a2..4eb1d38 100644 --- a/xgamelist.c +++ b/xgamelist.c @@ -643,6 +643,7 @@ void GLT_AddToList(char *name) Boolean GLT_GetFromList(int index, char *name) { strcpy(name, strings[index]); + return TRUE; } void GLT_DeSelectList()