summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2013-12-17 08:44:22 +0100
committerAnatol Belski <ab@php.net>2013-12-17 08:44:22 +0100
commit2303d0ea2257ecb9f06d19c4a62c4909a4cfdfa0 (patch)
treee504d4818c9d03a9b2983eec71a1fcf896bfd4e7
parentcbcf6e1880e35ed7cd052e127b037eee7cef61c9 (diff)
downloadphp-git-2303d0ea2257ecb9f06d19c4a62c4909a4cfdfa0.tar.gz
fixed possibly uninitialized value usage
-rw-r--r--ext/pdo_odbc/odbc_stmt.c2
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: