From 11a402afa88a5f74d060fccb47cca604dff9d925 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 10 Mar 2010 13:59:37 +0100 Subject: 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 --- source4/rpc_server/srvsvc/dcesrv_srvsvc.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'source4/rpc_server/srvsvc') 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; } -- cgit