Quell harmless CID about unchecked return value in nvlist_get_guids.
The return value doesn't need to be checked, because nvlist_get_guid's callers check the returned values of the guids. Coverity CID: 1341869 MFC after: 1 week X-MFC-With: 292066 Sponsored by: Spectra Logic Corp
This commit is contained in:
parent
fcd2678171
commit
34a484f353
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=294358
@ -291,8 +291,8 @@ static void
|
||||
nvlist_get_guids(nvlist_t *list, uint64_t *pguid, uint64_t *vguid)
|
||||
{
|
||||
|
||||
nvlist_lookup_uint64(list, ZPOOL_CONFIG_GUID, vguid);
|
||||
nvlist_lookup_uint64(list, ZPOOL_CONFIG_POOL_GUID, pguid);
|
||||
(void) nvlist_lookup_uint64(list, ZPOOL_CONFIG_GUID, vguid);
|
||||
(void) nvlist_lookup_uint64(list, ZPOOL_CONFIG_POOL_GUID, pguid);
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user