X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=dialogs.c;h=6624aebf422887bb0d3623f880cc73644c7e2dc4;hb=92a2f96e6d5eb2ef50a0a60c64e2bd55e0855ce6;hp=8ea9f30a64529767607b84b079d3d6518ab218a7;hpb=c980d306cf27ed7b2c672b320f3a822e328bf6e8;p=xboard.git diff --git a/dialogs.c b/dialogs.c index 8ea9f30..6624aeb 100644 --- a/dialogs.c +++ b/dialogs.c @@ -1150,7 +1150,7 @@ ICSInputSendText () void IcsKey (int n) { // [HGM] input: let up-arrow recall previous line from history - char *val; + char *val = NULL; // to suppress spurious warning if (!shellUp[InputBoxDlg]) return; switch(n) {