> On Aug 20, 2024, at 2:26 AM, Mehdi Gürel <mehdigu...@gmail.com> wrote: > > In the last changes you made, you set a default bool variable in the else > statement. That's why I'm getting a warning message. When I tried changing > the compiler flag it didn't work. > > export CFLAGS="-O2 -Wall -Wno-error" >
Does setting the env variable even work? > Do you have any advice on this subject? Thank you very much in advance. > edk2-stable202405 > > > /edk2/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/Arm/StandaloneMmCoreEntryPoint.c:208:8: > error: ‘FfaEnabled’ may be used uninitialized [-Werror=maybe-uninitialized] > | 208 | if (FfaEnabled) { > | | ^ > | > /edk2/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/Arm/StandaloneMmCoreEntryPoint.c:127:15: > note: ‘FfaEnabled’ was declared here > | 127 | BOOLEAN FfaEnabled; > | | ^~~~~~~~~~ > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120381): https://edk2.groups.io/g/devel/message/120381 Mute This Topic: https://groups.io/mt/108008399/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-