summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-14 13:12:00 +1000
committerAndrew Tridgell <tridge@samba.org>2010-09-15 15:39:35 +1000
commit5bbfe2b42fd065e34bf20a24cb235863ad41fddc (patch)
tree669a41f75b22606e519f4aac306340800d98edbf /source4/param
parent4ff452151a1d253b44cccfce034873c260ff414c (diff)
downloadsamba-5bbfe2b42fd065e34bf20a24cb235863ad41fddc.tar.gz
samba-5bbfe2b42fd065e34bf20a24cb235863ad41fddc.tar.bz2
samba-5bbfe2b42fd065e34bf20a24cb235863ad41fddc.zip
s4-secrets: fixed shadowed variable warning
we already have a 'v' in scope
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/secrets.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/param/secrets.c b/source4/param/secrets.c
index 8fc595fbb0..f6ab5e93fb 100644
--- a/source4/param/secrets.c
+++ b/source4/param/secrets.c
@@ -139,14 +139,14 @@ struct dom_sid *secrets_get_domain_sid(TALLOC_CTX *mem_ctx,
}
if (sec_channel_type) {
- int v;
- v = ldb_msg_find_attr_as_int(msg, "secureChannelType", -1);
- if (v == -1) {
+ int t;
+ t = ldb_msg_find_attr_as_int(msg, "secureChannelType", -1);
+ if (t == -1) {
*errstring = talloc_asprintf(mem_ctx, "Failed to find secureChannelType for %s in %s",
domain, (char *) ldb_get_opaque(ldb, "ldb_url"));
return NULL;
}
- *sec_channel_type = v;
+ *sec_channel_type = t;
}
result = talloc(mem_ctx, struct dom_sid);