From: Byrial Jensen Date: Mon, 16 Apr 2012 11:01:09 +0000 (+0200) Subject: Remove unused variable tm from function SaveGamePGN X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=17aa28b75a3d6ed472e3f8b9f8689c73e6490c7f;p=xboard.git Remove unused variable tm from function SaveGamePGN --- diff --git a/backend.c b/backend.c index db32288..14563fa 100644 --- a/backend.c +++ b/backend.c @@ -12543,7 +12543,6 @@ int SaveGamePGN (FILE *f) { int i, offset, linelen, newblock; - time_t tm; // char *movetext; char numtext[32]; int movelen, numlen, blank; @@ -12551,8 +12550,6 @@ SaveGamePGN (FILE *f) offset = backwardMostMove & (~1L); /* output move numbers start at 1 */ - tm = time((time_t *) NULL); - PrintPGNTags(f, &gameInfo); if(appData.numberTag && matchMode) fprintf(f, "[Number \"%d\"]\n", nextGame+1); // [HGM] number tag