diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-05 07:56:33 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-05 07:56:33 (GMT) |
commit | 121af720bc29f65b64fcdcf520cb2d00368eb258 (patch) | |
tree | d777f374f5dd01aa118ee2e7b34a64e8cd0d6d78 /generic/tkImage.c | |
parent | 91500fc2feafa36fe71ce1453075b73386d16e34 (diff) | |
download | tk-121af720bc29f65b64fcdcf520cb2d00368eb258.zip tk-121af720bc29f65b64fcdcf520cb2d00368eb258.tar.gz tk-121af720bc29f65b64fcdcf520cb2d00368eb258.tar.bz2 |
Fix many warnings related to the -Wshadow gcc compiler flag
Diffstat (limited to 'generic/tkImage.c')
-rw-r--r-- | generic/tkImage.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/generic/tkImage.c b/generic/tkImage.c index 763c65b..d42ed7d 100644 --- a/generic/tkImage.c +++ b/generic/tkImage.c @@ -361,8 +361,6 @@ Tk_ImageObjCmd( objc -= firstOption; args = (Tcl_Obj **) objv; if (oldimage) { - int i; - args = (Tcl_Obj **)ckalloc((objc+1) * sizeof(Tcl_Obj *)); for (i = 0; i < objc; i++) { args[i] = (Tcl_Obj *) Tcl_GetString(objv[i]); |