On 09/03/22 20:26, Eric Blake wrote: > On Sat, Sep 03, 2022 at 05:25:11PM +0100, Richard W.M. Jones wrote: >> On Fri, Sep 02, 2022 at 05:14:22PM -0500, Eric Blake wrote: >>> #ifdef DUMP_PACKETS >>> - if (h->rbuf != NULL) >>> - nbd_internal_hexdump (h->rbuf, r, stderr); >>> + nbd_internal_hexdump (h->rbuf, r, stderr); >> >> Should this be a separate patch? I guess the assertion here is that >> h->rbuf is set to an address earlier in the function so it can never >> be NULL. > > Correct on both counts: I noticed it while touching the function; the > 'if' is dead code becaues of earlier in the function, but a separate > patch is worthwhile. >
for both patches coming out of this: Acked-by: Laszlo Ersek <ler...@redhat.com> _______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://listman.redhat.com/mailman/listinfo/libguestfs