mirror of
https://github.com/X11Libre/xf86-input-mouse.git
synced 2026-03-24 01:24:06 +00:00
mouse.c: Remove stray semicolons after closing brackets
Clears warnings from clang 19.1.7:
mouse.c:364:14: warning: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
364 | };
| ^
mouse.c:595:13: warning: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
595 | };
| ^
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-mouse/-/merge_requests/23>
This commit is contained in:
@@ -361,7 +361,7 @@ MouseCommonOptions(InputInfoPtr pInfo)
|
||||
xf86Msg(X_WARNING, "DragLock: Invalid button number = %d\n",
|
||||
lock);
|
||||
break;
|
||||
};
|
||||
}
|
||||
/* turn into a button mask */
|
||||
lockM = 1 << (lock - 1);
|
||||
|
||||
@@ -592,7 +592,7 @@ MouseCommonOptions(InputInfoPtr pInfo)
|
||||
xf86Msg(X_WARNING,
|
||||
"ButtonMapping: Invalid button number = %d\n", b);
|
||||
break;
|
||||
};
|
||||
}
|
||||
pMse->buttonMap[n++] = 1 << (b-1);
|
||||
if (b > pMse->buttons) pMse->buttons = b;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user