From: H.G. Muller Date: Thu, 5 Apr 2012 13:15:09 +0000 (+0200) Subject: Silence unjust warning X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=fb7eb56b7f69038426c5276f77e04ad1b0f8fcb7;p=xboard.git Silence unjust warning --- diff --git a/engineoutput.c b/engineoutput.c index d881ad0..94f2a87 100644 --- a/engineoutput.c +++ b/engineoutput.c @@ -229,7 +229,7 @@ SetProgramStats (FrontEndProgramStats * stats) // now directly called by back-en snprintf(header, MSG_SIZ, "\t%s viewpoint\t\tfewer / Multi-PV setting = %d / more\n", appData.whitePOV || appData.scoreWhite ? "white" : "mover", first.option[multi].value); } - snprintf(header+strlen(header), MSG_SIZ-strlen(header), exclusionHeader); + snprintf(header+strlen(header), MSG_SIZ-strlen(header), "%s", exclusionHeader); InsertIntoMemo( which, header, 0); } else if(appData.ponderNextMove && lastLine[which][0]) {