]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove unused variable
authorAlan T. DeKok <aland@freeradius.org>
Wed, 19 Apr 2017 17:02:51 +0000 (13:02 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 19 Apr 2017 17:02:51 +0000 (13:02 -0400)
src/main/unlang_compile.c

index d526f59e742803d123edd6084344ed9851b3db5e..8e99684e3c95e074034f64cadac066958002aa5a 100644 (file)
@@ -2397,7 +2397,6 @@ static unlang_t *compile_redundant(unlang_t *parent, unlang_compile_t *unlang_ct
 {
        char const *name2;
        unlang_t *c;
-       unlang_group_t *g;
 
        /*
         *      No children?  Die!
@@ -2414,8 +2413,6 @@ static unlang_t *compile_redundant(unlang_t *parent, unlang_compile_t *unlang_ct
        c = compile_group(parent, unlang_ctx, cs, group_type, parentgroup_type, mod_type);
        if (!c) return NULL;
 
-       g = unlang_generic_to_group(c);
-
        /*
         *      "redundant" is just "group" with different default actions.
         *