more PR #897 - autounlock
For the 'autounlock option', "none" is gone from the set of choices so case 'n' can't happen anymore.
This commit is contained in:
@@ -792,9 +792,6 @@ optfn_autounlock(
|
|||||||
|| fuzzymatch(op, unlocktypes[i][0], " -_", TRUE)) {
|
|| fuzzymatch(op, unlocktypes[i][0], " -_", TRUE)) {
|
||||||
matched = TRUE;
|
matched = TRUE;
|
||||||
switch (*op) {
|
switch (*op) {
|
||||||
case 'n':
|
|
||||||
negated = TRUE;
|
|
||||||
break;
|
|
||||||
case 'u':
|
case 'u':
|
||||||
newflags |= AUTOUNLOCK_UNTRAP;
|
newflags |= AUTOUNLOCK_UNTRAP;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user