Skip to content

Commit

Permalink
‘regexp_length’ may be used uninitialized in this function
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed Aug 1, 2013
1 parent 328d88e commit 634c1f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/kernel/framework/router.c
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ void phalcon_extract_named_params(zval *return_value, zval *str, zval *matches){

unsigned int i, j, k, bracket_count = 0, parentheses_count = 0, ch;
unsigned int intermediate = 0, length, number_matches = 0, found_pattern;
int variable_length, regexp_length, not_valid;
int variable_length, regexp_length = 0, not_valid;
char *cursor, *cursor_var, *marker;
char *item, *variable = NULL, *regexp;
smart_str route_str = {0};
Expand Down

0 comments on commit 634c1f6

Please sign in to comment.