remove redundant condition on adj_pit_checks()

supporting is never null, as outer if statement checks it.
This commit is contained in:
SHIRAKATA Kentaro
2022-04-20 00:00:46 -07:00
committed by PatR
parent d6ab241b8c
commit 949c30dffa
+2 -3
View File
@@ -1667,9 +1667,8 @@ adj_pit_checks(coord *cc, char *msg)
supporting = "drawbridge";
if (supporting) {
Sprintf(msg, "The %s%ssupporting structures remain intact.",
supporting ? s_suffix(supporting) : "",
supporting ? " " : "");
Sprintf(msg, "The %s supporting structures remain intact.",
s_suffix(supporting));
return FALSE;
}
}