Coverity error handling 87/175087/4 submit/tizen/20180420.020451 submit/tizen/20180504.040752
authorsurya.kumar7 <surya.kumar7@samsung.com>
Fri, 6 Apr 2018 14:35:20 +0000 (20:05 +0530)
committerjaekuk lee <juku1999@samsung.com>
Mon, 16 Apr 2018 10:40:02 +0000 (10:40 +0000)
Preload function is of type std::function<void(void)> and should not return
a bool value

Coverity: 108784

Change-Id: Ia4f7c601cf1692c347eab2d83f6936b497e14f70
Signed-off-by: surya.kumar7 <surya.kumar7@samsung.com>
runtime/browser/runtime_process.cc

index e397c27..bd6b22b 100755 (executable)
@@ -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[] = {