diff options
author | Christopher Jones <sixd@php.net> | 2013-08-20 13:36:18 -0700 |
---|---|---|
committer | Christopher Jones <sixd@php.net> | 2013-08-20 13:36:18 -0700 |
commit | e9b12bedc331631cbcc8605972325ca41ec50f01 (patch) | |
tree | e4a03445d4367f0cdb665b7fa72b5b856b278b55 /ext/pdo/pdo_stmt.c | |
parent | 9c9fee3f43024a674c98782681ea4caf7fa00574 (diff) | |
download | php-git-e9b12bedc331631cbcc8605972325ca41ec50f01.tar.gz |
Quash compile warning "warning: 'flags' may be used uninitialized in this function"
Diffstat (limited to 'ext/pdo/pdo_stmt.c')
-rw-r--r-- | ext/pdo/pdo_stmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c index a469d09fc2..81224ab51a 100644 --- a/ext/pdo/pdo_stmt.c +++ b/ext/pdo/pdo_stmt.c @@ -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; |