diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-23 21:27:58 -0600 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-24 01:51:04 -0600 |
commit | de9c8930a679fcff1d0f0632d4f5b03e6b54722d (patch) | |
tree | 491b36bb58792ded82e203b9fe8889be2d30e39f /source4 | |
parent | d0ba9f001474bfee9b1e8fb516effab736cd4050 (diff) | |
download | samba-de9c8930a679fcff1d0f0632d4f5b03e6b54722d.tar.gz samba-de9c8930a679fcff1d0f0632d4f5b03e6b54722d.tar.bz2 samba-de9c8930a679fcff1d0f0632d4f5b03e6b54722d.zip |
r26573: Fix warnings.
(This used to be commit 874f0ac0561e38a8c0ceda983f6c88c75ee29e9c)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/ranged_results.c | 2 | ||||
-rw-r--r-- | source4/libnet/libnet.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/ranged_results.c b/source4/dsdb/samdb/ldb_modules/ranged_results.c index affc01d413..345b8b8440 100644 --- a/source4/dsdb/samdb/ldb_modules/ranged_results.c +++ b/source4/dsdb/samdb/ldb_modules/ranged_results.c @@ -40,7 +40,7 @@ static int rr_search_callback(struct ldb_context *ldb, void *context, struct ldb { struct rr_context *rr_context = talloc_get_type(context, struct rr_context); struct ldb_request *orig_req = rr_context->orig_req; - int i, j, ret; + int i, j; if (ares->type != LDB_REPLY_ENTRY) { return rr_context->orig_req->callback(ldb, rr_context->orig_req->context, ares); diff --git a/source4/libnet/libnet.h b/source4/libnet/libnet.h index 71ee8ef8e4..015661a074 100644 --- a/source4/libnet/libnet.h +++ b/source4/libnet/libnet.h @@ -30,7 +30,7 @@ struct libnet_context { /* samr connection parameters - opened handles and related properties */ struct { struct dcerpc_pipe *pipe; - char *name; + const char *name; struct dom_sid *sid; uint32_t access_mask; struct policy_handle handle; @@ -41,7 +41,7 @@ struct libnet_context { /* lsa connection parameters - opened handles and related properties */ struct { struct dcerpc_pipe *pipe; - char *name; + const char *name; uint32_t access_mask; struct policy_handle handle; } lsa; |