diff options
author | Petri Latvala <petri.latvala@intel.com> | 2019-01-16 13:20:43 +0200 |
---|---|---|
committer | Petri Latvala <petri.latvala@intel.com> | 2019-01-21 13:51:01 +0200 |
commit | 13e67a6e21efd1cd800b0366f6cd13ace30677f1 (patch) | |
tree | 778dfbed8bcf0301a59977b3a58625675be1c8ca /meson.sh | |
parent | d979b493e1378408985bdea928136e3a5698228e (diff) |
lib/igt_audio: Initialize freq in audio_signal_detect()
It's not clear to the static analyzer that freq is assigned when
handling the previous frame and then used in the next. In fact, it
wasn't clear to me either before staring at the code for some
minutes. Initializing it to something makes both of us happier.
Signed-off-by: Petri Latvala <petri.latvala@intel.com>
Cc: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Diffstat (limited to 'meson.sh')
0 files changed, 0 insertions, 0 deletions