diff options
author | 2014-04-17 20:44:45 +0000 | |
---|---|---|
committer | 2014-04-17 20:44:45 +0000 | |
commit | c5768773267e1534c805b9fd7013f5e42a94cfee (patch) | |
tree | b1573937c1d5b9753c9a378b63ee6752b0f15c22 /lib/libcrypto/malloc-wrapper.c | |
parent | -Wall (diff) | |
download | wireguard-openbsd-c5768773267e1534c805b9fd7013f5e42a94cfee.tar.xz wireguard-openbsd-c5768773267e1534c805b9fd7013f5e42a94cfee.zip |
unused variable
Diffstat (limited to 'lib/libcrypto/malloc-wrapper.c')
-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); |