Assorted compiler warning fixes and other cleanups
-
doDirectory
: add missing check formalloc()
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