diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-04-17 20:44:46 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-04-17 20:44:46 +0000 |
commit | f26e791e7afd14f3aa1cb3cc836915887d8a1c39 (patch) | |
tree | e4ba4c5c6206dfcc6ecab2fd2da12aeab5ee08e2 /lib/libcrypto | |
parent | 3906359c5746d79ea8e45ad9a2771691e90431ac (diff) |
unused variable
Diffstat (limited to 'lib/libcrypto')
-rw-r--r-- | lib/libcrypto/malloc-wrapper.c | 4 |
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); |