mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
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
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue