diff options
author | Anatol Belski <ab@php.net> | 2013-12-17 08:44:22 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2013-12-17 08:44:22 +0100 |
commit | 2303d0ea2257ecb9f06d19c4a62c4909a4cfdfa0 (patch) | |
tree | e504d4818c9d03a9b2983eec71a1fcf896bfd4e7 | |
parent | cbcf6e1880e35ed7cd052e127b037eee7cef61c9 (diff) | |
download | php-git-2303d0ea2257ecb9f06d19c4a62c4909a4cfdfa0.tar.gz |
fixed possibly uninitialized value usage
-rw-r--r-- | ext/pdo_odbc/odbc_stmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_odbc/odbc_stmt.c b/ext/pdo_odbc/odbc_stmt.c index 0e3fd3cbb9..89b67210c5 100644 --- a/ext/pdo_odbc/odbc_stmt.c +++ b/ext/pdo_odbc/odbc_stmt.c @@ -472,7 +472,7 @@ static int odbc_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *p if (P->outbuf) { unsigned long ulen; char *srcbuf; - unsigned long srclen; + unsigned long srclen = 0; switch (P->len) { case SQL_NULL_DATA: |