projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f372265
)
Remove unused variable tm from function SaveGamePGN
author
Byrial Jensen
<byrial@vip.cybercity.dk>
Mon, 16 Apr 2012 11:01:09 +0000 (13:01 +0200)
committer
Byrial Jensen
<byrial@vip.cybercity.dk>
Mon, 16 Apr 2012 11:20:59 +0000 (13:20 +0200)
backend.c
patch
|
blob
|
history
diff --git
a/backend.c
b/backend.c
index
db32288
..
14563fa
100644
(file)
--- 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