diff options
author | Toomas Soome <tsoome@me.com> | 2017-08-08 13:07:33 +0300 |
---|---|---|
committer | Dan McDonald <danmcd@joyent.com> | 2017-11-27 11:04:05 -0500 |
commit | bb4d45692c48b2f803f7ec1f690be050a0b2bf05 (patch) | |
tree | bb4f7648faf09af3168aa23746a818291d7a968a /usr/src | |
parent | c532a89174aae7a12b4a8cef1517e723d26ff477 (diff) | |
download | illumos-gate-bb4d45692c48b2f803f7ec1f690be050a0b2bf05.tar.gz |
8831 mpapi: variable 'status' set but not used
Reviewed by: Yuri Pankov <yuripv@gmx.com>
Reviewed by: C Fraire <cfraire@me.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/lib/mpapi/libmpapi/common/mpapi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/src/lib/mpapi/libmpapi/common/mpapi.c b/usr/src/lib/mpapi/libmpapi/common/mpapi.c index 466b911884..afbfb148fb 100644 --- a/usr/src/lib/mpapi/libmpapi/common/mpapi.c +++ b/usr/src/lib/mpapi/libmpapi/common/mpapi.c @@ -261,7 +261,6 @@ void InitLibrary() if (plugintable[i].hdlPlugin != NULL) { InitializeFn PassFunc; - MP_STATUS status; wcsncpy(plugintable[i].pluginName, name, MAX_NAME_SIZE); @@ -273,7 +272,7 @@ void InitLibrary() PassFunc = (InitializeFn) dlsym(plugintable[i].hdlPlugin, "Initialize"); if (PassFunc != NULL) { - status = PassFunc(plugintable[i].ownerId); + (void) PassFunc(plugintable[i].ownerId); } i++; |