diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2018-06-09 17:50:18 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2018-06-14 10:52:14 +0200 |
commit | 44ab2d325b79d3ce6123495c5ce52410655a58fb (patch) | |
tree | 195bbf19af1d7168d048e4404584e840dde099fc /include/xyzModem.h | |
parent | 2d2b5b2d007769ba48fd31223997df1d6b662c78 (diff) |
efi_loader: avoid initializer element is not constant
When building with -pedantic the current definition of EFI_GUID() causes
an error 'initializer element is not constant'.
Currently EFI_GUID() is used both as an anonymous constant and as an
intializer. A conversion to efi_guid_t is not allowable when using
EFI_GUID() as an initializer. But it is needed when using it as an
anonymous constant.
We should not use EFI_GUID() for anything but an initializer. So let's
introduce a variable where needed and remove the conversion.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/xyzModem.h')
0 files changed, 0 insertions, 0 deletions