summaryrefslogtreecommitdiffstats
path: root/win/tkWinWm.c
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)
commitbbbc32416a291c8abda4072bafa9579418034907 (patch)
tree52ec30962a9123d4e838ff9ae5f5934a0ec7d646 /win/tkWinWm.c
parent282f0f285bae5c21efe87f27db67df25709567fd (diff)
downloadtk-bbbc32416a291c8abda4072bafa9579418034907.zip
tk-bbbc32416a291c8abda4072bafa9579418034907.tar.gz
tk-bbbc32416a291c8abda4072bafa9579418034907.tar.bz2
remove duplicate code
Diffstat (limited to 'win/tkWinWm.c')
-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;