niash: Fix an implicit fallthrough bug in handling of threshold option

merge-requests/128/head
Povilas Kanapickas 2019-06-30 11:58:33 +03:00
rodzic e40596c2a5
commit 3dde8f28f0
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -768,6 +768,7 @@ _InitOptions (TScanner * s)
SANE_CAP_SOFT_SELECT | SANE_CAP_SOFT_DETECT | SANE_CAP_INACTIVE |
SANE_CAP_EMULATED;
pVal->w = 50;
break;
default:
DBG (DBG_ERR, "Uninitialised option %d\n", i);