From 10e9a1af00023cd085d3c8794d9c8165ec53a9ba Mon Sep 17 00:00:00 2001 From: "surya.kumar7" Date: Fri, 6 Apr 2018 20:05:20 +0530 Subject: [PATCH] Coverity error handling Preload function is of type std::function and should not return a bool value Coverity: 108784 Change-Id: Ia4f7c601cf1692c347eab2d83f6936b497e14f70 Signed-off-by: surya.kumar7 --- runtime/browser/runtime_process.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/browser/runtime_process.cc b/runtime/browser/runtime_process.cc index e397c27c1..bd6b22bb4 100755 --- a/runtime/browser/runtime_process.cc +++ b/runtime/browser/runtime_process.cc @@ -154,7 +154,7 @@ int main(int argc, char* argv[]) { LOGGER(DEBUG) << "run with wrt-loader"; if (!ewk_init()) { LOGGER(ERROR) << "could not init ewk"; - return false; + return; } g_prelaunch = true; char* chromium_arg_options[] = { -- 2.34.1