Initialize mAddExtraTestVendorConfigs to false.

If we do not init, the initial value is undefined.

Test: Local run
Bug: 340947823
Flag: EXEMPT bugfix
Change-Id: I18a3688a446dd969545e1fc2cb5f63210c3c02cd
Merged-In: I18a3688a446dd969545e1fc2cb5f63210c3c02cd
This commit is contained in:
Yu Shan 2024-05-15 13:56:37 -07:00
parent fd7119ea67
commit fe49375ba9

View file

@ -182,7 +182,7 @@ class FakeVehicleHardware : public IVehicleHardware {
std::unordered_set<int32_t> hvacPowerDependentProps;
const bool mForceOverride;
bool mAddExtraTestVendorConfigs;
bool mAddExtraTestVendorConfigs = false;
// Only used during initialization.
JsonConfigLoader mLoader;