Fixed compilation warnings 49/4349/1
authorJimmy Huang <jimmy.huang@intel.com>
Thu, 27 Jun 2013 21:38:24 +0000 (14:38 -0700)
committerJimmy Huang <jimmy.huang@intel.com>
Thu, 27 Jun 2013 21:38:24 +0000 (14:38 -0700)
Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
dialer/main.c
utils/ofono.c

index f3a4713..abd2c5c 100644 (file)
@@ -92,6 +92,7 @@ static int _terminate(void *data __UNUSED__)
 EAPI int elm_main(int argc, char **argv)
 {
        int args;
+       int iReturn = 0;
        char *modem_path = NULL;
        char *modem_api = NULL;
        char *modem_type = NULL;
@@ -220,7 +221,7 @@ EAPI int elm_main(int argc, char **argv)
        };
        ops.data = NULL;
        //elm_run();
-       int iReturn = appcore_efl_main("org.tizen.dialer", &argc, &argv, &ops);
+       iReturn = appcore_efl_main("org.tizen.dialer", &argc, &argv, &ops);
        INF("Quit main loop");
 
        gui_shutdown();
index 789f71b..b638a67 100644 (file)
@@ -2328,7 +2328,7 @@ static OFono_Pending *_ofono_modem_property_set(char *property,
        }
 
        if (!m)
-               return;
+               return NULL;
 
        char type_to_send[2] = { type , DBUS_TYPE_INVALID };