feature: badge system #3154
Annotations
1 error and 8 warnings
cppcheck
Process completed with exit code 1.
|
cppcheck:
src/game/game.hpp#L720
[cppcheck] reported by reviewdog 🐶
Function parameter 'name' should be passed by const reference.
Raw Output:
src/game/game.hpp:720:Function parameter 'name' should be passed by const reference.
|
cppcheck:
src/game/game.hpp#L727
[cppcheck] reported by reviewdog 🐶
Function parameter 'maleName' should be passed by const reference.
Raw Output:
src/game/game.hpp:727:Function parameter 'maleName' should be passed by const reference.
|
cppcheck:
src/game/game.hpp#L727
[cppcheck] reported by reviewdog 🐶
Function parameter 'femaleName' should be passed by const reference.
Raw Output:
src/game/game.hpp:727:Function parameter 'femaleName' should be passed by const reference.
|
cppcheck:
src/game/game.hpp#L727
[cppcheck] reported by reviewdog 🐶
Function parameter 'description' should be passed by const reference.
Raw Output:
src/game/game.hpp:727:Function parameter 'description' should be passed by const reference.
|
cppcheck:
src/creatures/players/cyclopedia/player_cyclopedia.cpp#L18
[cppcheck] reported by reviewdog 🐶
Member variable 'PlayerCyclopedia::m_currentTitle' is not initialized in the constructor.
Raw Output:
src/creatures/players/cyclopedia/player_cyclopedia.cpp:18:Member variable 'PlayerCyclopedia::m_currentTitle' is not initialized in the constructor.
|
cppcheck:
src/creatures/players/cyclopedia/player_cyclopedia.cpp#L88
[cppcheck] reported by reviewdog 🐶
The function 'getDeathHistory' is never used.
Raw Output:
src/creatures/players/cyclopedia/player_cyclopedia.cpp:88:The function 'getDeathHistory' is never used.
|
cppcheck:
src/creatures/players/cyclopedia/player_cyclopedia.cpp#L96
[cppcheck] reported by reviewdog 🐶
The function 'getPvpKillsHistory' is never used.
Raw Output:
src/creatures/players/cyclopedia/player_cyclopedia.cpp:96:The function 'getPvpKillsHistory' is never used.
|
cppcheck:
src/creatures/players/cyclopedia/player_cyclopedia.cpp#L60
[cppcheck] reported by reviewdog 🐶
The function 'setCurrentTitle' is never used.
Raw Output:
src/creatures/players/cyclopedia/player_cyclopedia.cpp:60:The function 'setCurrentTitle' is never used.
|
Loading