1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fix compiler warnings on gcc 6.x.

This commit is contained in:
Jan Lindström
2017-04-05 14:35:41 +03:00
parent 4b1cf0bba6
commit 09b28b3d10
3 changed files with 4 additions and 4 deletions

View File

@ -207,7 +207,7 @@ extern wsrep_seqno_t wsrep_locked_seqno;
strcmp(wsrep_provider, WSREP_NONE))
#define WSREP(thd) \
(WSREP_ON && wsrep && (thd && thd->variables.wsrep_on))
(WSREP_ON && wsrep && (thd->variables.wsrep_on))
#define WSREP_CLIENT(thd) \
(WSREP(thd) && thd->wsrep_client_thread)