diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-03-28 20:04:14 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-03-28 20:04:14 +0100 |
commit | 2901497b187ffcefbec73c4ac9b5270174e8682c (patch) | |
tree | 7546fe994305164a171948be01d7a261427b47d6 /storage/innobase/sync/sync0sync.c | |
parent | 78683672707bad90169b68b4c5d8aadc0e895f3d (diff) | |
download | mariadb-git-2901497b187ffcefbec73c4ac9b5270174e8682c.tar.gz |
MDEV-4243 Warnings/errors while compiling with clang
Diffstat (limited to 'storage/innobase/sync/sync0sync.c')
-rw-r--r-- | storage/innobase/sync/sync0sync.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/innobase/sync/sync0sync.c b/storage/innobase/sync/sync0sync.c index fb7101fdb8d..fba43ad859c 100644 --- a/storage/innobase/sync/sync0sync.c +++ b/storage/innobase/sync/sync0sync.c @@ -316,9 +316,9 @@ mutex_create_func( /* NOTE! The very first mutexes are not put to the mutex list */ - if ((mutex == &mutex_list_mutex) + if (mutex == &mutex_list_mutex #ifdef UNIV_SYNC_DEBUG - || (mutex == &sync_thread_mutex) + || mutex == &sync_thread_mutex #endif /* UNIV_SYNC_DEBUG */ ) { |