On 05/09/21 19:42, Rebecca Cran wrote: > Similarly the build is also failing with GCC49, using gcc 4.9.2: > > /edk2/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.c: In > function 'ShellSortFileList': > Building ... > /edk2/OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf [X64] > /edk2/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.c:2202:19: > error: > 'Dupes' may be used uninitialized in this function > [-Werror=maybe-uninitialized] > *Duplicates = Dupes; > ^ > >
This was reported earlier in: https://bugzilla.tianocore.org/show_bug.cgi?id=3228 and Sergei proposed a patch for nulling "Dupes" (among other things) in an attachment on that BZ. See my feedback in <https://bugzilla.tianocore.org/show_bug.cgi?id=3228#c6>. Thanks Laszlo -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#74876): https://edk2.groups.io/g/devel/message/74876 Mute This Topic: https://groups.io/mt/82685248/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-