devmouse: remove redundant check
This commit is contained in:
parent
e812aa617f
commit
3d9abd96ae
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue