diff options
author | 2024-04-30 10:37:32 -0700 | |
---|---|---|
committer | 2024-05-17 12:52:01 -0700 | |
commit | e97f3a8580fb85f06386e187f8e6f64fcfb54ea9 (patch) | |
tree | 5214377bf7627af17b44c423fda1bb29212c194a /libs/binder/Stability.cpp | |
parent | 7ef191c8e2b6313197bfad7127e6d7dfd5648394 (diff) |
Fix libbinder_sdk build warnings
-Wdeprecated-declarations
-Wformat
-Wpessimizing-move
-Wsign-compare
-Wsubobject-linkage
-Wunused-result
-Wzero-as-null-pointer-constant (turned on in ag/4503295)
Bug: 285204695
Test: m libbinder_sdk
Change-Id: Id4a482c511244968e450fdeecf6b9de41bc65b04
Diffstat (limited to 'libs/binder/Stability.cpp')
-rw-r--r-- | libs/binder/Stability.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/Stability.cpp b/libs/binder/Stability.cpp index 665dfea456..4fb8fa08bc 100644 --- a/libs/binder/Stability.cpp +++ b/libs/binder/Stability.cpp @@ -70,7 +70,7 @@ bool Stability::requiresVintfDeclaration(const sp<IBinder>& binder) { } void Stability::tryMarkCompilationUnit(IBinder* binder) { - (void)setRepr(binder, getLocalLevel(), REPR_NONE); + std::ignore = setRepr(binder, getLocalLevel(), REPR_NONE); } // after deprecation of the VNDK, these should be aliases. At some point |