diff options
author | nijtmans <nijtmans> | 2008-11-27 23:26:05 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2008-11-27 23:26:05 (GMT) |
commit | 713876e1f5bca010fe3fa12da61c8fdf67cd5665 (patch) | |
tree | 20d24307a579f0fe7d3afb9b67a418e01a00c083 /win | |
parent | a3f4e672b7776ad620f5bc519ed88a5366d0a927 (diff) | |
download | tk-713876e1f5bca010fe3fa12da61c8fdf67cd5665.zip tk-713876e1f5bca010fe3fa12da61c8fdf67cd5665.tar.gz tk-713876e1f5bca010fe3fa12da61c8fdf67cd5665.tar.bz2 |
elminate warning: unused variable 'tkwin'
Replace Tcl_SetResult(interp, NULL, ....) calls
with Tcl_ResetResult(interp) everywhere
Diffstat (limited to 'win')
-rw-r--r-- | win/tkWinTest.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/win/tkWinTest.c b/win/tkWinTest.c index 14f32ce..c48dba5 100644 --- a/win/tkWinTest.c +++ b/win/tkWinTest.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinTest.c,v 1.22 2008/11/22 01:07:56 patthoyts Exp $ + * RCS: @(#) $Id: tkWinTest.c,v 1.23 2008/11/27 23:26:05 nijtmans Exp $ */ #include "tkWinInt.h" @@ -39,7 +39,6 @@ static int TestwinlocaleObjCmd(ClientData clientData, MODULE_SCOPE int TkplatformtestInit(Tcl_Interp *interp); static Tk_GetSelProc SetSelectionResult; - /* *---------------------------------------------------------------------- * @@ -480,8 +479,6 @@ TestwinlocaleObjCmd( int objc, /* Number of arguments. */ Tcl_Obj *const objv[]) /* Argument values. */ { - Tk_Window tkwin = (Tk_Window) clientData; - if (objc != 1) { Tcl_WrongNumArgs(interp, 1, objv, NULL); return TCL_ERROR; |