forked from github/server
CID 22517: Parse warning (PW.PARAM_SET_BUT_NOT_USED)
This commit is contained in:
parent
a91a0f6a53
commit
21a2313e2a
1 changed files with 2 additions and 1 deletions
|
@ -116,9 +116,10 @@ unit *findunitr(const region * r, int n)
|
|||
return (u && u->region==r)?u:0;
|
||||
}
|
||||
|
||||
// TODO: deprecated, replace with findunit(n)
|
||||
unit *findunitg(int n, const region * hint)
|
||||
{
|
||||
|
||||
unused_arg(hint);
|
||||
/* Abfangen von Syntaxfehlern. */
|
||||
if (n <= 0)
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue