diff options
author | Mike Maslenkin <mike.maslenkin@gmail.com> | 2025-01-09 23:25:08 +0300 |
---|---|---|
committer | Ard Biesheuvel <workofard@gmail.com> | 2025-01-29 17:20:57 +0100 |
commit | 755d4b9397644e24f592b261213909bc9e50996d (patch) | |
tree | 0c05debc4676c318970997fb3ed787dd19676515 /OvmfPkg/PlatformHasAcpiDtDxe | |
parent | ceb87029c50a3fbd59c4ef3e0990da7559fd6ae5 (diff) | |
download | edk2-755d4b9397644e24f592b261213909bc9e50996d.tar.gz |
OvmfPkg: fix warning about uninitialized variable
GenericQemuLoadImageLib.c: In function 'QemuLoadKernelImage':
GenericQemuLoadImageLib.c:323:5: error: 'CommandLine' may be used
uninitialized in this function [-Werror=maybe-uninitialized]
UnicodeSPrintAsciiFormat (
^~~~~~~~~~~~~~~~~~~~~~~~~~
KernelLoadedImage->LoadOptions,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
KernelLoadedImage->LoadOptionsSize,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"%a%a",
~~~~~~~
(CommandLineSize == 0) ? "" : CommandLine,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(InitrdSize == 0) ? "" : " initrd=initrd"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
);
~
cc1: all warnings being treated as errors
Signed-off-by: Mike Maslenkin <mike.maslenkin@gmail.com>
Diffstat (limited to 'OvmfPkg/PlatformHasAcpiDtDxe')
0 files changed, 0 insertions, 0 deletions