On 04/10/2023 13.44, Markus Armbruster wrote:
I got one more:

../hw/usb/host-libusb.c: In function ‘usb_host_open’:
../hw/usb/host-libusb.c:1013:13: warning: declaration of ‘rc’ shadows a 
previous local [-Wshadow=compatible-local]
  1013 |         int rc = ioctl(hostfd, USBDEVFS_GET_SPEED, NULL);
       |             ^~
../hw/usb/host-libusb.c:954:9: note: shadowed declaration is here
   954 |     int rc;
       |         ^~


Drat, I missed that indeed. I'll send a v2.

 Thomas


Reply via email to