Skip to content

Commit 89c4aba

Browse files
committed
Merge branch 'PHP-5.5'
* PHP-5.5: Quash compile warning "warning: 'flags' may be used uninitialized in this function"
2 parents 92b946b + 268c288 commit 89c4aba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pdo/pdo_stmt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1876,7 +1876,7 @@ static PHP_METHOD(PDOStatement, getColumnMeta)
18761876
int pdo_stmt_setup_fetch_mode(INTERNAL_FUNCTION_PARAMETERS, pdo_stmt_t *stmt, int skip)
18771877
{
18781878
long mode = PDO_FETCH_BOTH;
1879-
int flags, argc = ZEND_NUM_ARGS() - skip;
1879+
int flags = 0, argc = ZEND_NUM_ARGS() - skip;
18801880
zval ***args;
18811881
zend_class_entry **cep;
18821882
int retval;

0 commit comments

Comments
 (0)