X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=base%2Fidtable.c;h=6e7aafaa1562c94b8f16398acc4a6acfb42622cc;hb=5dc0c5b5a5d8b47aebe392186cf9afcdfc1d221f;hp=b228a725f69c8387c7b05fcd80f825468eb0f200;hpb=ceed4cf646a34245b3bc88089a2187ebf7a41f0f;p=chiark-tcl.git diff --git a/base/idtable.c b/base/idtable.c index b228a72..6e7aafa 100644 --- a/base/idtable.c +++ b/base/idtable.c @@ -1,6 +1,6 @@ /* * base code for various Tcl extensions - * Copyright 2006 Ian Jackson + * Copyright 2006-2012 Ian Jackson * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -13,9 +13,7 @@ * General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA - * 02110-1301, USA. + * along with this library; if not, see . */ #include "chiark-tcl-base.h" @@ -79,14 +77,12 @@ int cht_tabledataid_parse(Tcl_Interp *ip, Tcl_Obj *o, const IdDataSpec *idds) { int l; unsigned long ul; IdDataValue *dv; - IdDataAssocData *assoc; char *ep, *str; if (o->typePtr != &cht_tabledataid_nearlytype) goto convert; dv= o->internalRep.otherValuePtr; if (dv->interp != ip) goto convert; - assoc= dv->assoc; if (dv->assoc->idds != idds) goto convert; return TCL_OK;