Skip to content

bzlib: Fix -Wunused-parameter warnings

This commit fixes the following warnings:

  /path/to/bzip2/bzlib.c: In function ‘default_bzalloc’:
  /path/to/bzip2/bzlib.c:104:31: warning: unused parameter ‘opaque’ [-Wunused-parameter]
    104 | void* default_bzalloc ( void* opaque, Int32 items, Int32 size )
        |                         ~~~~~~^~~~~~
  /path/to/bzip2/bzlib.c: In function ‘default_bzfree’:
  /path/to/bzip2/bzlib.c:111:29: warning: unused parameter ‘opaque’ [-Wunused-parameter]
    111 | void default_bzfree ( void* opaque, void* addr )
        |                       ~~~~~~^~~~~~
  /path/to/bzip2/bzlib.c: In function ‘BZ2_bzflush’:
  /path/to/bzip2/bzlib.c:1514:34: warning: unused parameter ‘b’ [-Wunused-parameter]
   1514 | int BZ_API(BZ2_bzflush) (BZFILE *b)
        |                          ~~~~~~~~^

Merge request reports

Loading