Re: uaudioctl() shadow variable 'error'

2018-08-08 Thread Alexandre Ratchov
On Tue, Jul 31, 2018 at 05:53:14PM +0800, Michael W. Bombardieri wrote: > Hello, > > The function usbioctl() has an error variable and two more which > are declared in nested blocks, i.e. switch cases for USB_REQUEST > and USB_DEVICE_GET_FDESC. The following patch to remove the > nested declaratio

uaudioctl() shadow variable 'error'

2018-07-31 Thread Michael W. Bombardieri
Hello, The function usbioctl() has an error variable and two more which are declared in nested blocks, i.e. switch cases for USB_REQUEST and USB_DEVICE_GET_FDESC. The following patch to remove the nested declarations builds cleanly, and if I'm following things correctly the function works the same