summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdwin Vane2012-07-26 14:26:46 -0500
committerEdwin Vane2012-08-02 09:40:12 -0500
commit62f9ffac1aa4809c0acd29dc4c4872a3b4da2062 (patch)
treeccd96bf7af4ac971b32dda57aac0a0f213c8bc98 /libsuspend
parenta5db95da3801cd82df80c41996b1e6f69a9acecf (diff)
downloadplatform-system-core-62f9ffac1aa4809c0acd29dc4c4872a3b4da2062.tar.gz
platform-system-core-62f9ffac1aa4809c0acd29dc4c4872a3b4da2062.tar.xz
platform-system-core-62f9ffac1aa4809c0acd29dc4c4872a3b4da2062.zip
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 <edwin.vane@intel.com> Reviewed-by: Kevin P Schoedel <kevin.p.schoedel@intel.com>
Diffstat (limited to 'libsuspend')
-rw-r--r--libsuspend/autosuspend_wakeup_count.c2
1 files changed, 1 insertions, 1 deletions
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;
38static sem_t suspend_lockout; 38static sem_t suspend_lockout;
39static const char *sleep_state = "mem"; 39static const char *sleep_state = "mem";
40 40
41static void *suspend_thread_func(void *arg) 41static void *suspend_thread_func(void *arg __attribute__((unused)))
42{ 42{
43 char buf[80]; 43 char buf[80];
44 char wakeup_count[20]; 44 char wakeup_count[20];