diff options
author | KaoruToda <kunnpuu@gmail.com> | 2017-10-09 13:05:58 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-10-09 14:17:09 +0200 |
commit | 208fb891e36f16d20262710c70ef0ff3df0e885c (patch) | |
tree | 514e6161c7c21122fced736efaddd87f5b5e0538 /crypto/dso/dso_dl.c | |
parent | Document that lhash isn't thread safe under any circumstances and (diff) | |
download | openssl-208fb891e36f16d20262710c70ef0ff3df0e885c.tar.xz openssl-208fb891e36f16d20262710c70ef0ff3df0e885c.zip |
Since return is inconsistent, I removed unnecessary parentheses and
unified them.
- return (0); -> return 0;
- return (1); -> return 1;
- return (-1); -> return -1;
Reviewed-by: Stephen Henson <steve@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4500)
Diffstat (limited to 'crypto/dso/dso_dl.c')
-rw-r--r-- | crypto/dso/dso_dl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/dso/dso_dl.c b/crypto/dso/dso_dl.c index d80bf562c7..91f703079e 100644 --- a/crypto/dso/dso_dl.c +++ b/crypto/dso/dso_dl.c @@ -83,7 +83,7 @@ static int dl_load(DSO *dso) * (it also serves as the indicator that we are currently loaded). */ dso->loaded_filename = filename; - return (1); + return 1; err: /* Cleanup! */ OPENSSL_free(filename); @@ -100,7 +100,7 @@ static int dl_unload(DSO *dso) return (0); } if (sk_num(dso->meth_data) < 1) - return (1); + return 1; /* Is this statement legal? */ ptr = (shl_t) sk_pop(dso->meth_data); if (ptr == NULL) { @@ -112,7 +112,7 @@ static int dl_unload(DSO *dso) return (0); } shl_unload(ptr); - return (1); + return 1; } static DSO_FUNC_TYPE dl_bind_func(DSO *dso, const char *symname) |