[SCM] Samba Shared Repository - branch master updated
Volker Lendecke
vlendec at samba.org
Mon Jun 6 10:22:01 MDT 2011
The branch, master has been updated
via 976a43c s3: Remove a pointless if-statement
from 411c52a s3: Fix two debug messages
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 976a43c5aac7a1b972efc1a4f600013b789eabaa
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 6 17:03:06 2011 +0200
s3: Remove a pointless if-statement
We are here only if we have more than one num_pending
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Mon Jun 6 18:21:17 CEST 2011 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
source3/libsmb/async_smb.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/libsmb/async_smb.c b/source3/libsmb/async_smb.c
index 8fdcac4..2ce6410 100644
--- a/source3/libsmb/async_smb.c
+++ b/source3/libsmb/async_smb.c
@@ -180,9 +180,7 @@ void cli_smb_req_unset_pending(struct tevent_req *req)
/*
* Remove ourselves from the cli->pending array
*/
- if (num_pending > 1) {
- cli->pending[i] = cli->pending[num_pending-1];
- }
+ cli->pending[i] = cli->pending[num_pending-1];
/*
* No NULL check here, we're shrinking by sizeof(void *), and
--
Samba Shared Repository
More information about the samba-cvs
mailing list