Skip to content

Assorted code cleanups

Alan Coopersmith requested to merge alanc/libxdamage:misc into master
  • Variable scope reduction as recommended by cppcheck
  • Mark two dpy parameters const as suggested by cppcheck
  • XDamageCloseDisplay: Mark codes as unused
  • Remove unnecessary casts from malloc() and free() calls
  • Handle -Wconversion warnings from clang
  • Handle -Wshorten-64-to-32 warnings from clang

Merge request reports