aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@free.fr>2013-03-17 01:39:50 +0100
committerChris Michael <cp.michael@samsung.com>2013-03-26 08:53:31 +0000
commitbc63cc49ba6ef4ece1fed7de0a895710d5d62661 (patch)
tree0746be946b55e4d6424f48e7353c6f6d12644165
parentecore: another needed virtual destructor. (diff)
downloadefl-bc63cc49ba6ef4ece1fed7de0a895710d5d62661.tar.gz
ecore_con: fix warnings when curl is not available.
-rw-r--r--src/lib/ecore_con/ecore_con_url.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/ecore_con/ecore_con_url.c b/src/lib/ecore_con/ecore_con_url.c
index 467f3f113b..f427138571 100644
--- a/src/lib/ecore_con/ecore_con_url.c
+++ b/src/lib/ecore_con/ecore_con_url.c
@@ -261,7 +261,7 @@ ecore_con_url_new(const char *url)
return url_con;
#else
return NULL;
- url = NULL;
+ (void)url;
#endif
}
@@ -296,8 +296,8 @@ ecore_con_url_custom_new(const char *url,
return url_con;
#else
return NULL;
- url = NULL;
- custom_request = NULL;
+ (void)url;
+ (void)custom_request;
#endif
}
@@ -427,8 +427,8 @@ ecore_con_url_data_set(Ecore_Con_Url *url_con, void *data)
url_con->data = data;
#else
return;
- url_con = NULL;
- data = NULL;
+ (void)url_con;
+ (void)data;
#endif
}
@@ -456,9 +456,9 @@ ecore_con_url_additional_header_add(Ecore_Con_Url *url_con, const char *key, con
tmp);
#else
return;
- url_con = NULL;
- key = NULL;
- value = NULL;
+ (void)url_con;
+ (void)key;
+ (void)value;
#endif
}
@@ -479,7 +479,7 @@ ecore_con_url_additional_headers_clear(Ecore_Con_Url *url_con)
free(s);
#else
return;
- url_con = NULL;
+ (void)url_con;
#endif
}
@@ -496,7 +496,7 @@ ecore_con_url_data_get(Ecore_Con_Url *url_con)
return url_con->data;
#else
return NULL;
- url_con = NULL;
+ (void)url_con;
#endif
}