Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 6bb2423a6f23fad3635278f55dab95adea371eee
      
https://github.com/tianocore/edk2/commit/6bb2423a6f23fad3635278f55dab95adea371eee
  Author: Mike Beaton <[email protected]>
  Date:   2025-11-22 (Sat, 22 Nov 2025)

  Changed paths:
    M MdeModulePkg/Library/BrotliCustomDecompressLib/BrotliDecompress.c

  Log Message:
  -----------
  MdeModulePkg/BrotliCustomDecompressLib: Correct BrotliDecompress

DestSize should have been received and passed as a pointer in order to
successfully pass the output value.

The existence of this error was spotted by XCODE5 toolchain, which gave:
BrotliDecompress.c:85:18: error: parameter 'DestSize' set but not used

As discussed in https://github.com/tianocore/edk2/pull/11729, since the
method is in fact internal and only called in one place, and since the
DestSize return value is in fact unused, instead of fixing the parameter
and method call we instead remove the parameter, also marking the method
STATIC and renaming it to ...Internal.

Signed-off-by: Mike Beaton <[email protected]>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to