Navigation Menu

Skip to content

Commit

Permalink
should initialize |flags| in test_expr_snip()
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryo Onodera committed Oct 9, 2009
1 parent 14105e7 commit dcc0634
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/core/test-expr.c
Expand Up @@ -1177,7 +1177,7 @@ test_expr_snip(void)

{
grn_snip *snip;
int flags;
int flags = 0;
unsigned int width, max_results;
const char *open_tags[] = {"[[", "<"};
const char *close_tags[] = {"]]", ">"};
Expand Down Expand Up @@ -1249,7 +1249,7 @@ test_expr_snip_without_tags(void)

{
grn_snip *snip;
int flags;
int flags = 0;
unsigned int width, max_results;
unsigned int n_results;
unsigned int max_tagged_len;
Expand Down

0 comments on commit dcc0634

Please sign in to comment.