am 8bbc5269: Merge "Don\'t check a staticly allocated array for null."
* commit '8bbc526921a5034ccde19e5ae5ec4d5b0cc180ee': Don't check a staticly allocated array for null.
This commit is contained in:
@@ -1381,7 +1381,7 @@ void EventHub::releaseControllerNumberLocked(Device* device) {
|
||||
|
||||
|
||||
bool EventHub::hasKeycodeLocked(Device* device, int keycode) const {
|
||||
if (!device->keyMap.haveKeyLayout() || !device->keyBitmask) {
|
||||
if (!device->keyMap.haveKeyLayout()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user