Fix some of the things clang --analyze flagged

This commit is contained in:
Tim Angus committed 2013-03-26 16:50:03 +00:00
1 parent 352cd151e0
commit 98360bcd57
34 files changed
+58 -112

No files matched your search

+1 -1
View File
@@ -635,7 +635,7 @@ R_ClusterPVS
==============
*/
static const byte *R_ClusterPVS (int cluster) {
if (!tr.world || !tr.world->vis || cluster < 0 || cluster >= tr.world->numClusters ) {
if (!tr.world->vis || cluster < 0 || cluster >= tr.world->numClusters ) {
return tr.world->novis;
}