scan-build fix