summaryrefslogtreecommitdiffstats
path: root/init/ueventd.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-02-04 10:19:50 -0800
committerElliott Hughes <enh@google.com>2015-02-04 10:19:50 -0800
commit2145779c871d4a9f632a8afbfc2adc5bea185a45 (patch)
tree6dd58e92388006311eea90cbc53fea2dd8ee9878 /init/ueventd.cpp
parente939e70401c256df18ee614d69c2fbed41e0ad43 (diff)
downloadsystem_core-2145779c871d4a9f632a8afbfc2adc5bea185a45.zip
system_core-2145779c871d4a9f632a8afbfc2adc5bea185a45.tar.gz
system_core-2145779c871d4a9f632a8afbfc2adc5bea185a45.tar.bz2
Fix clang "ueventd.cpp:111:1: error: no return statement in function returning non-void".
Change-Id: I69c9e5534975bffa0fbf98ca4af50400f6b94aa0
Diffstat (limited to 'init/ueventd.cpp')
-rw-r--r--init/ueventd.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/init/ueventd.cpp b/init/ueventd.cpp
index 833e4fd..86621cd 100644
--- a/init/ueventd.cpp
+++ b/init/ueventd.cpp
@@ -108,6 +108,8 @@ int ueventd_main(int argc, char **argv)
if (ufd.revents & POLLIN)
handle_device_fd();
}
+
+ return 0;
}
static int get_android_id(const char *id)