summaryrefslogtreecommitdiff
path: root/libs/binder/Parcel.cpp
diff options
context:
space:
mode:
author Tomasz Wasilczyk <twasilczyk@google.com> 2023-12-07 01:18:04 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2023-12-07 01:18:04 +0000
commite2dd2c31599f57a78845787adee045db2b0a0056 (patch)
treebfc144d3b639fe41b4eae83ad00958dcb008627b /libs/binder/Parcel.cpp
parent7aeb104a3d6e7d47b8d5caa5becf939a40ec4def (diff)
parent8ff6f889dcdab8bb73c453b56eb82190958fe89c (diff)
Merge "Minor build-outside-android fixes" into main am: 43571dd2ef am: dda7686ebb am: 8ff6f889dc
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2852823 Change-Id: I3ce78f71a50097e1e0e7f177a9e8a511c9b619a6 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'libs/binder/Parcel.cpp')
-rw-r--r--libs/binder/Parcel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/Parcel.cpp b/libs/binder/Parcel.cpp
index 028e03dc2e..c1770b35d1 100644
--- a/libs/binder/Parcel.cpp
+++ b/libs/binder/Parcel.cpp
@@ -114,7 +114,7 @@ static std::atomic<size_t> gParcelGlobalAllocSize;
constexpr size_t kMaxFds = 1024;
// Maximum size of a blob to transfer in-place.
-static const size_t BLOB_INPLACE_LIMIT = 16 * 1024;
+[[maybe_unused]] static const size_t BLOB_INPLACE_LIMIT = 16 * 1024;
#if defined(__BIONIC__)
static void FdTag(int fd, const void* old_addr, const void* new_addr) {