From: discomfitor Date: Wed, 27 Oct 2010 20:34:36 +0000 (+0000) Subject: fix some warnings with --disable-curl X-Git-Tag: build/2012-07-04.173327~1559 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e7d15544e7723d39a8e89c8158717a5d7532883b;p=profile%2Fivi%2Fecore.git fix some warnings with --disable-curl git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@53935 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/ecore_file/ecore_file_download.c b/src/lib/ecore_file/ecore_file_download.c index aa4b6a1..86b75f8 100644 --- a/src/lib/ecore_file/ecore_file_download.c +++ b/src/lib/ecore_file/ecore_file_download.c @@ -153,6 +153,15 @@ ecore_file_download(const char *url, if(job_ret) *job_ret = job; return job ? EINA_TRUE : EINA_FALSE; } +# else + else if ((!strncmp(url, "http://", 7)) || + (!strncmp(url, "ftp://", 6))) + { + (void)completion_cb; + (void)progress_cb; + (void)data; + (void)job_ret; + } # endif else {