Advertisement
Guest User

Untitled

a guest
Sep 24th, 2012
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.96 KB | None | 0 0
  1. [lib/CArtHandler.h:126]: (performance) Function parameter 'al' should be passed by reference.
  2. [lib/CArtHandler.h:174]: (performance) Function parameter 'al' should be passed by reference.
  3. [AI/BattleAI/main.cpp:35]: (style) C-style pointer casting
  4. [AI/EmptyAI/exp_funcs.cpp:28]: (style) C-style pointer casting
  5. [AI/StupidAI/main.cpp:35]: (style) C-style pointer casting
  6. [AI/VCAI/Fuzzy.cpp:105]: (style) Exception should be caught by reference.
  7. [AI/VCAI/Fuzzy.cpp:181]: (style) Exception should be caught by reference.
  8. [AI/VCAI/Fuzzy.cpp:185]: (style) Exception should be caught by reference.
  9. [AI/VCAI/Fuzzy.cpp:216]: (style) Exception should be caught by reference.
  10. [AI/VCAI/Fuzzy.cpp:228]: (style) Exception should be caught by reference.
  11. [AI/VCAI/Fuzzy.cpp:271]: (style) Exception should be caught by reference.
  12. [AI/VCAI/VCAI.cpp:1817]: (error) Possible null pointer dereference: h - otherwise it is redundant to check if h is null at line 1809
  13. [AI/VCAI/VCAI.h:315]: (style) C-style pointer casting
  14. [AI/VCAI/VCAI.cpp:350]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary
  15. [AI/VCAI/VCAI.cpp:1107]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary
  16. [AI/VCAI/VCAI.cpp:1798]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary
  17. [AI/VCAI/VCAI.cpp:3477]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary
  18. [AI/VCAI/VCAI.cpp:3494]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary
  19. [AI/VCAI/VCAI.cpp:3504]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary
  20. [lib/CGameState.h:480]: (performance) Function parameter 'qi' should be passed by reference.
  21. [lib/NetPacks.h:224]: (performance) Function parameter 'Text' should be passed by reference.
  22. [AI/VCAI/VCAI.cpp:1537]: (performance) Function parameter 'goal' should be passed by reference.
  23. [AI/VCAI/VCAI.cpp:1553]: (performance) Function parameter 'goal' should be passed by reference.
  24. [AI/VCAI/VCAI.h:342]: (performance) Function parameter 'goal' should be passed by reference.
  25. [AI/VCAI/VCAI.h:344]: (performance) Function parameter 'goal' should be passed by reference.
  26. [Scripting/ERM/ERMInterpreter.h:133]: (style) The struct 'FunctionLocalVars' does not have a constructor.
  27. [Scripting/ERM/ERMInterpreter.h:552]: (warning) Member variable 'VFunc::option' is not assigned a value in 'VFunc::operator='
  28. [Scripting/ERM/ERMInterpreter.h:552]: (warning) Member variable 'VFunc::macro' is not assigned a value in 'VFunc::operator='
  29. [client/AdventureMapClasses.cpp:892]: (performance) Function parameter 'comp' should be passed by reference.
  30. [client/AdventureMapClasses.cpp:791]: (performance) Function parameter 'compToDisplay' should be passed by reference.
  31. [lib/Filesystem/CResourceLoader.h:379]: (performance) Function parameter 'fsConfigURI' should be passed by reference.
  32. [lib/Filesystem/CResourceLoader.h:380]: (performance) Function parameter 'mountPoint' should be passed by reference.
  33. [lib/Filesystem/CResourceLoader.h:381]: (performance) Function parameter 'mountPoint' should be passed by reference.
  34. [client/CConfigHandler.h:71]: (performance) Function parameter 'changedPath' should be passed by reference.
  35. [client/BattleInterface/CBattleAnimations.cpp:94]: (warning) Comparison of a boolean with integer that is neither 1 nor 0
  36. [client/BattleInterface/CBattleAnimations.cpp:536]: (warning) Comparison of a boolean with integer that is neither 1 nor 0
  37. [client/BattleInterface/CBattleInterface.cpp:1144]: (style) Statements following return, break, continue, goto or throw will never be executed
  38. [client/BattleInterface/CBattleInterface.cpp:1147]: (style) Statements following return, break, continue, goto or throw will never be executed
  39. [client/CCastleInterface.h:191]: (style) The class 'CCastleInterface' does not have a constructor.
  40. [client/CCastleInterface.h:233]: (style) The class 'CHallInterface' does not have a constructor.
  41. [client/CCastleInterface.h:297]: (style) The class 'CFortScreen' does not have a constructor.
  42. [client/CCastleInterface.h:337]: (style) The class 'CMageGuildScreen' does not have a constructor.
  43. [client/AdventureMapClasses.h:298]: (performance) Function parameter 'comp' should be passed by reference.
  44. [client/AdventureMapClasses.h:266]: (performance) Function parameter 'comp' should be passed by reference.
  45. [client/CConfigHandler.cpp:121]: (performance) Function parameter 'changedPath' should be passed by reference.
  46. [client/CCreatureWindow.cpp:474]: (style) Unused variable: gfxName
  47. [client/CHeroWindow.cpp:375]: (style) Clarify calculation precedence for % and ?
  48. [client/CHeroWindow.cpp:376]: (style) Clarify calculation precedence for % and ?
  49. [client/CPreGame.cpp:154] -> [client/CPreGame.cpp:154]: (style) Same expression on both sides of '||'.
  50. [client/CVideoHandler.cpp:320]: (style) Variable 'h' is assigned a value that is never used
  51. [client/GUIClasses.cpp:5096] -> [client/CPreGame.h:35]: (style) Variable '_size' hides enumerator with same name
  52. [client/GUIClasses.cpp:2075]: (style) C-style pointer casting
  53. [client/GUIClasses.cpp:5348]: (warning) Redundant code: Found a statement that begins with string constant
  54. [client/GUIClasses.cpp:5357]: (warning) Redundant code: Found a statement that begins with string constant
  55. [client/Graphics.cpp:231]: (style) Variable 'name' is assigned a value that is never used
  56. [client/UIFramework/CIntObjectClasses.cpp:1769]: (warning) Comparison of a boolean with integer that is neither 1 nor 0
  57. [client/mapHandler.cpp:887]: (style) Variable 'cmp' is not assigned a value
  58. [lib/BattleHex.cpp:12]: (style) Clarify calculation precedence for % and ?
  59. [lib/BattleHex.cpp:15]: (style) Clarify calculation precedence for % and ?
  60. [lib/BattleHex.cpp:21]: (style) Clarify calculation precedence for % and ?
  61. [lib/BattleHex.cpp:24]: (style) Clarify calculation precedence for % and ?
  62. [lib/BattleHex.cpp:53]: (style) Clarify calculation precedence for % and ?
  63. [lib/BattleHex.cpp:54]: (style) Clarify calculation precedence for % and ?
  64. [lib/BattleHex.cpp:57]: (style) Clarify calculation precedence for % and ?
  65. [lib/BattleHex.cpp:58]: (style) Clarify calculation precedence for % and ?
  66. [lib/BattleHex.cpp:65]: (style) Clarify calculation precedence for % and ?
  67. [lib/BattleHex.cpp:67]: (style) Clarify calculation precedence for % and ?
  68. [lib/BattleHex.cpp:73]: (style) Clarify calculation precedence for % and ?
  69. [lib/BattleHex.cpp:75]: (style) Clarify calculation precedence for % and ?
  70. [lib/BattleState.cpp:1426]: (style) Clarify calculation precedence for % and ?
  71. [lib/BattleState.cpp:1427]: (style) Clarify calculation precedence for % and ?
  72. [lib/BattleState.cpp:1428]: (style) Clarify calculation precedence for % and ?
  73. [lib/BattleState.cpp:1431]: (style) Clarify calculation precedence for % and ?
  74. [lib/BattleState.cpp:1432]: (style) Clarify calculation precedence for % and ?
  75. [lib/BattleState.cpp:1433]: (style) Clarify calculation precedence for % and ?
  76. [lib/BattleState.cpp:1437]: (style) Clarify calculation precedence for % and ?
  77. [lib/BattleState.cpp:1438]: (style) Clarify calculation precedence for % and ?
  78. [lib/BattleState.cpp:1439]: (style) Clarify calculation precedence for % and ?
  79. [lib/BattleState.cpp:1442]: (style) Clarify calculation precedence for % and ?
  80. [lib/BattleState.cpp:1443]: (style) Clarify calculation precedence for % and ?
  81. [lib/BattleState.cpp:1444]: (style) Clarify calculation precedence for % and ?
  82. [lib/CArtHandler.cpp:1094]: (performance) Function parameter 'al' should be passed by reference.
  83. [lib/CArtHandler.cpp:1362]: (performance) Function parameter 'al' should be passed by reference.
  84. [lib/CBattleCallback.cpp:1327]: (style) Clarify calculation precedence for % and ?
  85. [lib/CCreatureHandler.cpp:162]: (style) Variable 'tmp' is assigned a value that is never used
  86. [lib/CCreatureHandler.cpp:66]: (warning) A boolean comparison with the string literal "Wrong countID!" is always true.
  87. [lib/CCreatureSet.cpp:273]: (style) Statements following return, break, continue, goto or throw will never be executed
  88. [lib/CCreatureSet.cpp:440]: (warning) Member variable 'CCreatureSet::stacks' is not assigned a value in 'CCreatureSet::operator='
  89. [lib/CCreatureSet.cpp:440]: (warning) Member variable 'CCreatureSet::formation' is not assigned a value in 'CCreatureSet::operator='
  90. [lib/CObjectHandler.cpp:2331] -> [lib/CObjectHandler.cpp:2326]: (style) Found duplicate if expressions.
  91. [lib/CObjectHandler.cpp:1503]: (style) Unused variable: hlp
  92. [lib/CSpellHandler.cpp:58]: (style) Clarify calculation precedence for % and ?
  93. [lib/CSpellHandler.cpp:60]: (style) Clarify calculation precedence for % and ?
  94. [lib/CSpellHandler.cpp:64]: (style) Clarify calculation precedence for % and ?
  95. [lib/CSpellHandler.cpp:66]: (style) Clarify calculation precedence for % and ?
  96. [lib/JsonNode.cpp:367]: (error) instance of "JsonWriter" object destroyed immediately
  97. [lib/NetPacksLib.cpp:190]: (style) C-style pointer casting
  98. [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