summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorculler <culler>2023-12-13 14:43:21 (GMT)
committerculler <culler>2023-12-13 14:43:21 (GMT)
commit9dd438cc2c26863bb963e9e6fad660ad9a2ad605 (patch)
treed32328bb09b5603af878ea6d42acfed63d0a69a2 /library
parentd69df857209ab9c3bb83b05151421e67508b20df (diff)
downloadtk-9dd438cc2c26863bb963e9e6fad660ad9a2ad605.zip
tk-9dd438cc2c26863bb963e9e6fad660ad9a2ad605.tar.gz
tk-9dd438cc2c26863bb963e9e6fad660ad9a2ad605.tar.bz2
Remove unused variable.
Diffstat (limited to 'library')
-rw-r--r--library/scrlbar.tcl2
1 files changed, 0 insertions, 2 deletions
diff --git a/library/scrlbar.tcl b/library/scrlbar.tcl
index 283b7a2..9e210f6 100644
--- a/library/scrlbar.tcl
+++ b/library/scrlbar.tcl
@@ -334,13 +334,11 @@ proc ::tk::ScrollbarScrollByPixels {w orient amount} {
if {$xyview eq "xview"} {
return
}
- set size [winfo height $w]
}
if {$orient eq "h"} {
if {$xyview eq "yview"} {
return
}
- set size [winfo width $w]
}
# The code below works with both the current and old syntax for