From 6017b803a91b71f6e340973471aa3d56e4a59d9f Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Fri, 10 Jan 2014 18:45:01 +0900 Subject: [PATCH] edje_cc - remove dead code fixes CID 1132639 --- src/bin/edje/edje_cc_out.c | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c index 632a8bb417..a8bf5dd5a8 100644 --- a/src/bin/edje/edje_cc_out.c +++ b/src/bin/edje/edje_cc_out.c @@ -1105,25 +1105,12 @@ static void data_thread_group(void *data, Ecore_Thread *thread EINA_UNUSED) { Group_Write *gw = data; - int bytes; char buf[PATH_MAX]; - char buf2[PATH_MAX]; snprintf(buf, sizeof(buf), "edje/collections/%i", gw->pc->id); - bytes = eet_data_write(gw->ef, edd_edje_part_collection, buf, gw->pc, - compress_mode); + eet_data_write(gw->ef, edd_edje_part_collection, buf, gw->pc, + compress_mode); return; - if (bytes <= 0) - { - snprintf(buf2, sizeof(buf2), - "Unable to write \"%s\" part entry to %s", - buf, file_out); - gw->errstr = strdup(buf2); - return; - } - - INF("Wrote %9i bytes (%4iKb) for \"%s\" aka \"%s\" collection entry", - bytes, (bytes + 512) / 1024, buf, gw->pc->part); } static void