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
This commit is contained in:
Eitan Adler 2012-06-24 07:03:22 +00:00
parent e1b5ab97e8
commit 43be4ab038

View File

@ -41,7 +41,6 @@ __FBSDID("$FreeBSD$");
#include <sys/un.h>
#include <netdb.h>
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <paths.h>
@ -414,7 +413,6 @@ void
closelog(void)
{
THREAD_LOCK();
assert(LogFile >= -1);
if (LogFile != -1) {
(void)_close(LogFile);
LogFile = -1;