binder: MemoryHeapIon: fix unused parameters

Using the __attribute__((unused)) preprocessor directive

Change-Id: I29d27fd7eacb962ffa06ccd81ee48b48f3743243
(cherry picked from commit 047c69bb8e17eab6f3432fae200fe94f7e119755)
This commit is contained in:
Christopher N. Hesse 2014-12-04 21:50:43 +01:00 committed by Andreas Schneider
parent af2d946f2d
commit f3f3949b32

View File

@ -98,7 +98,8 @@ uint32_t ion_FlagMask_valid_check(uint32_t flags)
return result; return result;
} }
MemoryHeapIon::MemoryHeapIon(size_t size, uint32_t flags, char const *name):MemoryHeapBase() MemoryHeapIon::MemoryHeapIon(size_t size, uint32_t flags,
__attribute__((unused))char const *name):MemoryHeapBase()
{ {
void* base = NULL; void* base = NULL;
int fd = -1; int fd = -1;
@ -146,7 +147,8 @@ MemoryHeapIon::MemoryHeapIon(size_t size, uint32_t flags, char const *name):Memo
} }
} }
MemoryHeapIon::MemoryHeapIon(int fd, size_t size, uint32_t flags, uint32_t offset):MemoryHeapBase() MemoryHeapIon::MemoryHeapIon(int fd, size_t size, uint32_t flags,
__attribute__((unused))uint32_t offset):MemoryHeapBase()
{ {
void* base = NULL; void* base = NULL;
int dup_fd = -1; int dup_fd = -1;