From a770d8ced28e55945083f4bb71835091e2a2bfe0 Mon Sep 17 00:00:00 2001 From: marko <> Date: Mon, 3 Apr 2006 11:29:59 +0000 Subject: [PATCH] sym_tab_add_bound_lit(): Remove warning about possibly uninitialized 'len'. --- pars/pars0sym.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pars/pars0sym.c b/pars/pars0sym.c index 4b5b9866eee..784628b94ad 100644 --- a/pars/pars0sym.c +++ b/pars/pars0sym.c @@ -179,7 +179,7 @@ sym_tab_add_bound_lit( { sym_node_t* node; pars_bound_lit_t* blit; - ulint len; + ulint len = 0; blit = pars_info_get_bound_lit(sym_tab->info, name); ut_a(blit); @@ -202,12 +202,10 @@ sym_tab_add_bound_lit( break; case DATA_BLOB: - len = 0; *lit_type = PARS_BLOB_LIT; break; case DATA_VARCHAR: - len = 0; *lit_type = PARS_STR_LIT; break; -- 2.30.9