scan-build fixes to rdj-strgraph