summaryrefslogtreecommitdiff
path: root/extra/yassl
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2017-01-29 18:18:19 +0200
committerSergei Golubchik <serg@mariadb.org>2017-02-28 16:10:46 +0100
commitd5c54f3990b49d7c7d6a410016e85e8e58803895 (patch)
treebe58e93c63ae4f05bb1f6e4f9018cc5a72eb3bd4 /extra/yassl
parentce903428a8517f5207b1e236c9187fa299bc0213 (diff)
downloadmariadb-git-d5c54f3990b49d7c7d6a410016e85e8e58803895.tar.gz
Fixed compiler warnings
- Removed not used variables - Added __attribute__() - Added static to some local functions (gcc 5.4 gives a warning for external functions without an external definition)
Diffstat (limited to 'extra/yassl')
-rw-r--r--extra/yassl/src/ssl.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/extra/yassl/src/ssl.cpp b/extra/yassl/src/ssl.cpp
index 7069140dcda..982d462e3b8 100644
--- a/extra/yassl/src/ssl.cpp
+++ b/extra/yassl/src/ssl.cpp
@@ -774,7 +774,6 @@ int SSL_CTX_load_verify_locations(SSL_CTX* ctx, const char* file,
const char* path)
{
int ret = SSL_FAILURE;
- const int HALF_PATH = 128;
if (file) ret = read_file(ctx, file, SSL_FILETYPE_PEM, CA);