edje_decc - fix possible use of uninitialized string

this should fix CID 1039553
This commit is contained in:
Carsten Haitzler 2013-12-13 20:03:14 +09:00
parent 75fbf9e03a
commit e8c8f0b876
1 changed files with 3 additions and 2 deletions

View File

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