Adding default value to fix the msan issue in the types test

PiperOrigin-RevId: 485083607
This commit is contained in:
Hai Shang
2022-10-31 10:16:32 -07:00
committed by Copybara-Service
parent b6b692b0ea
commit 5d12e6ffa0
+4 -4
View File
@@ -121,11 +121,11 @@ struct ScanRequest {
scan_filters;
// Whether to use BLE in the scan.
bool use_ble;
bool use_ble = false;
ScanType scan_type;
PowerMode power_mode;
bool scan_only_when_screen_on;
ScanType scan_type = ScanType::kUnspecifiedScan;
PowerMode power_mode = PowerMode::kNoPower;
bool scan_only_when_screen_on = false;
};
inline bool operator==(const ScanRequest& a, const ScanRequest& b) {