1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

fix compiler warnings

This commit is contained in:
Kentoku
2019-12-06 04:32:56 +09:00
committed by Kentoku SHIBA
parent aab6cefe8d
commit f5b76d8c40
3 changed files with 7 additions and 5 deletions

View File

@@ -14131,7 +14131,7 @@ int spider_mbase_handler::simple_action(
SPIDER_DB_RESULT *res;
SPIDER_SHARE *share = spider->share;
uint pos = spider->conn_link_idx[link_idx];
spider_string *str;
spider_string *str = NULL;
DBUG_ENTER("spider_mbase_handler::simple_action");
switch (simple_action)
{
@@ -14172,7 +14172,7 @@ int spider_mbase_handler::simple_action(
#endif
default:
DBUG_ASSERT(0);
break;
DBUG_RETURN(0);
}
pthread_mutex_lock(&conn->mta_conn_mutex);
SPIDER_SET_FILE_POS(&conn->mta_conn_mutex_file_pos);