From 9cba418e868726b4092b50e998325d9357dcae05 Mon Sep 17 00:00:00 2001 From: eadler Date: Sun, 24 Jun 2012 07:03:22 +0000 Subject: Remove the assert added in r237286 The use of assertions in libraries is not widely accepted. Requested by: bde, scottl Approved by: cperciva MFC after: 3 days X-MFC-With: r237286 --- lib/libc/gen/syslog.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/libc') diff --git a/lib/libc/gen/syslog.c b/lib/libc/gen/syslog.c index 52a0782..99308e9 100644 --- a/lib/libc/gen/syslog.c +++ b/lib/libc/gen/syslog.c @@ -41,7 +41,6 @@ __FBSDID("$FreeBSD$"); #include #include -#include #include #include #include @@ -414,7 +413,6 @@ void closelog(void) { THREAD_LOCK(); - assert(LogFile >= -1); if (LogFile != -1) { (void)_close(LogFile); LogFile = -1; -- cgit v1.1