fix: warning build ubuntu #8775
Annotations
10 warnings
Run CMake:
src/creatures/combat/combat.cpp#L985
enumeration value ‘WEAPON_NONE’ not handled in switch [-Wswitch]
|
Run CMake:
src/creatures/combat/combat.cpp#L985
enumeration value ‘WEAPON_SHIELD’ not handled in switch [-Wswitch]
|
Run CMake:
src/creatures/combat/combat.cpp#L985
enumeration value ‘WEAPON_DISTANCE’ not handled in switch [-Wswitch]
|
Run CMake:
src/creatures/combat/combat.cpp#L985
enumeration value ‘WEAPON_WAND’ not handled in switch [-Wswitch]
|
Run CMake:
src/creatures/combat/combat.cpp#L985
enumeration value ‘WEAPON_AMMO’ not handled in switch [-Wswitch]
|
Run CMake:
src/creatures/combat/combat.cpp#L985
enumeration value ‘WEAPON_MISSILE’ not handled in switch [-Wswitch]
|
Run CMake:
src/creatures/combat/combat.cpp#L2118
unused parameter ‘params’ [-Wunused-parameter]
|
Run CMake:
src/creatures/combat/condition.cpp#L60
unused parameter ‘param’ [-Wunused-parameter]
|
Run CMake:
src/creatures/combat/condition.cpp#L60
unused parameter ‘pos’ [-Wunused-parameter]
|
Run CMake:
src/creatures/creature.cpp#L714
suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
|
Loading