Remove some redundant parenthesis; no functional change.

This commit is contained in:
Markus Armbruster 2005-07-23 19:48:35 +00:00
parent 4861f837fb
commit 380b063f9c
41 changed files with 134 additions and 134 deletions

View file

@ -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;
}