summaryrefslogtreecommitdiffstats
path: root/libc/bionic/libc_init_dynamic.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-06-03 15:22:34 -0700
committerElliott Hughes <enh@google.com>2014-06-03 15:22:34 -0700
commitd286796fce1e6fff407b719a53eb2afbeb96c327 (patch)
treec1edc80194a19b7b443611acd0ffdea2ddfe130a /libc/bionic/libc_init_dynamic.cpp
parent2f9400b679ffe08f7190781e64edda5edf0f7297 (diff)
downloadbionic-d286796fce1e6fff407b719a53eb2afbeb96c327.zip
bionic-d286796fce1e6fff407b719a53eb2afbeb96c327.tar.gz
bionic-d286796fce1e6fff407b719a53eb2afbeb96c327.tar.bz2
Turn on -Wunused and fix the mistakes it uncovers.
Change-Id: I023d2d8b547fbc21d4124bb7510d42b06a0dc501
Diffstat (limited to 'libc/bionic/libc_init_dynamic.cpp')
-rw-r--r--libc/bionic/libc_init_dynamic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/bionic/libc_init_dynamic.cpp b/libc/bionic/libc_init_dynamic.cpp
index 659cf39..7c46364 100644
--- a/libc/bionic/libc_init_dynamic.cpp
+++ b/libc/bionic/libc_init_dynamic.cpp
@@ -94,7 +94,7 @@ __LIBC_HIDDEN__ void __libc_postfini() {
// Note that the dynamic linker has also run all constructors in the
// executable at this point.
__noreturn void __libc_init(void* raw_args,
- void (*onexit)(void),
+ void (*onexit)(void) __unused,
int (*slingshot)(int, char**, char**),
structors_array_t const * const structors) {