Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
hellohuanlin committed Nov 15, 2024
1 parent 4e6826f commit d447514
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,13 @@ - (void)handleEvent:(NSEvent*)event callback:(FlutterAsyncKeyCallback)callback {
return;
}
break;
default: [[unlikely]] {
NSAssert(false, @"Unexpected key event type (got %lu).", event.type);
callback(false);
// This should not happen. Return to suppress clang-tidy warning on `type` being nil.
return;
}
default:
[[unlikely]] {
NSAssert(false, @"Unexpected key event type (got %lu).", event.type);
callback(false);
// This should not happen. Return to suppress clang-tidy warning on `type` being nil.
return;
}
}
_previouslyPressedFlags = modifierFlags;
NSMutableDictionary* keyMessage = [@{
Expand Down

0 comments on commit d447514

Please sign in to comment.