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:
Alan Coopersmith
2025-04-21 14:40:21 -07:00
parent f15c5702f8
commit 903ef3f545

View File

@@ -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;
}