mirror_edk2/BaseTools/Source/C/LzmaCompress/Sdk/C
Gerd Hoffmann 85021f8cf2 BaseTools: fix gcc12 warning
Sdk/C/LzmaEnc.c: In function ?LzmaEnc_CodeOneMemBlock?:
Sdk/C/LzmaEnc.c:2828:19: error: storing the address of local variable ?outStream? in ?*p.rc.outStream? [-Werror=dangling-pointer=]
 2828 |   p->rc.outStream = &outStream.vt;
      |   ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
Sdk/C/LzmaEnc.c:2811:28: note: ?outStream? declared here
 2811 |   CLzmaEnc_SeqOutStreamBuf outStream;
      |                            ^~~~~~~~~
Sdk/C/LzmaEnc.c:2811:28: note: ?pp? declared here
Sdk/C/LzmaEnc.c:2828:19: error: storing the address of local variable ?outStream? in ?*(CLzmaEnc *)pp.rc.outStream? [-Werror=dangling-pointer=]
 2828 |   p->rc.outStream = &outStream.vt;
      |   ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
Sdk/C/LzmaEnc.c:2811:28: note: ?outStream? declared here
 2811 |   CLzmaEnc_SeqOutStreamBuf outStream;
      |                            ^~~~~~~~~
Sdk/C/LzmaEnc.c:2811:28: note: ?pp? declared here
cc1: all warnings being treated as errors

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
2022-03-28 00:51:30 +00:00
..
7zFile.c BaseTools Lzma: Update LZMA SDK version to 18.05 2018-10-09 09:31:09 +08:00
7zFile.h BaseTools Lzma: Update LZMA SDK version to 18.05 2018-10-09 09:31:09 +08:00
7zStream.c BaseTools Lzma: Update LZMA SDK version to 18.05 2018-10-09 09:31:09 +08:00
7zTypes.h BaseTools LzmaCompress: Update LZMA to new 19.00 version 2021-01-08 10:03:53 +00:00
7zVersion.h BaseTools LzmaCompress: Update LZMA to new 19.00 version 2021-01-08 10:03:53 +00:00
Alloc.c BaseTools Lzma: Update LZMA SDK version to 18.05 2018-10-09 09:31:09 +08:00
Alloc.h BaseTools Lzma: Update LZMA SDK version to 18.05 2018-10-09 09:31:09 +08:00
Bra86.c BaseTools Lzma: Update LZMA SDK version to 18.05 2018-10-09 09:31:09 +08:00
Bra.h BaseTools LzmaCompress: Update LZMA to new 16.04 version 2016-11-03 10:21:15 +08:00
Compiler.h BaseTools Lzma: Update LZMA SDK version to 18.05 2018-10-09 09:31:09 +08:00
CpuArch.h BaseTools LzmaCompress: Update LZMA to new 19.00 version 2021-01-08 10:03:53 +00:00
LzFind.c BaseTools LzmaCompress: Update LZMA to new 19.00 version 2021-01-08 10:03:53 +00:00
LzFind.h BaseTools Lzma: Update LZMA SDK version to 18.05 2018-10-09 09:31:09 +08:00
LzFindMt.c BaseTools LzmaCompress: Update LZMA to new 19.00 version 2021-01-08 10:03:53 +00:00
LzFindMt.h BaseTools LzmaCompress: Update LZMA to new 19.00 version 2021-01-08 10:03:53 +00:00
LzHash.h BaseTools LzmaCompress: Update LZMA to new 16.04 version 2016-11-03 10:21:15 +08:00
LzmaDec.c BaseTools LzmaCompress: Update LZMA to new 19.00 version 2021-01-08 10:03:53 +00:00
LzmaDec.h BaseTools Lzma: Update LZMA SDK version to 18.05 2018-10-09 09:31:09 +08:00
LzmaEnc.c BaseTools: fix gcc12 warning 2022-03-28 00:51:30 +00:00
LzmaEnc.h BaseTools: Various typo 2019-02-14 10:02:28 +08:00
Precomp.h BaseTools LzmaCompress: Update LZMA to new 16.04 version 2016-11-03 10:21:15 +08:00
Threads.c BaseTools Lzma: Update LZMA SDK version to 18.05 2018-10-09 09:31:09 +08:00
Threads.h BaseTools Lzma: Update LZMA SDK version to 18.05 2018-10-09 09:31:09 +08:00