diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2013-12-13 20:03:14 +0900 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2013-12-13 21:26:05 +0900 |
commit | e8c8f0b876322b15480de771c3995cd0228d251b (patch) | |
tree | 839ed52c33f53539f3aace7b9adb7f7a1bf60f32 | |
parent | 75fbf9e03a4b163091f7cb4e1ddac26bc241f42b (diff) |
edje_decc - fix possible use of uninitialized string
this should fix CID 1039553
-rw-r--r-- | src/bin/edje/edje_decc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/edje/edje_decc.c b/src/bin/edje/edje_decc.c index 1cbaf2920..d85fb0580 100644 --- a/src/bin/edje/edje_decc.c +++ b/src/bin/edje/edje_decc.c @@ -447,6 +447,9 @@ output(void) fprintf(f, "%s $@ -id . -fd . %s -o %s.edj\n", edje_file->compiler, sf->name, outdir); fclose(f); + chmod(out, + S_IRUSR | S_IWUSR | S_IXUSR | + S_IRGRP | S_IWGRP | S_IXGRP); } WRN("*** CAUTION ***\n" @@ -463,8 +466,6 @@ output(void) } } - chmod(out, S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IWGRP | S_IXGRP); - } if (edje_file->sound_dir) |