examples: eio: remove unused variable
authorStefan Schmidt <stefan@osg.samsung.com>
Mon, 6 Jun 2016 13:18:46 +0000 (15:18 +0200)
committerStefan Schmidt <stefan@osg.samsung.com>
Mon, 6 Jun 2016 13:43:15 +0000 (15:43 +0200)
src/examples/eio/eio_job_open.c

index 9977243..f31491b 100644 (file)
@@ -51,8 +51,6 @@ void done_open_cb(void *data, void* value)
 
 void open_file(const char *path)
 {
-    Eina_Promise *promise;
-
     Eio_Job *job = eo_add(EIO_JOB_CLASS, NULL);
     eina_promise_then(eio_job_file_open(job, path, EINA_FALSE), &done_open_cb, &error_cb, job);