mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
MdeModulePkg: fix warning about uninitialized variable
Handle.c:1302:24: error: 'Prot' may be used uninitialized in this function [-Werror=maybe-uninitialized] *Interface = Prot->Interface; ~~~~^~~~~~~~~~~ cc1: all warnings being treated as errors Signed-off-by: Mike Maslenkin <mike.maslenkin@gmail.com>
This commit is contained in:
parent
a5cb67fb8d
commit
0f12a5f722
@ -1107,6 +1107,8 @@ CoreOpenProtocol (
|
||||
return EFI_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
Prot = NULL;
|
||||
|
||||
//
|
||||
// Lock the protocol database
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user