fs2open: trunk r7614

Author Committer Branch Timestamp Parent
Goober5000 trunk 2011-09-02 21:05 Pending
Changeset PVS-Studio fix: V805 Decreased performance. It is inefficient to identify an empty string by using 'strlen(str) != 0' construct. A more efficient way is to check: str[0] != '\0'.
(and sorry Kazan, you don't get to call your for statement a work of art if you use strlen inefficiently)
mod - /trunk/fs2_open/code/cfile/cfilesystem.cpp Diff File
mod - /trunk/fs2_open/code/mission/missionparse.cpp Diff File