diff options
author | George Burgess IV <gbiv@google.com> | 2021-01-20 21:14:13 -0800 |
---|---|---|
committer | Les Lee <lesl@google.com> | 2021-01-27 11:48:40 +0000 |
commit | 2c0a47db87985c5610df088b19d1362d54aeb2c2 (patch) | |
tree | 520871c29ba9572a5bb429bd0a1894489f99b599 /audio/core/all-versions/default/StreamOut.cpp | |
parent | 3e44dd3fb293eeab68bad0daf5bd9e4d40c0cdf5 (diff) |
wifi: fix a use of an uninitialized value
This `if` is executed once, so using `legacy_status` from a prior
execution is nonsensical.
Caught by the static analyzer:
> hardware/interfaces/wifi/1.5/default/wifi_chip.cpp:1053:39: warning:
1st function call argument is an uninitialized value
[clang-analyzer-core.CallAndMessage]
Bug: 173999527
Test: atest -c VtsHalWifiApV1_5TargetTest
Merged-In: Ib81f1496be53e453d9c99ede129a77bdaf860de7
Change-Id: Ib81f1496be53e453d9c99ede129a77bdaf860de7
Diffstat (limited to 'audio/core/all-versions/default/StreamOut.cpp')
0 files changed, 0 insertions, 0 deletions