diff options
author | Ziyan <jaraidaniel@gmail.com> | 2016-09-15 20:27:43 +0200 |
---|---|---|
committer | Andreas Blaesius <skate4life@gmx.de> | 2016-09-26 19:55:06 +0200 |
commit | 15de767dbd529fdb9e65326dd7df0872386745cd (patch) | |
tree | ebebc0780c237ef26852a1342ebf84288b64750a /libsensors/orientationd | |
parent | c2921845fd350d5fa0e1709a3b4100290bbaf7ef (diff) | |
download | device_samsung_espressowifi-15de767dbd529fdb9e65326dd7df0872386745cd.zip device_samsung_espressowifi-15de767dbd529fdb9e65326dd7df0872386745cd.tar.gz device_samsung_espressowifi-15de767dbd529fdb9e65326dd7df0872386745cd.tar.bz2 |
libsensors: fix build with clang
Change-Id: I92bd8e7604df00b89d0984f932e609e6b0de2eff
Diffstat (limited to 'libsensors/orientationd')
-rw-r--r-- | libsensors/orientationd/orientationd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libsensors/orientationd/orientationd.c b/libsensors/orientationd/orientationd.c index 8c7fc79..5e87829 100644 --- a/libsensors/orientationd/orientationd.c +++ b/libsensors/orientationd/orientationd.c @@ -152,8 +152,6 @@ int orientation_get_data(struct orientationd_data *data) { struct input_event input_event; int input_fd; - int activated; - unsigned int delay; int rc; if (data == NULL) @@ -234,7 +232,7 @@ complete: return rc; } -int main(int argc, char *argv[]) +int main(int argc __unused, char *argv[] __unused) { struct orientationd_data *orientationd_data = NULL; pthread_attr_t thread_attr; |