Clarify an ambiguous 'else' introduced by a recent commit.
This commit is contained in:
parent
f3c47f54c6
commit
5e5f382630
@ -550,10 +550,10 @@ void fillin_program(prog_t *p)
|
||||
*/
|
||||
if(!makeobj && !p->objdir && p->srcdir) {
|
||||
snprintf(line, sizeof line, "%s/%s", objprefix, p->realsrcdir);
|
||||
if (is_dir(line))
|
||||
if (is_dir(line)) {
|
||||
if ((p->objdir = strdup(line)) == NULL)
|
||||
out_of_memory();
|
||||
else
|
||||
} else
|
||||
p->objdir = p->realsrcdir;
|
||||
}
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user