1
0
mirror of https://github.com/php/php-src.git synced 2026-04-19 22:11:12 +02:00

Quash compile warning "warning: 'flags' may be used uninitialized in this function"

This commit is contained in:
Christopher Jones
2013-08-20 13:36:18 -07:00
parent 9c9fee3f43
commit e9b12bedc3

View File

@@ -1876,7 +1876,7 @@ static PHP_METHOD(PDOStatement, getColumnMeta)
int pdo_stmt_setup_fetch_mode(INTERNAL_FUNCTION_PARAMETERS, pdo_stmt_t *stmt, int skip)
{
long mode = PDO_FETCH_BOTH;
int flags, argc = ZEND_NUM_ARGS() - skip;
int flags = 0, argc = ZEND_NUM_ARGS() - skip;
zval ***args;
zend_class_entry **cep;
int retval;