devmouse: remove redundant check

This commit is contained in:
Sigrid 2020-12-08 11:21:18 +01:00
parent e812aa617f
commit 3d9abd96ae

View file

@ -304,8 +304,6 @@ setbuttonmap(char* map)
one = two = three = 0;
for(i = 0; i < 3; i++){
if(map[i] == 0)
error(Ebadarg);
if(map[i] == '1'){
if(one)
error(Ebadarg);