summaryrefslogtreecommitdiff
path: root/src/lib/ecore_file/ecore_file_download.c
diff options
context:
space:
mode:
authorSanjeev BA <iamsanjeev@gmail.com>2013-01-30 00:27:28 +0000
committerSanjeev BA <iamsanjeev@gmail.com>2013-01-30 00:27:28 +0000
commit7b55dc51359521d7451535483ae1ffd31905f36a (patch)
tree7652026fe722fece83ac341eb37088e0fc82bedc /src/lib/ecore_file/ecore_file_download.c
parentd9e05b1b40f9d6e7b404d5a728d3f19901c18446 (diff)
Remove redundant return statement.
Signed-off-by: Sanjeev BA <iamsanjeev@gmail.com> SVN revision: 83454
Diffstat (limited to 'src/lib/ecore_file/ecore_file_download.c')
-rw-r--r--src/lib/ecore_file/ecore_file_download.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/ecore_file/ecore_file_download.c b/src/lib/ecore_file/ecore_file_download.c
index 028276407c..9c80c2b159 100644
--- a/src/lib/ecore_file/ecore_file_download.c
+++ b/src/lib/ecore_file/ecore_file_download.c
@@ -136,7 +136,7 @@ _ecore_file_download(const char *url,
136 /* download */ 136 /* download */
137 Ecore_File_Download_Job *job; 137 Ecore_File_Download_Job *job;
138 138
139 job = _ecore_file_download_curl(url, dst, completion_cb, progress_cb, data, headers); 139 job = _ecore_file_download_curl(url, dst, completion_cb, progress_cb, data, headers);
140 if(job_ret) *job_ret = job; 140 if(job_ret) *job_ret = job;
141 if(job) 141 if(job)
142 return EINA_TRUE; 142 return EINA_TRUE;
@@ -145,7 +145,6 @@ _ecore_file_download(const char *url,
145 ERR("no job returned\n"); 145 ERR("no job returned\n");
146 return EINA_FALSE; 146 return EINA_FALSE;
147 } 147 }
148 return job ? EINA_TRUE : EINA_FALSE;
149 } 148 }
150#else 149#else
151 else if ((!strncmp(url, "http://", 7)) || (!strncmp(url, "https://", 8)) || 150 else if ((!strncmp(url, "http://", 7)) || (!strncmp(url, "https://", 8)) ||