> @@ -549,7 +550,7 @@ get_replication(nvlist_t *nvroot, boolean_t fatal)
>       uint_t c, children;
>       nvlist_t *nv;
>       char *type;
> -     replication_level_t lastrep, rep, *ret;
> +     replication_level_t lastrep = {0}, rep, *ret;

This should really be 3 different lines, for clarity.  But I suppose it's only 
slightly worse than the current code.

---
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/57/files#r50748986
_______________________________________________
developer mailing list
[email protected]
http://lists.open-zfs.org/mailman/listinfo/developer

Reply via email to