diff options
author | KaoruToda <kunnpuu@gmail.com> | 2017-10-17 23:04:09 +0900 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-10-18 16:05:06 +0100 |
commit | 26a7d938c9bf932a55cb5e4e02abb48fe395c5cd (patch) | |
tree | ce5b1908c181722514aa80d03026c6f42ab85972 /crypto/cversion.c | |
parent | 2139145b72d084a3f974a94accd7d9812de286e4 (diff) | |
download | openssl-new-26a7d938c9bf932a55cb5e4e02abb48fe395c5cd.tar.gz |
Remove parentheses of return.
Since return is inconsistent, I removed unnecessary parentheses and
unified them.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4541)
Diffstat (limited to 'crypto/cversion.c')
-rw-r--r-- | crypto/cversion.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/crypto/cversion.c b/crypto/cversion.c index 4e00702e04..4c9e2c241c 100644 --- a/crypto/cversion.c +++ b/crypto/cversion.c @@ -23,26 +23,26 @@ const char *OpenSSL_version(int t) if (t == OPENSSL_BUILT_ON) { #ifdef DATE # ifdef OPENSSL_USE_BUILD_DATE - return (DATE); + return DATE; # else - return ("built on: reproducible build, date unspecified"); + return "built on: reproducible build, date unspecified"; # endif #else - return ("built on: date not available"); + return "built on: date not available"; #endif } if (t == OPENSSL_CFLAGS) { #ifdef CFLAGS - return (CFLAGS); + return CFLAGS; #else - return ("compiler: information not available"); + return "compiler: information not available"; #endif } if (t == OPENSSL_PLATFORM) { #ifdef PLATFORM - return (PLATFORM); + return PLATFORM; #else - return ("platform: information not available"); + return "platform: information not available"; #endif } if (t == OPENSSL_DIR) { @@ -59,5 +59,5 @@ const char *OpenSSL_version(int t) return "ENGINESDIR: N/A"; #endif } - return ("not available"); + return "not available"; } |