alsa-mixer: Improve workaround for Valgrind's false warnings
authorDavid Henningsson <david.henningsson@canonical.com>
Tue, 2 Sep 2014 14:11:53 +0000 (16:11 +0200)
committerDavid Henningsson <david.henningsson@canonical.com>
Mon, 8 Sep 2014 11:05:10 +0000 (13:05 +0200)
commitb8656afe4ae470fa0207278b2205467f9ca1f01d
tree95ebc4ba723cbdf2dbd81ee10e444577e32425aa
parent19180345fa583c7a8d237e3726d8e66755db8d4e
alsa-mixer: Improve workaround for Valgrind's false warnings

Valgrind is not correctly handling ALSA TLV syscalls, which leads
to false warnings, looking like this:
 "Conditional jump or move depends on uninitialised value(s)"

Unfortunately, alsa-lib itself also uses these values which valgrind
falsely believe are uninitialized, so not all warnings are removed,
but this is what we can do from PA until the valgrind bug is fixed.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
src/modules/alsa/alsa-mixer.c