Remove some redundant parenthesis; no functional change.
This commit is contained in:
parent
4861f837fb
commit
380b063f9c
41 changed files with 134 additions and 134 deletions
|
@ -176,20 +176,20 @@ as_find_cachepath(coord fx, coord fy, coord tx, coord ty)
|
|||
|
||||
/* Is the cache on? if not, return NULL */
|
||||
if (as_cachepath_on == 0)
|
||||
return (NULL);
|
||||
return NULL;
|
||||
|
||||
/* Do we have any cached? */
|
||||
if (fromhead == (struct as_frompath **)0)
|
||||
return (NULL);
|
||||
return NULL;
|
||||
|
||||
/* Yes! */
|
||||
for (from = fromhead[fy]; from; from = from->next) {
|
||||
if (from->x == fx) {
|
||||
for (to = from->tolist[ty]; to; to = to->next) {
|
||||
if (to->x == tx)
|
||||
return (to->path);
|
||||
return to->path;
|
||||
}
|
||||
}
|
||||
}
|
||||
return (NULL);
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue