summaryrefslogtreecommitdiff
path: root/storage/connect
diff options
context:
space:
mode:
authorMichael Widenius <monty@mariadb.org>2019-01-15 17:05:42 +0200
committerMichael Widenius <monty@mariadb.org>2019-01-15 17:05:42 +0200
commit9990027f872764d64e6a450fe9988fb9a7263c5c (patch)
treeb0f9473e63aa0edd0de7019f934cd9f34408f80d /storage/connect
parentce06990056824f0a3ef15cdf9980aaa3cfb911e0 (diff)
downloadmariadb-git-9990027f872764d64e6a450fe9988fb9a7263c5c.tar.gz
Fixed compiler warnings from optimized builds
Diffstat (limited to 'storage/connect')
-rw-r--r--storage/connect/plugutil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/connect/plugutil.cpp b/storage/connect/plugutil.cpp
index 048f00be75f..6790e7eb45c 100644
--- a/storage/connect/plugutil.cpp
+++ b/storage/connect/plugutil.cpp
@@ -526,7 +526,7 @@ BOOL PlugSubSet(void *memp, uint size)
/***********************************************************************/
/* Use it to export a function that do throwing. */
/***********************************************************************/
-void *DoThrow(int n)
+static void *DoThrow(int n)
{
throw n;
} /* end of DoThrow */