- warning fix
authorMichal Matyska <michal.matyska@iptel.org>
Tue, 11 Sep 2007 15:20:02 +0000 (15:20 +0000)
committerMichal Matyska <michal.matyska@iptel.org>
Tue, 11 Sep 2007 15:20:02 +0000 (15:20 +0000)
route.c

diff --git a/route.c b/route.c
index d963d72..045389a 100644 (file)
--- a/route.c
+++ b/route.c
@@ -708,6 +708,7 @@ inline static int comp_string(int op, char* left, int rtype, union exp_op* r)
        char* right;
 
        ret=-1;
+       right=0;
        if (rtype == AVP_ST) {
                avp = search_avp_by_index(r->attr->type, r->attr->name, &val, r->attr->index);
                if (avp && (avp->flags & AVP_VAL_STR)) right = val.s.s;