Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 047c69bb authored by Christopher N. Hesse's avatar Christopher N. Hesse Committed by Steve Kondik
Browse files

binder: MemoryHeapIon: fix unused parameters

Using the __attribute__((unused)) preprocessor directive

Change-Id: I29d27fd7eacb962ffa06ccd81ee48b48f3743243
parent 014ad5ee
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -98,7 +98,8 @@ uint32_t ion_FlagMask_valid_check(uint32_t flags)
    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;
    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;
    int dup_fd = -1;