mirror of https://github.com/acidanthera/audk.git
add assert logic to avoid Klocwork fake report
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7513 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
525aded947
commit
cb0b858d6e
|
@ -340,6 +340,7 @@ UsbSelectSetting (
|
|||
|
||||
IfDesc->ActiveIndex = Index;
|
||||
|
||||
ASSERT (Setting != NULL);
|
||||
DEBUG ((EFI_D_INFO, "UsbSelectSetting: setting %d selected for interface %d\n",
|
||||
Alternate, Setting->Desc.InterfaceNumber));
|
||||
|
||||
|
|
Loading…
Reference in New Issue