windows: fix clippy lints

This commit is contained in:
Ferdinand Schober
2026-05-16 17:09:06 +02:00
parent 3e7b04c184
commit 1fa3800d3c

View File

@@ -222,11 +222,8 @@ fn start_routine(
}
/* run message loop */
loop {
while let Some(msg) = get_msg() {
// mouse / keybrd proc do not actually return a message
let Some(msg) = get_msg() else {
break;
};
if msg.hwnd.0.is_null() {
/* messages sent via PostThreadMessage */
match msg.wParam.0 {