summaryrefslogtreecommitdiffstats
path: root/backgammon
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 /backgammon
parent3a0be2d0e88bf73dec95086fa0048c88f0b142d9 (diff)
downloadbsdgames-darwin-2a8e0dceaacbc707148905b721f341004c7ea365.tar.gz
bsdgames-darwin-2a8e0dceaacbc707148905b721f341004c7ea365.tar.zst
bsdgames-darwin-2a8e0dceaacbc707148905b721f341004c7ea365.zip
fix unused variable warnings
Diffstat (limited to 'backgammon')
-rw-r--r--backgammon/teachgammon/ttext2.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/backgammon/teachgammon/ttext2.c b/backgammon/teachgammon/ttext2.c
index 2a0d5ee4..05df9101 100644
--- a/backgammon/teachgammon/ttext2.c
+++ b/backgammon/teachgammon/ttext2.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ttext2.c,v 1.9 2010/03/22 05:10:19 mrg Exp $ */
+/* $NetBSD: ttext2.c,v 1.10 2013/10/19 17:23:08 christos Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)ttext2.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: ttext2.c,v 1.9 2010/03/22 05:10:19 mrg Exp $");
+__RCSID("$NetBSD: ttext2.c,v 1.10 2013/10/19 17:23:08 christos Exp $");
#endif
#endif /* not lint */
@@ -129,14 +129,12 @@ const char *const lastch[] = {
int
wrtext(const char *const *txt)
{
- const char *const *begin;
const char *a;
char b;
const char *c;
int i;
fixtty(&noech);
- begin = txt;
while (*txt) {
a = *(txt++);
if (*a != '\0') {
@@ -187,7 +185,6 @@ wrtext(const char *const *txt)
fixtty(&noech);
if (tflag)
curmove(curr, 0);
- begin = txt;
}
}
fixtty(&raw);