remove redundant condition on adj_pit_checks()
supporting is never null, as outer if statement checks it.
This commit is contained in:
@@ -1667,9 +1667,8 @@ adj_pit_checks(coord *cc, char *msg)
|
|||||||
supporting = "drawbridge";
|
supporting = "drawbridge";
|
||||||
|
|
||||||
if (supporting) {
|
if (supporting) {
|
||||||
Sprintf(msg, "The %s%ssupporting structures remain intact.",
|
Sprintf(msg, "The %s supporting structures remain intact.",
|
||||||
supporting ? s_suffix(supporting) : "",
|
s_suffix(supporting));
|
||||||
supporting ? " " : "");
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user