summaryrefslogtreecommitdiff
path: root/sql/wsrep_mysqld.cc
diff options
context:
space:
mode:
authorAlexey Yurchenko <ayurchen@galeracluster.com>2016-08-12 14:21:01 +0300
committerSachin Setiya <sachin.setiya@mariadb.com>2017-04-18 11:51:10 +0530
commit1d4cc423886201d9d373e17bb29d667ab8a5f503 (patch)
tree025a881f025b6d04bb4b2abd725a14ba036a49af /sql/wsrep_mysqld.cc
parentb8afa783bcd32c9a0e5b26d780f4debf859f1b8f (diff)
downloadmariadb-git-1d4cc423886201d9d373e17bb29d667ab8a5f503.tar.gz
MW-267: followup to the original pull request, removed unnecessary cast.
Diffstat (limited to 'sql/wsrep_mysqld.cc')
-rw-r--r--sql/wsrep_mysqld.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/wsrep_mysqld.cc b/sql/wsrep_mysqld.cc
index a0938bdfb43..53d53c2c404 100644
--- a/sql/wsrep_mysqld.cc
+++ b/sql/wsrep_mysqld.cc
@@ -249,8 +249,7 @@ wsrep_view_handler_cb (void* app_ctx,
if (memcmp(&cluster_uuid, &view->state_id.uuid, sizeof(wsrep_uuid_t)))
{
- memcpy((wsrep_uuid_t*)&cluster_uuid, &view->state_id.uuid,
- sizeof(cluster_uuid));
+ memcpy(&cluster_uuid, &view->state_id.uuid, sizeof(cluster_uuid));
wsrep_uuid_print (&cluster_uuid, cluster_uuid_str,
sizeof(cluster_uuid_str));