diff options
author | Chih-Hung Hsieh <chh@google.com> | 2022-12-20 13:27:31 -0800 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2022-12-20 13:27:31 -0800 |
commit | 03478f284034ac8b13a41a9cfaaa66eee47d28c2 (patch) | |
tree | 41dd03becd5680b5b7be08aac1caefecf023a034 | |
parent | 8bb6a77f168459de907916a1e21e9b1746fc9508 (diff) | |
download | gsid-03478f284034ac8b13a41a9cfaaa66eee47d28c2.tar.gz |
Fix uninitialized value warnings.main-16k-with-phones
Bug: 263274255
Test: presubmit; make tidy-system-gsid_subset
Change-Id: Ied2f65634df449a92bb99526d109895dac6a541b
-rw-r--r-- | gsi_service.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gsi_service.cpp b/gsi_service.cpp index 75f9286..2caa445 100644 --- a/gsi_service.cpp +++ b/gsi_service.cpp @@ -343,7 +343,7 @@ binder::Status GsiService::isGsiEnabled(bool* _aidl_return) { } binder::Status GsiService::removeGsiAsync(const sp<IGsiServiceCallback>& resultCallback) { - bool result; + bool result = false; auto status = removeGsi(&result); if (!status.isOk()) { LOG(ERROR) << "Could not removeGsi: " << status.exceptionMessage().string(); |