Definitively a false positive:
it assumes g_fs->IsDirectory(mapfilename) is true (first) as well as false (second), although mapfilename was not changed inbetween. Maybe scan-build thinks Widelands is multithreaded where other branches might change one of the variables?
Definitively a false positive: ry(mapfilename) is true (first) as well as false (second), although mapfilename was not changed inbetween. Maybe scan-build thinks Widelands is multithreaded where other branches might change one of the variables?
it assumes g_fs->IsDirecto