Scan-Build errors