summaryrefslogtreecommitdiff
path: root/src/bin/evas/evas_cserve2_slaves.c
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2012-11-10 11:35:42 +0000
committerChunEon Park <hermet@hermet.pe.kr>2012-11-10 11:35:42 +0000
commit0d8488a4783a98e0341c739f762f76c30ab5153c (patch)
treeaea7a49d781a4755ed60bef92f15802a07bbfa0a /src/bin/evas/evas_cserve2_slaves.c
parent7ae9a85094630c11bd9dfa72f9f92d3437d37f64 (diff)
evas/jpeg, cserve2 - removed unused
SVN revision: 79094
Diffstat (limited to 'src/bin/evas/evas_cserve2_slaves.c')
-rw-r--r--src/bin/evas/evas_cserve2_slaves.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/bin/evas/evas_cserve2_slaves.c b/src/bin/evas/evas_cserve2_slaves.c
index 92f04e29e0..f0eed76fe9 100644
--- a/src/bin/evas/evas_cserve2_slaves.c
+++ b/src/bin/evas/evas_cserve2_slaves.c
@@ -320,7 +320,6 @@ static const char *
320_slave_proc_path_get(const char *name) 320_slave_proc_path_get(const char *name)
321{ 321{
322 char buf[PATH_MAX], cwd[PATH_MAX]; 322 char buf[PATH_MAX], cwd[PATH_MAX];
323 char *ret;
324 323
325 if (name[0] == '/') 324 if (name[0] == '/')
326 { 325 {
@@ -329,7 +328,7 @@ _slave_proc_path_get(const char *name)
329 return eina_stringshare_add(name); 328 return eina_stringshare_add(name);
330 } 329 }
331 330
332 ret = getcwd(cwd, sizeof(cwd)); 331 getcwd(cwd, sizeof(cwd));
333 snprintf(buf, sizeof(buf), "%s/%s", cwd, name); 332 snprintf(buf, sizeof(buf), "%s/%s", cwd, name);
334 if (!access(buf, X_OK)) 333 if (!access(buf, X_OK))
335 return eina_stringshare_add(buf); 334 return eina_stringshare_add(buf);
@@ -454,7 +453,6 @@ static void *
454_slave_thread_cb(void *data) 453_slave_thread_cb(void *data)
455{ 454{
456 ssize_t n; 455 ssize_t n;
457 int ret;
458 Slave_Command cmd; 456 Slave_Command cmd;
459 457
460 Slave_Thread_Data *sd = data; 458 Slave_Thread_Data *sd = data;
@@ -477,7 +475,7 @@ _slave_thread_cb(void *data)
477 continue; 475 continue;
478 } 476 }
479 sd->cmdanswer = sd->cb(sd, &cmd, sd->cmddata, sd->cb_data); 477 sd->cmdanswer = sd->cb(sd, &cmd, sd->cmddata, sd->cb_data);
480 ret = write(sd->write_fd, &cmd, sizeof(cmd)); 478 write(sd->write_fd, &cmd, sizeof(cmd));
481 479
482 n = read(sd->read_fd, &cmd, sizeof(cmd)); 480 n = read(sd->read_fd, &cmd, sizeof(cmd));
483 } 481 }