diff options
Diffstat (limited to 'libmysqld')
-rw-r--r-- | libmysqld/emb_qcache.cc | 1 | ||||
-rw-r--r-- | libmysqld/lib_sql.cc | 8 |
2 files changed, 4 insertions, 5 deletions
diff --git a/libmysqld/emb_qcache.cc b/libmysqld/emb_qcache.cc index 4dac154ab80..0b6416632b7 100644 --- a/libmysqld/emb_qcache.cc +++ b/libmysqld/emb_qcache.cc @@ -428,7 +428,6 @@ int emb_load_querycache_result(THD *thd, Querycache_stream *src) *prev_row= row; row->data= columns; MYSQL_ROW col_end= columns + mysql->field_count; - uint len; for (; columns < col_end; columns++) src->load_column(&data->alloc, columns); diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc index 6fb23f8f00d..cfb50d3907a 100644 --- a/libmysqld/lib_sql.cc +++ b/libmysqld/lib_sql.cc @@ -332,10 +332,10 @@ char ** copy_arguments_ptr= 0; int init_embedded_server(int argc, char **argv, char **groups) { - char glob_hostname[FN_REFLEN]; - - /* This mess is to allow people to call the init function without - * having to mess with a fake argv */ + /* + This mess is to allow people to call the init function without + having to mess with a fake argv + */ int *argcp; char ***argvp; int fake_argc = 1; |