summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-03-23 15:58:09 +0100
committerVolker Lendecke <vl@samba.org>2008-03-23 16:22:00 +0100
commitbc7a0a9198a6bc26e1ddc7e5f1e52c97a07029a0 (patch)
treecbeca954e52d4944f24a66cea100812311cb1e97 /source3/rpc_server
parentfd9efee21d1ed8029032eefe356bcca6d06ae671 (diff)
downloadsamba-bc7a0a9198a6bc26e1ddc7e5f1e52c97a07029a0.tar.gz
samba-bc7a0a9198a6bc26e1ddc7e5f1e52c97a07029a0.tar.bz2
samba-bc7a0a9198a6bc26e1ddc7e5f1e52c97a07029a0.zip
Fix Coverity ID 432
(This used to be commit 7070c77ee2a9c3c9ff1b3c7b93008b13b80ac02b)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_eventlog_lib.c2
1 files changed, 0 insertions, 2 deletions
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;