From 76a395e73d6a555530c385bdc6584b91942d3c41 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Sun, 28 Jun 2009 12:41:51 +0000 Subject: [PATCH] - fix build --- ext/mysqlnd/mysqlnd_wireprotocol.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.c b/ext/mysqlnd/mysqlnd_wireprotocol.c index a7bf808d63..31a188a99f 100644 --- a/ext/mysqlnd/mysqlnd_wireprotocol.c +++ b/ext/mysqlnd/mysqlnd_wireprotocol.c @@ -25,6 +25,7 @@ #include "mysqlnd_statistics.h" #include "mysqlnd_palloc.h" #include "mysqlnd_debug.h" +#include "mysqlnd/mysqlnd_block_alloc.h" #include "ext/standard/sha1.h" #include "php_network.h" #include "zend_ini.h" @@ -1473,7 +1474,7 @@ void php_mysqlnd_rowp_read_text_protocol(MYSQLND_MEMORY_POOL_CHUNK * row_buffer, end_field = (current_field = start_field = fields) + field_count; for (i = 0; current_field < end_field; current_field++, i++) { /* Don't reverse the order. It is significant!*/ - void *obj; + void *obj = NULL; zend_bool allocated = TRUE; zend_uchar *this_field_len_pos = p; /* php_mysqlnd_net_field_length() call should be after *this_field_len_pos = p; */ -- 2.50.1