CCL: fix uninit local var (attset)
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 10 Sep 2012 11:22:11 +0000 (13:22 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 10 Sep 2012 11:22:11 +0000 (13:22 +0200)
src/cclfind.c

index f7903fe..12dca79 100644 (file)
@@ -462,6 +462,7 @@ static struct ccl_rpn_node *search_term_x(CCL_parser cclp,
                     }
                 }
         }
                     }
                 }
         }
+        attset = 0;
         if (structure_value == -1 && (
                 auto_group || 
                 qual_val_type(qa, CCL_BIB1_STR, CCL_BIB1_STR_WP, &attset))
         if (structure_value == -1 && (
                 auto_group || 
                 qual_val_type(qa, CCL_BIB1_STR, CCL_BIB1_STR_WP, &attset))