From fb7eb56b7f69038426c5276f77e04ad1b0f8fcb7 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Thu, 5 Apr 2012 15:15:09 +0200 Subject: [PATCH] Silence unjust warning --- engineoutput.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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]) { -- 1.7.0.4