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

Skip to content
Commit 5b5d1f87 authored by Marco Nelissen's avatar Marco Nelissen
Browse files

Work around compiler issue that confuses valgrind

For something like "if (a(&b) && b)", the compiler will generate code that
always checks both "b" and "a()", but then ignores "b" if "a()" returned
false. Since "b" is only initialized if "a()" returned true, the result is
valid, but confuses valgrind as it sees use of uninitialized memory.

Bug: 20950574
Change-Id: I1d173bbb32cc22f31d498f74677dc8be6bbe8df7
parent e3318f94
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