diff options
author | 2025-03-15 09:06:46 -0700 | |
---|---|---|
committer | 2025-03-15 09:06:46 -0700 | |
commit | e70697374929b68afcd14561a0b2a3290050bd0d (patch) | |
tree | dc2ba31b4fdd2f3f0fe7d36161e6655eacbb6f2b | |
parent | 86883f5381efa4ec483672bbc53bce6193664741 (diff) | |
parent | 993ce22f1c50c629a80cfd6aa61744b372ed32e9 (diff) |
Merge "Silience compiler errors from clang-r563880" into main
-rw-r--r-- | services/surfaceflinger/LayerVector.h | 3 | ||||
-rw-r--r-- | services/surfaceflinger/PowerAdvisor/SessionManager.h | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/services/surfaceflinger/LayerVector.h b/services/surfaceflinger/LayerVector.h index 38dc11d3bc..81155fd697 100644 --- a/services/surfaceflinger/LayerVector.h +++ b/services/surfaceflinger/LayerVector.h @@ -49,7 +49,8 @@ public: using Visitor = std::function<void(Layer*)>; private: - const StateSet mStateSet; + // FIXME: This is set but not used anywhere. + [[maybe_unused]] const StateSet mStateSet; }; } diff --git a/services/surfaceflinger/PowerAdvisor/SessionManager.h b/services/surfaceflinger/PowerAdvisor/SessionManager.h index 93a80b55ab..afa52eb260 100644 --- a/services/surfaceflinger/PowerAdvisor/SessionManager.h +++ b/services/surfaceflinger/PowerAdvisor/SessionManager.h @@ -68,7 +68,8 @@ private: bool isLayerRelevant(int32_t layerId); // The UID of whoever created our ISessionManager connection - const uid_t mUid; + // FIXME: This is set but is not used anywhere. + [[maybe_unused]] const uid_t mUid; // State owned by the main thread @@ -99,4 +100,4 @@ private: }; } // namespace adpf -} // namespace android
\ No newline at end of file +} // namespace android |