summaryrefslogtreecommitdiffstats
path: root/gomoku
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2013-10-19 17:19:30 +0000
committerchristos <christos@NetBSD.org>2013-10-19 17:19:30 +0000
commit2a8e0dceaacbc707148905b721f341004c7ea365 (patch)
tree78a1d40f997319c41fdcc38b09243b14016f289b /gomoku
parent3a0be2d0e88bf73dec95086fa0048c88f0b142d9 (diff)
downloadbsdgames-darwin-2a8e0dceaacbc707148905b721f341004c7ea365.tar.gz
bsdgames-darwin-2a8e0dceaacbc707148905b721f341004c7ea365.tar.zst
bsdgames-darwin-2a8e0dceaacbc707148905b721f341004c7ea365.zip
fix unused variable warnings
Diffstat (limited to 'gomoku')
-rw-r--r--gomoku/pickmove.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gomoku/pickmove.c b/gomoku/pickmove.c
index 16f5b180..3fcbc915 100644
--- a/gomoku/pickmove.c
+++ b/gomoku/pickmove.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pickmove.c,v 1.21 2012/10/13 20:57:35 dholland Exp $ */
+/* $NetBSD: pickmove.c,v 1.22 2013/10/19 17:23:08 christos Exp $ */
/*
* Copyright (c) 1994
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)pickmove.c 8.2 (Berkeley) 5/3/95";
#else
-__RCSID("$NetBSD: pickmove.c,v 1.21 2012/10/13 20:57:35 dholland Exp $");
+__RCSID("$NetBSD: pickmove.c,v 1.22 2013/10/19 17:23:08 christos Exp $");
#endif
#endif /* not lint */
@@ -1083,7 +1083,7 @@ checkframes(struct combostr *cbp, struct combostr *fcbp, struct spotstr *osp,
int s, struct overlap_info *vertices)
{
struct combostr *tcbp, *lcbp;
- int i, n, mask, flags, verts, loop, myindex, fcnt;
+ int i, n, mask, flags, verts, myindex, fcnt;
union comboval cb;
u_char *str;
short *ip;
@@ -1094,7 +1094,6 @@ checkframes(struct combostr *cbp, struct combostr *fcbp, struct spotstr *osp,
cb.s = s;
fcnt = cb.c.a - 2;
verts = 0;
- loop = 0;
myindex = cbp->c_nframes;
n = (fcbp - frames) * FAREA;
str = &overlap[n];