From bc7a0a9198a6bc26e1ddc7e5f1e52c97a07029a0 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 23 Mar 2008 15:58:09 +0100 Subject: Fix Coverity ID 432 (This used to be commit 7070c77ee2a9c3c9ff1b3c7b93008b13b80ac02b) --- source3/rpc_server/srv_eventlog_lib.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'source3/rpc_server') diff --git a/source3/rpc_server/srv_eventlog_lib.c b/source3/rpc_server/srv_eventlog_lib.c index 269e2f318e..e232a30078 100644 --- a/source3/rpc_server/srv_eventlog_lib.c +++ b/source3/rpc_server/srv_eventlog_lib.c @@ -464,8 +464,6 @@ int write_eventlog_tdb( TDB_CONTEXT * the_tdb, Eventlog_entry * ee ) if ( mem_ctx == NULL ) return 0; - if ( !ee ) - return 0; /* discard any entries that have bogus time, which usually indicates a bogus entry as well. */ if ( ee->record.time_generated == 0 ) return 0; -- cgit