On Tue, Sep 17, 2019 at 05:44:03PM +0100, Ian Jackson wrote: > Anthony PERARD writes ("[PATCH 11/15] libxl_usb: Fix wrong usage of asserts"): > > Signed-off-by: Anthony PERARD <anthony.per...@citrix.com> > > I'm not sure why you wouldn't just delete the breaks, rather than > replacing them "return" ?
Because asserts aren't supposed to be compiled in a release build. I know that's not the case in libxl... I could replace the assert(0) by abort() instead, they won't be need for a break or return after it. -- Anthony PERARD _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel