mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40:43 +03:00
OpenZFS 6931 - lib/libzfs: cleanup gcc warnings
Authored by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Ported-by: George Melikov <mail@gmelikov.ru> OpenZFS-issue: https://www.illumos.org/issues/6931 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/88f61de Closes #5741
This commit is contained in:
committed by
Brian Behlendorf
parent
bef78122e6
commit
23d70cdef1
@@ -22,6 +22,7 @@
|
||||
* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright 2010 Nexenta Systems, Inc. All rights reserved.
|
||||
* Copyright (c) 2013 by Delphix. All rights reserved.
|
||||
* Copyright 2016 Igor Kozhukhov <ikozhukhov@gmail.com>
|
||||
*/
|
||||
|
||||
#include <sys/zfs_context.h>
|
||||
@@ -181,8 +182,9 @@ zfs_deleg_verify_nvlist(nvlist_t *nvp)
|
||||
nvpair_name(perm_name));
|
||||
if (error)
|
||||
return (-1);
|
||||
} while ((perm_name = nvlist_next_nvpair(perms, perm_name)));
|
||||
} while ((who = nvlist_next_nvpair(nvp, who)));
|
||||
} while ((perm_name = nvlist_next_nvpair(perms, perm_name))
|
||||
!= NULL);
|
||||
} while ((who = nvlist_next_nvpair(nvp, who)) != NULL);
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user