Re: [Libguestfs] [PATCH libnbd v3 6/6] lib/utils.c: Assert that argv != NULL and add comments

2022-09-28 Thread Eric Blake
On Wed, Sep 28, 2022 at 06:25:39PM +0100, Richard W.M. Jones wrote: > Change check into an assertion, and add detailed comments explaining > our assumptions. > > Updates: commit d0fbb769286a97728b0d1358e7accc2eb708d795 > Reviewed-by: Laszlo Ersek > --- > lib/utils.c | 14 -- > 1

[Libguestfs] [PATCH libnbd v3 6/6] lib/utils.c: Assert that argv != NULL and add comments

2022-09-28 Thread Richard W.M. Jones
Change check into an assertion, and add detailed comments explaining our assumptions. Updates: commit d0fbb769286a97728b0d1358e7accc2eb708d795 Reviewed-by: Laszlo Ersek --- lib/utils.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/lib/utils.c b/lib/utils.c