Remove unused variable
authorAlan T. DeKok <aland@freeradius.org>
Sun, 17 Feb 2013 18:17:59 +0000 (13:17 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 17 Feb 2013 18:23:00 +0000 (13:23 -0500)
src/modules/rlm_preprocess/rlm_preprocess.c

index f2e0078..5ef2f17 100644 (file)
@@ -145,12 +145,11 @@ static void cisco_vsa_hack(VALUE_PAIR *vp)
                 */
                if (vp->da->attr == 1) {
                        const char *p;
-                       const DICT_ATTR *dattr;
 
                        p = vp->vp_strvalue;
                        gettoken(&p, newattr, sizeof(newattr));
 
-                       if ((dattr = dict_attrbyname(newattr)) != NULL) {
+                       if (dict_attrbyname(newattr) != NULL) {
                                VALUE_PAIR *newvp;
 
                                /*