From 21a2313e2a79e066716669e550392620a2458551 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Fri, 30 Oct 2015 15:20:06 +0100 Subject: [PATCH] CID 22517: Parse warning (PW.PARAM_SET_BUT_NOT_USED) --- src/kernel/unit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/kernel/unit.c b/src/kernel/unit.c index ba2543e2b..5e9b39705 100644 --- a/src/kernel/unit.c +++ b/src/kernel/unit.c @@ -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;