mirror of
https://git.proxmox.com/git/efi-boot-shim
synced 2025-06-13 17:40:06 +00:00
Fix some volatile usage gcc whines about.
Signed-off-by: Peter Jones <pjones@redhat.com> Upstream: pr#212
This commit is contained in:
parent
7b77bee796
commit
d3b7dc54cd
@ -983,7 +983,7 @@ debug_hook(void)
|
||||
UINT8 *data = NULL;
|
||||
UINTN dataSize = 0;
|
||||
EFI_STATUS efi_status;
|
||||
volatile register int x = 0;
|
||||
register volatile int x = 0;
|
||||
extern char _etext, _edata;
|
||||
|
||||
efi_status = get_variable(L"SHIM_DEBUG", &data, &dataSize,
|
||||
|
Loading…
Reference in New Issue
Block a user