summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2013-01-24 13:30:44 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2013-01-24 13:30:44 (GMT)
commit78489efc020232726b6ead111e16466f5edb59cb (patch)
treeed5fa835b64c80959a99e005d42e02e49aef02e8
parentcaf8929ddddeb69d70f4ae55509f57d08021799c (diff)
downloadtk-78489efc020232726b6ead111e16466f5edb59cb.zip
tk-78489efc020232726b6ead111e16466f5edb59cb.tar.gz
tk-78489efc020232726b6ead111e16466f5edb59cb.tar.bz2
remove duplicate code
-rw-r--r--win/tkWinWm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/win/tkWinWm.c b/win/tkWinWm.c
index f6723e0..9ea4957 100644
--- a/win/tkWinWm.c
+++ b/win/tkWinWm.c
@@ -5309,11 +5309,6 @@ WmStateCmd(
return TCL_ERROR;
}
- if (Tcl_GetIndexFromObj(interp, objv[3], optionStrings, "argument", 0,
- &index) != TCL_OK) {
- return TCL_ERROR;
- }
-
if (winPtr->flags & TK_EMBEDDED) {
int state = 0;