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"*
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 (#120380): https://edk2.groups.io/g/devel/message/120380
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]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to