1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

Fix Coverity ID 432

(This used to be commit 7070c77ee2)
This commit is contained in:
Volker Lendecke 2008-03-23 15:58:09 +01:00
parent fd9efee21d
commit bc7a0a9198

View File

@ -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;