mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-07-28 23:16:15 -04:00
flint++ static analyzer detected items (not all that were likely legit positives, but a start) as well as some clang detected unused vars, cleanup_
This commit is contained in:
@@ -124,14 +124,6 @@
|
||||
namespace TangibleObjectNamespace
|
||||
{
|
||||
int const s_minCombatDuration = 4;
|
||||
const int NUM_DAMAGE_TYPES = 9;
|
||||
|
||||
const int s_ignoreDamageTypes =
|
||||
static_cast<int>(ServerArmorTemplate::DT_environmental_heat) |
|
||||
static_cast<int>(ServerArmorTemplate::DT_environmental_cold) |
|
||||
static_cast<int>(ServerArmorTemplate::DT_environmental_acid) |
|
||||
static_cast<int>(ServerArmorTemplate::DT_environmental_electrical);
|
||||
|
||||
bool isEmpty(const ServerObject& obj)
|
||||
{
|
||||
const Container* container = obj.getContainerProperty();
|
||||
|
||||
Reference in New Issue
Block a user