summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-24 13:30:44 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-24 13:30:44 (GMT)
commit7a60939a9fb681c46c9a5db933814ee54e88ba54 (patch)
tree52ec30962a9123d4e838ff9ae5f5934a0ec7d646 /win
parentd3229c55f88044426b1a46681acc3bc9eb0301f3 (diff)
downloadtk-7a60939a9fb681c46c9a5db933814ee54e88ba54.zip
tk-7a60939a9fb681c46c9a5db933814ee54e88ba54.tar.gz
tk-7a60939a9fb681c46c9a5db933814ee54e88ba54.tar.bz2
remove duplicate code
Diffstat (limited to 'win')
-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;