1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r14121: We never pass NULL to the rpc_api_pipe fn so don't

trigger coverity checks by testing for NULL.
Jeremy.
This commit is contained in:
Jeremy Allison 2006-03-09 23:20:52 +00:00 committed by Gerald (Jerry) Carter
parent 78ac3f9cbd
commit 6b44841592

View File

@ -744,8 +744,8 @@ static NTSTATUS rpc_api_pipe(struct rpc_pipe_client *cli,
char *rparam = NULL;
uint32 rparam_len = 0;
uint16 setup[2];
char *pdata = data ? prs_data_p(data) : NULL;
uint32 data_len = data ? prs_offset(data) : 0;
char *pdata = prs_data_p(data);
uint32 data_len = prs_offset(data);
char *prdata = NULL;
uint32 rdata_len = 0;
uint32 max_data = cli->max_xmit_frag ? cli->max_xmit_frag : RPC_MAX_PDU_FRAG_LEN;