Skip to content

Cleanup clang warnings

Alan Coopersmith requested to merge alanc/xf86-video-mga:clang into master

Clears up 64 -Wextra-semi-stmt warnings and one -Wunused-function warning from clang 13.0.1

  • BOUND & REBOUND: add do ... while (0) to avoid -Wextra-semi-stmt warnings
  • CHECK_DMA_QUIESCENT: add do ... while (0) to avoid -Wextra-semi-stmt warnings
  • WAITFIFO: add do { ... } while (0) to avoid -Wextra-semi-stmt warnings
  • PMGA & QUIESCE_DMA: Remove ; from end of macro definitions
  • Remove semicolons without statements
  • mga_bios: remove unused get_u32 inline function

Merge request reports

Loading