summaryrefslogtreecommitdiffstats
path: root/crypto/mem_dbg.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2017-07-07 07:29:55 +1000
committerPauli <paul.dale@oracle.com>2017-07-07 13:37:06 +1000
commitb4df712acad6514efc8753d9aa8b5fe3a721c811 (patch)
tree7ea2f8d9c29fa97de0cae12fff9433606468a140 /crypto/mem_dbg.c
parentab3e8f63154c7daea9e67846aa83b6e1de7f8969 (diff)
change return (x) to return x
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3878)
Diffstat (limited to 'crypto/mem_dbg.c')
-rw-r--r--crypto/mem_dbg.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/crypto/mem_dbg.c b/crypto/mem_dbg.c
index c0bb2be1f1..1ab52a86e8 100644
--- a/crypto/mem_dbg.c
+++ b/crypto/mem_dbg.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -183,7 +183,7 @@ int CRYPTO_mem_ctrl(int mode)
break;
}
CRYPTO_THREAD_unlock(malloc_lock);
- return (ret);
+ return ret;
#endif
}
@@ -206,7 +206,7 @@ static int mem_check_on(void)
CRYPTO_THREAD_unlock(malloc_lock);
}
- return (ret);
+ return ret;
}
static int mem_cmp(const MEM *a, const MEM *b)
@@ -231,7 +231,7 @@ static unsigned long mem_hash(const MEM *a)
ret = (size_t)a->addr;
ret = ret * 17851 + (ret >> 14) * 7 + (ret >> 4) * 251;
- return (ret);
+ return ret;
}
/* returns 1 if there was an info to pop, 0 if the stack was empty. */
@@ -292,7 +292,7 @@ int CRYPTO_mem_debug_push(const char *info, const char *file, int line)
CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ENABLE);
}
- return (ret);
+ return ret;
}
int CRYPTO_mem_debug_pop(void)
@@ -304,7 +304,7 @@ int CRYPTO_mem_debug_pop(void)
ret = pop_info();
CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ENABLE);
}
- return (ret);
+ return ret;
}
static unsigned long break_order_num = 0;