Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8bbc5269 authored by Dan Albert's avatar Dan Albert Committed by Gerrit Code Review
Browse files

Merge "Don't check a staticly allocated array for null."

parents 8085477f 4fb58b03
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
    }