mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
r26573: Fix warnings.
(This used to be commit 874f0ac0561e38a8c0ceda983f6c88c75ee29e9c)
This commit is contained in:
parent
d0ba9f0014
commit
de9c8930a6
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user