Skip to content

Assorted fixes for gcc 12 warnings

Alan Coopersmith requested to merge alanc/libxkbfile:misc into master
  • _XkbMakeAtom: remove check for impossible case
  • _XkbInitAtoms: check for malloc() failure
  • XkbChangeAtomDisplay: stop leaking atom name
  • XkbCFReportError: avoid -Wformat-nonliteral warning
  • XkbWriteCFile: stop leaking header file ifdef name
  • DefaultParser: avoid -Wimplicit-fallthrough warnings
  • xkbtext.c: Add tbGetBufferString helper function
  • XkbIndentText: Fix -Wsign-compare warning
  • Fix -Wsign-compare warnings in xkbtext.c & xkmread.c

Merge request reports