From 2a8e0dceaacbc707148905b721f341004c7ea365 Mon Sep 17 00:00:00 2001 From: christos Date: Sat, 19 Oct 2013 17:19:30 +0000 Subject: fix unused variable warnings --- backgammon/teachgammon/ttext2.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'backgammon') 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); -- cgit v1.2.3-56-ge451