summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorTor Didriksen <tor.didriksen@oracle.com>2012-01-12 16:27:53 +0100
committerTor Didriksen <tor.didriksen@oracle.com>2012-01-12 16:27:53 +0100
commit72bdeddd34135b63635427e6c99655ea2022892f (patch)
tree66e911caedb0c087685c1b075bd797f74bb97f89 /client
parent529b0f64c241785e25881b3f4e80719c9cd66268 (diff)
downloadmariadb-git-72bdeddd34135b63635427e6c99655ea2022892f.tar.gz
fix compile warning: may be used uninitialized
Diffstat (limited to 'client')
-rw-r--r--client/mysqldump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index 8ab7d2186f0..05f3579b2c6 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -1854,7 +1854,7 @@ static void print_xml_row(FILE *xml_file, const char *row_name,
{
uint i;
my_bool body_found= 0;
- char *create_stmt_ptr;
+ char *create_stmt_ptr= NULL;
ulong create_stmt_len= 0;
MYSQL_FIELD *field;
ulong *lengths= mysql_fetch_lengths(tableRes);