From 2145779c871d4a9f632a8afbfc2adc5bea185a45 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 4 Feb 2015 10:19:50 -0800 Subject: [PATCH] Fix clang "ueventd.cpp:111:1: error: no return statement in function returning non-void". Change-Id: I69c9e5534975bffa0fbf98ca4af50400f6b94aa0 --- init/ueventd.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init/ueventd.cpp b/init/ueventd.cpp index 833e4fd0c..86621cd19 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)