From 913635d2522adba072cef99dc7e6fc8e80c43b77 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Sun, 3 May 2020 00:47:45 +0200 Subject: [PATCH] remove unused function --- src/misc/alloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/misc/alloc.c b/src/misc/alloc.c index 6e2e3d187..2bd2df117 100644 --- a/src/misc/alloc.c +++ b/src/misc/alloc.c @@ -152,7 +152,7 @@ txfree(const void *ptr) #endif } /* end of function txfree */ - +#if 0 /* This function returns the product of a and b if it does not overflow. * * Return codes @@ -180,7 +180,7 @@ static inline int product_overflow(size_t a, size_t b, size_t *p_n) return 0; } /* end of function product_overflow */ -#if 0 + /* Print error related to allocating a product that cannot fit in a * size_t and exit. This function does not return. */ static void overflow_error(size_t num, size_t size)