From aa0c71e5782e6afa27df44766dc1c6fb4b0be3e2 Mon Sep 17 00:00:00 2001 From: Gil Cukierman Date: Wed, 17 Jan 2024 17:44:30 +0000 Subject: [PATCH] Add default member initializers for bool and int Bug: 310650389 Change-Id: I1742bbc9b894b2cd379695d6b197c80f4054e395 Test: atest VtsHalRadioTargetTest --- radio/aidl/vts/radio_network_utils.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/radio/aidl/vts/radio_network_utils.h b/radio/aidl/vts/radio_network_utils.h index 470ee7374b..ad530eb36b 100644 --- a/radio/aidl/vts/radio_network_utils.h +++ b/radio/aidl/vts/radio_network_utils.h @@ -38,16 +38,16 @@ class RadioNetworkResponse : public BnRadioNetworkResponse { RadioResponseInfo rspInfo; std::vector radioBandModes; std::vector networkInfos; - bool isNrDualConnectivityEnabled; - int networkTypeBitmapResponse; + bool isNrDualConnectivityEnabled = false; + int networkTypeBitmapResponse = 0; RegStateResult voiceRegResp; RegStateResult dataRegResp; CellIdentity barringCellIdentity; std::vector barringInfoList; UsageSetting usageSetting; std::vector specifiers; - bool isCellularIdentifierTransparencyEnabled; - bool isSecurityAlgorithmsUpdatedEnabled; + bool isCellularIdentifierTransparencyEnabled = false; + bool isSecurityAlgorithmsUpdatedEnabled = false; virtual ndk::ScopedAStatus acknowledgeRequest(int32_t serial) override;