devilhorns pushed a commit to branch master.
commit 03448524ababb0768e33930fead549de3619cb4b
Author: Chris Michael <[email protected]>
Date: Tue Jul 2 09:54:30 2013 +0100
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 <[email protected]>
---
src/bin/edje/edje_pick.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
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);
--
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev