diff options
author | nijtmans <nijtmans> | 2008-11-26 23:09:34 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2008-11-26 23:09:34 (GMT) |
commit | 12370b2c306d55d85724b508ddc18bf631b9d46a (patch) | |
tree | 642b3ff7ee41773bbe58d2b791e4b8d9f16ee514 | |
parent | 41e3dc4923b40c7f7d921681de5daa1fab6918d8 (diff) | |
download | tcl-12370b2c306d55d85724b508ddc18bf631b9d46a.zip tcl-12370b2c306d55d85724b508ddc18bf631b9d46a.tar.gz tcl-12370b2c306d55d85724b508ddc18bf631b9d46a.tar.bz2 |
Eliminate warning: unused variable
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | generic/tclTestObj.c | 4 |
2 files changed, 5 insertions, 3 deletions
@@ -1,3 +1,7 @@ +2008-11-26 Jan Nijtmans <nijtmans@users.sf.net> + + * generic/tclIndexObj.c: Eliminate warning: unused variable + 2008-11-26 Kevin B. Kenny <kennykb@acm.org> * 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; } |