From: Alan T. DeKok Date: Sun, 1 Jan 2012 15:23:33 +0000 (-0500) Subject: Fix compiler warnings X-Git-Tag: release_3_0_0_beta0~424 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93fdfcf9a430598360435ed866315719c3823684;p=thirdparty%2Ffreeradius-server.git Fix compiler warnings --- diff --git a/src/modules/rlm_unix/rlm_unix.c b/src/modules/rlm_unix/rlm_unix.c index bd3784f4a1c..5c0fe0fc327 100644 --- a/src/modules/rlm_unix/rlm_unix.c +++ b/src/modules/rlm_unix/rlm_unix.c @@ -71,16 +71,14 @@ static const CONF_PARSER module_config[] = { /* * The Group = handler. */ -static int groupcmp(void *instance, REQUEST *req, VALUE_PAIR *request, +static int groupcmp(void *instance, REQUEST *req, UNUSED VALUE_PAIR *request, VALUE_PAIR *check, VALUE_PAIR *check_pairs, VALUE_PAIR **reply_pairs) { struct passwd *pwd; struct group *grp; char **member; - char *username; int retval; - VALUE_PAIR *vp; instance = instance; check_pairs = check_pairs;