From 89dee022e5fd741e816a50cedfbd8058ebfb5431 Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Wed, 5 Jun 2002 17:01:09 +0000 Subject: (malloc_shared_memory): Removed the assert() call for shared_file since it's now a static variable. --- src/heap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/heap.c b/src/heap.c index 7da4601..3a425f7 100644 --- a/src/heap.c +++ b/src/heap.c @@ -1,4 +1,4 @@ -/* $Id: heap.c,v 1.3 2002-05-29 20:51:35 rjkaes Exp $ +/* $Id: heap.c,v 1.4 2002-06-05 17:01:09 rjkaes Exp $ * * Debugging versions of various heap related functions are combined * here. The debugging versions include assertions and also print @@ -110,7 +110,6 @@ malloc_shared_memory(size_t size) static char* shared_file = "/tmp/tinyproxy.shared"; assert(size > 0); - assert(shared_file != NULL); strlcpy(buffer, shared_file, sizeof(buffer) - 8); strlcat(buffer, ".XXXXXX", sizeof(buffer)); -- cgit v1.2.3