From 62f9ffac1aa4809c0acd29dc4c4872a3b4da2062 Mon Sep 17 00:00:00 2001 From: Edwin Vane Date: Thu, 26 Jul 2012 15:26:46 -0400 Subject: [PATCH] Fix unused param warning libsuspend had only a single warning in the clang build. Fixing it to make the build clean. Change-Id: Iaac5f9144b6e6cb122141c6416056c1b2c9aa98e Author: Edwin Vane Reviewed-by: Kevin P Schoedel --- libsuspend/autosuspend_wakeup_count.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsuspend/autosuspend_wakeup_count.c b/libsuspend/autosuspend_wakeup_count.c index b038e20f5..a88e67700 100644 --- a/libsuspend/autosuspend_wakeup_count.c +++ b/libsuspend/autosuspend_wakeup_count.c @@ -38,7 +38,7 @@ static pthread_t suspend_thread; static sem_t suspend_lockout; static const char *sleep_state = "mem"; -static void *suspend_thread_func(void *arg) +static void *suspend_thread_func(void *arg __attribute__((unused))) { char buf[80]; char wakeup_count[20];