Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [lib/CArtHandler.h:126]: (performance) Function parameter 'al' should be passed by reference.
- [lib/CArtHandler.h:174]: (performance) Function parameter 'al' should be passed by reference.
- [AI/BattleAI/main.cpp:35]: (style) C-style pointer casting
- [AI/EmptyAI/exp_funcs.cpp:28]: (style) C-style pointer casting
- [AI/StupidAI/main.cpp:35]: (style) C-style pointer casting
- [AI/VCAI/Fuzzy.cpp:105]: (style) Exception should be caught by reference.
- [AI/VCAI/Fuzzy.cpp:181]: (style) Exception should be caught by reference.
- [AI/VCAI/Fuzzy.cpp:185]: (style) Exception should be caught by reference.
- [AI/VCAI/Fuzzy.cpp:216]: (style) Exception should be caught by reference.
- [AI/VCAI/Fuzzy.cpp:228]: (style) Exception should be caught by reference.
- [AI/VCAI/Fuzzy.cpp:271]: (style) Exception should be caught by reference.
- [AI/VCAI/VCAI.cpp:1817]: (error) Possible null pointer dereference: h - otherwise it is redundant to check if h is null at line 1809
- [AI/VCAI/VCAI.h:315]: (style) C-style pointer casting
- [AI/VCAI/VCAI.cpp:350]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary
- [AI/VCAI/VCAI.cpp:1107]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary
- [AI/VCAI/VCAI.cpp:1798]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary
- [AI/VCAI/VCAI.cpp:3477]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary
- [AI/VCAI/VCAI.cpp:3494]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary
- [AI/VCAI/VCAI.cpp:3504]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary
- [lib/CGameState.h:480]: (performance) Function parameter 'qi' should be passed by reference.
- [lib/NetPacks.h:224]: (performance) Function parameter 'Text' should be passed by reference.
- [AI/VCAI/VCAI.cpp:1537]: (performance) Function parameter 'goal' should be passed by reference.
- [AI/VCAI/VCAI.cpp:1553]: (performance) Function parameter 'goal' should be passed by reference.
- [AI/VCAI/VCAI.h:342]: (performance) Function parameter 'goal' should be passed by reference.
- [AI/VCAI/VCAI.h:344]: (performance) Function parameter 'goal' should be passed by reference.
- [Scripting/ERM/ERMInterpreter.h:133]: (style) The struct 'FunctionLocalVars' does not have a constructor.
- [Scripting/ERM/ERMInterpreter.h:552]: (warning) Member variable 'VFunc::option' is not assigned a value in 'VFunc::operator='
- [Scripting/ERM/ERMInterpreter.h:552]: (warning) Member variable 'VFunc::macro' is not assigned a value in 'VFunc::operator='
- [client/AdventureMapClasses.cpp:892]: (performance) Function parameter 'comp' should be passed by reference.
- [client/AdventureMapClasses.cpp:791]: (performance) Function parameter 'compToDisplay' should be passed by reference.
- [lib/Filesystem/CResourceLoader.h:379]: (performance) Function parameter 'fsConfigURI' should be passed by reference.
- [lib/Filesystem/CResourceLoader.h:380]: (performance) Function parameter 'mountPoint' should be passed by reference.
- [lib/Filesystem/CResourceLoader.h:381]: (performance) Function parameter 'mountPoint' should be passed by reference.
- [client/CConfigHandler.h:71]: (performance) Function parameter 'changedPath' should be passed by reference.
- [client/BattleInterface/CBattleAnimations.cpp:94]: (warning) Comparison of a boolean with integer that is neither 1 nor 0
- [client/BattleInterface/CBattleAnimations.cpp:536]: (warning) Comparison of a boolean with integer that is neither 1 nor 0
- [client/BattleInterface/CBattleInterface.cpp:1144]: (style) Statements following return, break, continue, goto or throw will never be executed
- [client/BattleInterface/CBattleInterface.cpp:1147]: (style) Statements following return, break, continue, goto or throw will never be executed
- [client/CCastleInterface.h:191]: (style) The class 'CCastleInterface' does not have a constructor.
- [client/CCastleInterface.h:233]: (style) The class 'CHallInterface' does not have a constructor.
- [client/CCastleInterface.h:297]: (style) The class 'CFortScreen' does not have a constructor.
- [client/CCastleInterface.h:337]: (style) The class 'CMageGuildScreen' does not have a constructor.
- [client/AdventureMapClasses.h:298]: (performance) Function parameter 'comp' should be passed by reference.
- [client/AdventureMapClasses.h:266]: (performance) Function parameter 'comp' should be passed by reference.
- [client/CConfigHandler.cpp:121]: (performance) Function parameter 'changedPath' should be passed by reference.
- [client/CCreatureWindow.cpp:474]: (style) Unused variable: gfxName
- [client/CHeroWindow.cpp:375]: (style) Clarify calculation precedence for % and ?
- [client/CHeroWindow.cpp:376]: (style) Clarify calculation precedence for % and ?
- [client/CPreGame.cpp:154] -> [client/CPreGame.cpp:154]: (style) Same expression on both sides of '||'.
- [client/CVideoHandler.cpp:320]: (style) Variable 'h' is assigned a value that is never used
- [client/GUIClasses.cpp:5096] -> [client/CPreGame.h:35]: (style) Variable '_size' hides enumerator with same name
- [client/GUIClasses.cpp:2075]: (style) C-style pointer casting
- [client/GUIClasses.cpp:5348]: (warning) Redundant code: Found a statement that begins with string constant
- [client/GUIClasses.cpp:5357]: (warning) Redundant code: Found a statement that begins with string constant
- [client/Graphics.cpp:231]: (style) Variable 'name' is assigned a value that is never used
- [client/UIFramework/CIntObjectClasses.cpp:1769]: (warning) Comparison of a boolean with integer that is neither 1 nor 0
- [client/mapHandler.cpp:887]: (style) Variable 'cmp' is not assigned a value
- [lib/BattleHex.cpp:12]: (style) Clarify calculation precedence for % and ?
- [lib/BattleHex.cpp:15]: (style) Clarify calculation precedence for % and ?
- [lib/BattleHex.cpp:21]: (style) Clarify calculation precedence for % and ?
- [lib/BattleHex.cpp:24]: (style) Clarify calculation precedence for % and ?
- [lib/BattleHex.cpp:53]: (style) Clarify calculation precedence for % and ?
- [lib/BattleHex.cpp:54]: (style) Clarify calculation precedence for % and ?
- [lib/BattleHex.cpp:57]: (style) Clarify calculation precedence for % and ?
- [lib/BattleHex.cpp:58]: (style) Clarify calculation precedence for % and ?
- [lib/BattleHex.cpp:65]: (style) Clarify calculation precedence for % and ?
- [lib/BattleHex.cpp:67]: (style) Clarify calculation precedence for % and ?
- [lib/BattleHex.cpp:73]: (style) Clarify calculation precedence for % and ?
- [lib/BattleHex.cpp:75]: (style) Clarify calculation precedence for % and ?
- [lib/BattleState.cpp:1426]: (style) Clarify calculation precedence for % and ?
- [lib/BattleState.cpp:1427]: (style) Clarify calculation precedence for % and ?
- [lib/BattleState.cpp:1428]: (style) Clarify calculation precedence for % and ?
- [lib/BattleState.cpp:1431]: (style) Clarify calculation precedence for % and ?
- [lib/BattleState.cpp:1432]: (style) Clarify calculation precedence for % and ?
- [lib/BattleState.cpp:1433]: (style) Clarify calculation precedence for % and ?
- [lib/BattleState.cpp:1437]: (style) Clarify calculation precedence for % and ?
- [lib/BattleState.cpp:1438]: (style) Clarify calculation precedence for % and ?
- [lib/BattleState.cpp:1439]: (style) Clarify calculation precedence for % and ?
- [lib/BattleState.cpp:1442]: (style) Clarify calculation precedence for % and ?
- [lib/BattleState.cpp:1443]: (style) Clarify calculation precedence for % and ?
- [lib/BattleState.cpp:1444]: (style) Clarify calculation precedence for % and ?
- [lib/CArtHandler.cpp:1094]: (performance) Function parameter 'al' should be passed by reference.
- [lib/CArtHandler.cpp:1362]: (performance) Function parameter 'al' should be passed by reference.
- [lib/CBattleCallback.cpp:1327]: (style) Clarify calculation precedence for % and ?
- [lib/CCreatureHandler.cpp:162]: (style) Variable 'tmp' is assigned a value that is never used
- [lib/CCreatureHandler.cpp:66]: (warning) A boolean comparison with the string literal "Wrong countID!" is always true.
- [lib/CCreatureSet.cpp:273]: (style) Statements following return, break, continue, goto or throw will never be executed
- [lib/CCreatureSet.cpp:440]: (warning) Member variable 'CCreatureSet::stacks' is not assigned a value in 'CCreatureSet::operator='
- [lib/CCreatureSet.cpp:440]: (warning) Member variable 'CCreatureSet::formation' is not assigned a value in 'CCreatureSet::operator='
- [lib/CObjectHandler.cpp:2331] -> [lib/CObjectHandler.cpp:2326]: (style) Found duplicate if expressions.
- [lib/CObjectHandler.cpp:1503]: (style) Unused variable: hlp
- [lib/CSpellHandler.cpp:58]: (style) Clarify calculation precedence for % and ?
- [lib/CSpellHandler.cpp:60]: (style) Clarify calculation precedence for % and ?
- [lib/CSpellHandler.cpp:64]: (style) Clarify calculation precedence for % and ?
- [lib/CSpellHandler.cpp:66]: (style) Clarify calculation precedence for % and ?
- [lib/JsonNode.cpp:367]: (error) instance of "JsonWriter" object destroyed immediately
- [lib/NetPacksLib.cpp:190]: (style) C-style pointer casting
- [server/CGameHandler.cpp:3994]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement