]> xenbits.xensource.com Git - people/larsk/xen.git/commit
libxl_usb: Fix wrong usage of asserts
authorAnthony PERARD <anthony.perard@citrix.com>
Thu, 13 Jun 2019 11:20:31 +0000 (12:20 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Fri, 20 Sep 2019 09:41:01 +0000 (10:41 +0100)
commit0fa2525b81c0f9065e4a90e458a5b0c014daa05a
tree59d54de9cb97ac3309b0188a7bbbd820d3d5c34b
parentd37bf63be32399a598da909899f16e8c8a383acd
libxl_usb: Fix wrong usage of asserts

Replace the assert(0) by abort() since the intention in libxl is that
asserts are always compiled in. This patch makes its clear and removes
the need to deal with asserts been compiled out.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_usb.c