summaryrefslogtreecommitdiff
path: root/storage/connect/mycat.cc
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2021-03-19 22:55:40 +0200
committerMonty <monty@mariadb.org>2021-03-20 21:17:32 +0200
commitc22e6eeda81b9c3b8c79d4ef527b2a002d6d691b (patch)
treec475a17ecc723e91268fe00991765b1b9454c1b9 /storage/connect/mycat.cc
parent93bb755dc8a9e68719c12ba621e048d3603d0123 (diff)
downloadmariadb-git-c22e6eeda81b9c3b8c79d4ef527b2a002d6d691b.tar.gz
Fix compiler warnings in connect engine
- Removed not used variables - Added /* fall through */ to switches - Removed not used static variable 'slash' from header file - Removed test of fp->field_length >= 0 as it is always true
Diffstat (limited to 'storage/connect/mycat.cc')
-rw-r--r--storage/connect/mycat.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/connect/mycat.cc b/storage/connect/mycat.cc
index e3fa00e119f..5f73d1713ce 100644
--- a/storage/connect/mycat.cc
+++ b/storage/connect/mycat.cc
@@ -508,7 +508,7 @@ PTABDEF MYCAT::MakeTableDesc(PGLOBAL g, PTABLE tablep, LPCSTR am)
tdp = new(g) MGODEF;
break;
} // endif enabled
- // fall through
+ /* fall through */
#endif // JAVA_SUPPORT || CMGO_SUPPORT
default:
sprintf(g->Message, MSG(BAD_TABLE_TYPE), am, name);