summaryrefslogtreecommitdiff
path: root/vio/viosslfactories.c
diff options
context:
space:
mode:
authorunknown <tonu@hundin.mysql.fi>2001-06-08 22:28:57 +0300
committerunknown <tonu@hundin.mysql.fi>2001-06-08 22:28:57 +0300
commit32692277b9ef3c387eaf88b80dde262272a69b41 (patch)
treee4b889f31b7f39f63449053c9966b889a695698a /vio/viosslfactories.c
parent17bc31504df4a9590d9ebb340074aceb509630ca (diff)
downloadmariadb-git-32692277b9ef3c387eaf88b80dde262272a69b41.tar.gz
Fixed compile-time warnings
vio/viossl.c: Fixed compile-time warnings by moving code around plus small fixes
Diffstat (limited to 'vio/viosslfactories.c')
-rw-r--r--vio/viosslfactories.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vio/viosslfactories.c b/vio/viosslfactories.c
index dfe67b503f8..4be956ed9ba 100644
--- a/vio/viosslfactories.c
+++ b/vio/viosslfactories.c
@@ -186,7 +186,7 @@ struct st_VioSSLConnectorFd* new_VioSSLConnectorFd(const char* key_file,
DBUG_RETURN(ptr);
ctor_failure:
DBUG_PRINT("exit", ("there was an error"));
- DBUG_VOID_RETURN;
+ DBUG_RETURN(0);
}
@@ -267,7 +267,7 @@ new_VioSSLAcceptorFd(const char* key_file,
DBUG_RETURN(ptr);
ctor_failure:
DBUG_PRINT("exit", ("there was an error"));
- DBUG_VOID_RETURN;
+ DBUG_RETURN(0);
}