Added unreachable lines backit prtected by preprocessor guards
This commit is contained in:
@@ -30,7 +30,13 @@ AString cObjective::TypeToString(eType a_Type)
|
||||
case otStatBlockMine: return "stat.mineBlock";
|
||||
case otStatEntityKill: return "stat.killEntity";
|
||||
case otStatEntityKilledBy: return "stat.entityKilledBy";
|
||||
|
||||
// clang optimisises this line away then warns that it has done so.
|
||||
#if !defined(__clang__)
|
||||
default: return "";
|
||||
#endif
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user