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 <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-07-02 09:54:30 +01:00
parent 292d23321c
commit 03448524ab
1 changed files with 5 additions and 4 deletions

View File

@ -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);