projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85c8ad0
)
Fix compiler warnings
author
Alan T. DeKok
<aland@freeradius.org>
Sun, 1 Jan 2012 15:23:33 +0000
(10:23 -0500)
committer
Alan T. DeKok
<aland@freeradius.org>
Sun, 1 Jan 2012 15:23:33 +0000
(10:23 -0500)
src/modules/rlm_unix/rlm_unix.c
patch
|
blob
|
history
diff --git
a/src/modules/rlm_unix/rlm_unix.c
b/src/modules/rlm_unix/rlm_unix.c
index
bd3784f
..
5c0fe0f
100644
(file)
--- 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;