summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-10 20:18:11 +1000
committerAndrew Tridgell <tridge@samba.org>2010-09-15 15:39:34 +1000
commitb9393e48963bb0e800383d5fdf6888b472d44fb2 (patch)
treeaa0dba00cc34960bcfa6d8f0de3dccc42e4e5464
parent2fbf10ea1b1a52b1d01651d2f9ae4983013f1abd (diff)
downloadsamba-b9393e48963bb0e800383d5fdf6888b472d44fb2.tar.gz
samba-b9393e48963bb0e800383d5fdf6888b472d44fb2.tar.bz2
samba-b9393e48963bb0e800383d5fdf6888b472d44fb2.zip
s4-kcc: removed redundent loop check
el has already been checked for NULL
-rw-r--r--source4/dsdb/kcc/kcc_service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/kcc/kcc_service.c b/source4/dsdb/kcc/kcc_service.c
index 4507545355..9bacca9bc7 100644
--- a/source4/dsdb/kcc/kcc_service.c
+++ b/source4/dsdb/kcc/kcc_service.c
@@ -101,7 +101,7 @@ static WERROR kccsrv_load_partitions(struct kccsrv_service *s)
return WERR_FOOBAR;
}
- for (i=0; el && i < el->num_values; i++) {
+ for (i=0; i < el->num_values; i++) {
const char *v = (const char *)el->values[i].data;
struct ldb_dn *pdn;
struct kccsrv_partition *p;