From 12370b2c306d55d85724b508ddc18bf631b9d46a Mon Sep 17 00:00:00 2001 From: nijtmans Date: Wed, 26 Nov 2008 23:09:34 +0000 Subject: Eliminate warning: unused variable --- ChangeLog | 4 ++++ generic/tclTestObj.c | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9191fa2..8c9bed3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-11-26 Jan Nijtmans + + * generic/tclIndexObj.c: Eliminate warning: unused variable + 2008-11-26 Kevin B. Kenny * library/tclIndex: Removed reference to no-longer-extant procedure diff --git a/generic/tclTestObj.c b/generic/tclTestObj.c index c643822..c88a519 100644 --- a/generic/tclTestObj.c +++ b/generic/tclTestObj.c @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclTestObj.c,v 1.26 2008/11/25 23:19:02 nijtmans Exp $ + * RCS: @(#) $Id: tclTestObj.c,v 1.27 2008/11/26 23:09:34 nijtmans Exp $ */ #include "tclInt.h" @@ -918,8 +918,6 @@ TestobjCmd( Tcl_SetObjResult(interp, Tcl_NewStringObj(typeName, -1)); } } else if (strcmp(subCmd, "refcount") == 0) { - char buf[TCL_INTEGER_SPACE]; - if (objc != 3) { goto wrongNumArgs; } -- cgit v0.12