gitk: Fix bug in accessing undefined "notflag" variable
As pointed out by Johannes Sixt and Alexander Gavrilov, commit
2958228430 ("gitk: Fix switch statement
in parseviewargs") exposed a latent bug in that $notflag was never
initialized. Since it isn't used either, this removes it entirely.
Signed-off-by: Paul Mackerras <paulus@samba.org>
main
parent
8b39e04f39
commit
6e7e87c762
6
gitk
6
gitk
|
|
@ -199,11 +199,7 @@ proc parseviewargs {n arglist} {
|
||||||
set nextisval 1
|
set nextisval 1
|
||||||
lappend glflags $arg
|
lappend glflags $arg
|
||||||
}
|
}
|
||||||
"--not" {
|
"--not" - "--all" {
|
||||||
set notflag [expr {!$notflag}]
|
|
||||||
lappend revargs $arg
|
|
||||||
}
|
|
||||||
"--all" {
|
|
||||||
lappend revargs $arg
|
lappend revargs $arg
|
||||||
}
|
}
|
||||||
"--merge" {
|
"--merge" {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue