diff options
author | John Levon <john.levon@joyent.com> | 2018-12-18 19:56:46 +0000 |
---|---|---|
committer | John Levon <john.levon@joyent.com> | 2019-03-27 21:48:40 -0700 |
commit | bcb78a453dcc6eaa7c33432fac3626514e243154 (patch) | |
tree | dc0872b96845e7aec0e23cdb5d0185c3230df41b | |
parent | 4aab0a3be69ed9c4e0119c5c3f17d8cac3b27c17 (diff) | |
download | illumos-joyent-bcb78a453dcc6eaa7c33432fac3626514e243154.tar.gz |
10106 libreparse needs smatch fixes
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Gergő Doma <domag02@gmail.com>
Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r-- | usr/src/lib/libreparse/common/fs_reparse_lib.c | 6 |
1 files changed, 5 insertions, 1 deletions
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; |