Refactor syntax unicode analysis cleanups0

Minor cleanups suggested by problem reports from the Clang static analyser.

These generally consist of un-initialised variables. Hopefully changing them won't cause subtle problems elsewhere. Plenty more issues from the analyser remain; these were just the low-hanging fruit.