[edk2-devel] [PATCH v2 2/2] MdeModulePkg/Bus/Usb/UsbMouseDxe: Fix MISSING_BREAK Coverity issues

2023-10-09 Thread Ranbir Singh
The function GetNextHidItem has a switch-case block in which the case 1: falls through to case 2: and then case 2: falls through to case 3:. There is no possibility of the if blocks within case 2: and case 3: to succeed later and not succeed in the original case and hence the fall throughs even if

Re: [edk2-devel] [PATCH v2 2/2] MdeModulePkg/Bus/Usb/UsbMouseDxe: Fix MISSING_BREAK Coverity issues

2023-10-09 Thread Laszlo Ersek
On 10/9/23 13:28, Ranbir Singh wrote: > The function GetNextHidItem has a switch-case block in which the case 1: > falls through to case 2: and then case 2: falls through to case 3:. > > There is no possibility of the if blocks within case 2: and case 3: to > succeed later and not succeed in the o