diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-03-10 13:59:37 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-03-10 17:12:09 +0100 |
commit | 11a402afa88a5f74d060fccb47cca604dff9d925 (patch) | |
tree | 124d5a5e7b3ef1e66c5909fec2553a0034622a08 | |
parent | 7db0109bfec806ad0791b5117292620d26050f6c (diff) | |
download | samba-11a402afa88a5f74d060fccb47cca604dff9d925.tar.gz samba-11a402afa88a5f74d060fccb47cca604dff9d925.tar.bz2 samba-11a402afa88a5f74d060fccb47cca604dff9d925.zip |
s4:rpc_server/srvsvc: remove unused ZERO_STRUCT(r->out);
Here it doesn't matter, but it's a bad example for other code
as it might reset the [out,ref] pointers which are already
generated by the pidl generated code.
metze
-rw-r--r-- | source4/rpc_server/srvsvc/dcesrv_srvsvc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source4/rpc_server/srvsvc/dcesrv_srvsvc.c b/source4/rpc_server/srvsvc/dcesrv_srvsvc.c index d1e3f53ba7..c8d276da75 100644 --- a/source4/rpc_server/srvsvc/dcesrv_srvsvc.c +++ b/source4/rpc_server/srvsvc/dcesrv_srvsvc.c @@ -1221,8 +1221,6 @@ static WERROR dcesrv_srvsvc_NetShareSetInfo(struct dcesrv_call_state *dce_call, info = talloc_array(mem_ctx, struct share_info, 10); W_ERROR_HAVE_NO_MEMORY(info); - ZERO_STRUCT(r->out); - if (strcmp("", r->in.share_name) == 0) { return WERR_INVALID_PARAM; } |