forked from github/server
CID 173898 'Constant' variable guards dead code
This commit is contained in:
parent
fd27534132
commit
30777e5948
1 changed files with 4 additions and 0 deletions
|
@ -277,6 +277,10 @@ int gift_items(unit * u, int flags)
|
||||||
u->items = NULL;
|
u->items = NULL;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
else if (!u3) {
|
||||||
|
/* pick a last-chance recipient: */
|
||||||
|
u3 = u2;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (u->items && u3) {
|
if (u->items && u3) {
|
||||||
|
|
Loading…
Reference in a new issue