forked from github/server
coverity scan CID 22454 (logically dead code)
This commit is contained in:
parent
0328e84c6c
commit
6cccdec4a2
|
@ -1578,7 +1578,7 @@ show_allies(const faction * f, const ally * allies, char *buf, size_t size)
|
||||||
WARN_STATIC_BUFFER();
|
WARN_STATIC_BUFFER();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
for (h = 1; h < HELP_ALL; h *= 2) {
|
for (h = 1; h <= HELP_TRAVEL; h *= 2) {
|
||||||
int p = MAXPARAMS;
|
int p = MAXPARAMS;
|
||||||
if ((mode & h) == h) {
|
if ((mode & h) == h) {
|
||||||
switch (h) {
|
switch (h) {
|
||||||
|
|
Loading…
Reference in New Issue