diff options
Diffstat (limited to 'usr/src/lib')
-rw-r--r-- | usr/src/lib/libmlrpc/common/ndr_server.c | 3 | ||||
-rw-r--r-- | usr/src/lib/libreparse/common/fs_reparse_lib.c | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/usr/src/lib/libmlrpc/common/ndr_server.c b/usr/src/lib/libmlrpc/common/ndr_server.c index 4a1e2c177a..d33d138591 100644 --- a/usr/src/lib/libmlrpc/common/ndr_server.c +++ b/usr/src/lib/libmlrpc/common/ndr_server.c @@ -21,6 +21,7 @@ /* * 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. */ /* @@ -640,7 +641,7 @@ ndr_reply_fault(ndr_xa_t *mxa, unsigned long drc) 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; diff --git a/usr/src/lib/libreparse/common/fs_reparse_lib.c b/usr/src/lib/libreparse/common/fs_reparse_lib.c index 3e395d5d7e..ae74f358cf 100644 --- a/usr/src/lib/libreparse/common/fs_reparse_lib.c +++ b/usr/src/lib/libreparse/common/fs_reparse_lib.c @@ -24,6 +24,10 @@ * Use is subject to license terms. */ +/* + * Copyright (c) 2018, Joyent, Inc. + */ + #include <stdio.h> #include <stdlib.h> #include <unistd.h> @@ -274,7 +278,7 @@ proto_plugin_fini() */ for (p = rp_proto_list; p != NULL; p = p->plugin_next) { if (p->plugin_ops->rpo_fini) - p->plugin_ops->rpo_fini(); + (void) p->plugin_ops->rpo_fini(); } while ((p = rp_proto_list) != NULL) { rp_proto_list = p->plugin_next; |