sdm: libs: core: Explicitly ignore result of std::all_of am: 8351f6a086

Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/sm7250/display/+/2751606

Change-Id: I463ad7e1c8f94d52a4558e4f24b8836466ded5cf
Signed-off-by: Automerger Merge Worker <[email protected]>
diff --git a/sdm/libs/core/color_manager.cpp b/sdm/libs/core/color_manager.cpp
index 671fdea..c6e6d9f 100644
--- a/sdm/libs/core/color_manager.cpp
+++ b/sdm/libs/core/color_manager.cpp
@@ -724,7 +724,7 @@
       } else {
         return false;
       }})) {
-    std::all_of(states_.begin(), states_.end(),
+    (void)std::all_of(states_.begin(), states_.end(),
       [](const FeatureInterface *p) {
       if (p) {delete p;} return true;});
     states_.fill(NULL);
@@ -745,7 +745,7 @@
 }
 
 DisplayError ColorFeatureCheckingImpl::Deinit() {
-  std::all_of(states_.begin(), states_.end(),
+  (void)std::all_of(states_.begin(), states_.end(),
     [](const FeatureInterface *p)
     {if (p) {delete p;} return true;});
   states_.fill(NULL);