From 4bf74c90bdaa4ec2e5474d8438e1535998e69bd1 Mon Sep 17 00:00:00 2001 From: Jimmy Huang Date: Thu, 27 Jun 2013 14:38:24 -0700 Subject: [PATCH] Fixed compilation warnings Signed-off-by: Jimmy Huang --- dialer/main.c | 3 ++- utils/ofono.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dialer/main.c b/dialer/main.c index f3a4713..abd2c5c 100644 --- a/dialer/main.c +++ b/dialer/main.c @@ -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(); diff --git a/utils/ofono.c b/utils/ofono.c index 789f71b..b638a67 100644 --- a/utils/ofono.c +++ b/utils/ofono.c @@ -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 }; -- 2.7.4