Print this page
10103 libmlrpc needs smatch fixes
@@ -19,10 +19,11 @@
* CDDL HEADER END
*/
/*
* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2015 Nexenta Systems, Inc. All rights reserved.
+ * Copyright (c) 2018, Joyent, Inc.
*/
/*
* Server side RPC handler.
*/
@@ -638,11 +639,11 @@
ndr_common_header_t *rhdr = &mxa->recv_hdr.common_hdr;
ndr_common_header_t *hdr = &mxa->send_hdr.common_hdr;
ndr_stream_t *nds = &mxa->send_nds;
unsigned long fault_status;
- NDS_RESET(nds);
+ (void) NDS_RESET(nds);
hdr->rpc_vers = 5;
hdr->rpc_vers_minor = 0;
hdr->pfc_flags = NDR_PFC_FIRST_FRAG + NDR_PFC_LAST_FRAG;
hdr->packed_drep = rhdr->packed_drep;