Change the return type of the init function 14/149014/2
authorHwankyu Jhun <h.jhun@samsung.com>
Sun, 10 Sep 2017 07:00:46 +0000 (16:00 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Tue, 12 Sep 2017 07:18:54 +0000 (07:18 +0000)
Change-Id: Ib0541067345149e18d5e7f79f6d47c23843530e1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
adaptors/tizen/framework-tizen.cpp

index f437a92..4fcba81 100644 (file)
@@ -316,7 +316,7 @@ struct Framework::Impl
     return 0;
   }
 
-  static int AppInit(int argc, char **argv, void *data)
+  static void AppInit(int argc, char **argv, void *data)
   {
 #pragma GCC diagnostic push
 #pragma GCC diagnostic ignored "-Wold-style-cast"
@@ -325,7 +325,6 @@ struct Framework::Impl
     ecore_app_args_set( argc, (const char **)argv );
 
 #pragma GCC diagnostic pop
-    return 0;
   }
 
   static void AppFinish(void)