summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/malloc-wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/malloc-wrapper.c')
-rw-r--r--lib/libcrypto/malloc-wrapper.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libcrypto/malloc-wrapper.c b/lib/libcrypto/malloc-wrapper.c
index 49d7c572c88..c754df40e36 100644
--- a/lib/libcrypto/malloc-wrapper.c
+++ b/lib/libcrypto/malloc-wrapper.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: malloc-wrapper.c,v 1.1 2014/04/16 03:24:53 beck Exp $ */
+/* $OpenBSD: malloc-wrapper.c,v 1.2 2014/04/17 20:44:45 tedu Exp $ */
/*
* Copyright (c) 2014 Bob Beck
*
@@ -118,8 +118,6 @@ CRYPTO_get_mem_debug_functions(void (**m)(void *, int, const char *, int, int),
void *
CRYPTO_malloc_locked(int num, const char *file, int line)
{
- void *ret = NULL;
-
if (num <= 0)
return NULL;
return malloc(num);