Put parantheses into 'if (foo && bar & flag)'. While they are not strictly

needed, they are useful for the human reader.
This commit is contained in:
Hartmut Brandt 2005-04-05 08:14:40 +00:00
parent d265c4e11a
commit 683f92e306

View File

@ -1500,9 +1500,9 @@ JobStart(GNode *gn, int flags, Job *previous)
/*
* Check the commands now so any attributes from .DEFAULT have a chance
* to migrate to the node. XXXHB: missing parantheses below?
* to migrate to the node.
*/
if (!compatMake && job->flags & JOB_FIRST) {
if (!compatMake && (job->flags & JOB_FIRST)) {
cmdsOK = Job_CheckCommands(gn, Error);
} else {
cmdsOK = TRUE;