Commit adbda85e authored by marko's avatar marko

sym_tab_add_bound_lit(): Remove warning about possibly uninitialized 'len'.

parent 09ba6e64
...@@ -179,7 +179,7 @@ sym_tab_add_bound_lit( ...@@ -179,7 +179,7 @@ sym_tab_add_bound_lit(
{ {
sym_node_t* node; sym_node_t* node;
pars_bound_lit_t* blit; pars_bound_lit_t* blit;
ulint len; ulint len = 0;
blit = pars_info_get_bound_lit(sym_tab->info, name); blit = pars_info_get_bound_lit(sym_tab->info, name);
ut_a(blit); ut_a(blit);
...@@ -202,12 +202,10 @@ sym_tab_add_bound_lit( ...@@ -202,12 +202,10 @@ sym_tab_add_bound_lit(
break; break;
case DATA_BLOB: case DATA_BLOB:
len = 0;
*lit_type = PARS_BLOB_LIT; *lit_type = PARS_BLOB_LIT;
break; break;
case DATA_VARCHAR: case DATA_VARCHAR:
len = 0;
*lit_type = PARS_STR_LIT; *lit_type = PARS_STR_LIT;
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment