aboutsummaryrefslogtreecommitdiffstats
path: root/libsensors/orientationd/orientationd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libsensors/orientationd/orientationd.c')
-rw-r--r--libsensors/orientationd/orientationd.c4
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;