Skip to content

Assorted compiler warning fixes and other cleanups

Alan Coopersmith requested to merge alanc/mkfontscale:misc into master
  • doDirectory: add missing check for malloc() returning NULL
  • mkfontscale.c: handle -Wshadow warnings from gcc
  • ident.c: clear -Wdeclaration-after-statement warning
  • Variable scope reductions as recommended by cppcheck
  • Resolve some -Wsign-conversion warnings from clang
  • Fix -Wimplicit-float-conversion warnings from clang

Merge request reports