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

Skip to content
Commit 76566808 authored by George Burgess IV's avatar George Burgess IV Committed by lesl
Browse files

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: None
Test: atest -c VtsHalWifiApV1_5TargetTest
Change-Id: Ib81f1496be53e453d9c99ede129a77bdaf860de7
parent f7c88a83
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