Merge "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 {
|
bool EventHub::hasKeycodeLocked(Device* device, int keycode) const {
|
||||||
if (!device->keyMap.haveKeyLayout() || !device->keyBitmask) {
|
if (!device->keyMap.haveKeyLayout()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user