Set variable to default value.
authorAlan T. DeKok <aland@freeradius.org>
Thu, 14 Aug 2014 11:41:50 +0000 (13:41 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 14 Aug 2014 11:41:50 +0000 (13:41 +0200)
src/lib/valuepair.c

index 4e21fdd..f4f8c8c 100644 (file)
@@ -2477,7 +2477,7 @@ static int paircmp_op_cidr(FR_TOKEN op, int bytes,
  */
 int8_t paircmp_op(VALUE_PAIR const *a, FR_TOKEN op, VALUE_PAIR const *b)
 {
-       int compare;
+       int compare = 0;
 
        if (!a || !b) return -1;