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

Commit dbbad304 authored by Greg Kaiser's avatar Greg Kaiser
Browse files

CommandEntry: Initialize 'enabled' field

We have the other fields of this struct initialized in the
constructor, so for consistency, we initialize this one as well.

Test: TreeHugger
Change-Id: I076033567abc9df1b74651a0c103912a105205d9
parent a3f1edda
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -271,7 +271,8 @@ CommandEntry::CommandEntry(Command command)
        keyEntry(nullptr),
        userActivityEventType(0),
        seq(0),
        handled(false) {}
        handled(false),
        enabled(false) {}

CommandEntry::~CommandEntry() {}