From: Chris Michael Date: Tue, 2 Jul 2013 08:54:30 +0000 (+0100) Subject: Don't try to print out how many bytes we write to an eet file Unless X-Git-Tag: submit/devel/efl/20131022.203902~500 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=03448524ababb0768e33930fead549de3619cb4b;p=platform%2Fupstream%2Fefl.git Don't try to print out how many bytes we write to an eet file Unless we actually write something. NB: Fixes klockwork issue. Signed-off-by: Chris Michael --- diff --git a/src/bin/edje/edje_pick.c b/src/bin/edje/edje_pick.c index ad2208c..e1dfb46 100644 --- a/src/bin/edje/edje_pick.c +++ b/src/bin/edje/edje_pick.c @@ -1348,10 +1348,11 @@ main(int argc, char **argv) /* Write file header after processing all groups */ if (out_file) - bytes = eet_data_write(out_file->ef, _edje_edd_edje_file, "edje/file", - out_file, comp_mode); - - VERBOSE(EINA_LOG_INFO("Wrote <%d> bytes for file header.\n", bytes)); + { + bytes = eet_data_write(out_file->ef, _edje_edd_edje_file, "edje/file", + out_file, comp_mode); + VERBOSE(EINA_LOG_INFO("Wrote <%d> bytes for file header.\n", bytes)); + } eina_list_free(images); eina_list_free(samples);