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

Skip to content
Commit 7fd5bdb5 authored by Yunlian Jiang's avatar Yunlian Jiang
Browse files

fix warning The left operand of '!=' is a garbage value

The 'res' is  uninitialized if params.state == Parameters::PREVIEW.
This sets the default value to 'OK' to silence this warning.

Bug: None
Test: Run clang-tidy on this code and the warning is gone.
Change-Id: I9d1b5e09c7957813f3c66d052c6a9f7d4b074b84
parent bd54eef2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment