summaryrefslogtreecommitdiff
path: root/src/bin/edje/edje_decc.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-12-13 20:03:14 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-12-13 21:26:05 +0900
commite8c8f0b876322b15480de771c3995cd0228d251b (patch)
tree839ed52c33f53539f3aace7b9adb7f7a1bf60f32 /src/bin/edje/edje_decc.c
parent75fbf9e03a4b163091f7cb4e1ddac26bc241f42b (diff)
edje_decc - fix possible use of uninitialized string
this should fix CID 1039553
Diffstat (limited to 'src/bin/edje/edje_decc.c')
-rw-r--r--src/bin/edje/edje_decc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/edje/edje_decc.c b/src/bin/edje/edje_decc.c
index 1cbaf29202..d85fb05808 100644
--- a/src/bin/edje/edje_decc.c
+++ b/src/bin/edje/edje_decc.c
@@ -447,6 +447,9 @@ output(void)
447 fprintf(f, "%s $@ -id . -fd . %s -o %s.edj\n", 447 fprintf(f, "%s $@ -id . -fd . %s -o %s.edj\n",
448 edje_file->compiler, sf->name, outdir); 448 edje_file->compiler, sf->name, outdir);
449 fclose(f); 449 fclose(f);
450 chmod(out,
451 S_IRUSR | S_IWUSR | S_IXUSR |
452 S_IRGRP | S_IWGRP | S_IXGRP);
450 } 453 }
451 454
452 WRN("*** CAUTION ***\n" 455 WRN("*** CAUTION ***\n"
@@ -463,8 +466,6 @@ output(void)
463 } 466 }
464 } 467 }
465 468
466 chmod(out, S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IWGRP | S_IXGRP);
467
468 } 469 }
469 470
470 if (edje_file->sound_dir) 471 if (edje_file->sound_dir)