summaryrefslogtreecommitdiffstats
path: root/generic/tkOldConfig.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-11-27 23:26:05 (GMT)
committernijtmans <nijtmans>2008-11-27 23:26:05 (GMT)
commit713876e1f5bca010fe3fa12da61c8fdf67cd5665 (patch)
tree20d24307a579f0fe7d3afb9b67a418e01a00c083 /generic/tkOldConfig.c
parenta3f4e672b7776ad620f5bc519ed88a5366d0a927 (diff)
downloadtk-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 'generic/tkOldConfig.c')
-rw-r--r--generic/tkOldConfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkOldConfig.c b/generic/tkOldConfig.c
index 731944d..a8cc050 100644
--- a/generic/tkOldConfig.c
+++ b/generic/tkOldConfig.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: tkOldConfig.c,v 1.27 2008/11/18 23:49:43 nijtmans Exp $
+ * RCS: @(#) $Id: tkOldConfig.c,v 1.28 2008/11/27 23:26:05 nijtmans Exp $
*/
#include "tkPort.h"
@@ -626,7 +626,7 @@ Tk_ConfigureInfo(
* handle that one spec specially.
*/
- Tcl_SetResult(interp, NULL, TCL_STATIC);
+ Tcl_ResetResult(interp);
if (argvName != NULL) {
specPtr = FindConfigSpec(interp, specs, argvName, needFlags,hateFlags);
if (specPtr == NULL) {