dominus

Untitled

Mar 28th, 2020
196
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Unused Entity Issue Group
  2. /Users/Dominus/Code/Git/exult-ios-playground/shapes/fontgen.cc:40:13: Unused function 'Gen_shadow'
  3.  
  4. Semantic Issue Group
  5.  
  6. /actors.h:685:17: Possible misuse of comma operator here
  7. /Users/Dominus/Code/Git/exult-ios-playground/readnpcs.cc:30:10: In file included from /Users/Dominus/Code/Git/exult-ios-playground/readnpcs.cc:30:
  8. /monsters.h:24:10: In file included from ../monsters.h:24:
  9. /actors.h:685:3: Cast expression to void to silence warning
  10. Code snippet:
  11. virtual void get_schedules(Schedule_change *&list, int &cnt) {
  12. list = nullptr, cnt = 0;
  13. }
  14.  
  15. /Users/Dominus/Code/Git/exult-ios-playground/objs/chunkter.cc:113:42: Possible misuse of comma operator here
  16. /Users/Dominus/Code/Git/exult-ios-playground/objs/chunkter.cc:113:5: Cast expression to void to silence warning
  17. code snip:
  18. Chunk_terrain::Chunk_terrain...
  19. } else {
  20. shnum = data[0] + 256 * (data[1] & 3),
  21.  
  22.  
  23. /Users/Dominus/Code/Git/exult-ios-playground/schedule.cc:4583:13: Possible misuse of comma operator here
  24. /Users/Dominus/Code/Git/exult-ios-playground/schedule.cc:4583:4: Cast expression to void to silence warning
  25. code snip:
  26. if (stove) // hide dough
  27. offX = -3, offY = 0, offZ = -2;
  28.  
  29.  
  30.  
  31. /Users/Dominus/Code/Git/exult-ios-playground/gamewin.cc:2127:30: Possible misuse of comma operator here
  32. /Users/Dominus/Code/Git/exult-ios-playground/gamewin.cc:2127:3: Cast expression to void to silence warning
  33. code snip:
  34. if (obj) {
  35. shnum = obj->get_shapenum(), frnum = obj->get_framenum();
  36.  
  37.  
  38. /Users/Dominus/Code/Git/exult-ios-playground/gamemap.cc:902:33: Possible misuse of comma operator here
  39. /Users/Dominus/Code/Git/exult-ios-playground/gamemap.cc:902:11: Cast expression to void to silence warning
  40. code snip:
  41. // Go through entries.
  42. while (((entlen = ireg->read1(), !ireg->eof()))) {
  43. int extended = 0; // 1 for 2-byte shape #'s.
  44.  
  45.  
  46. /Users/Dominus/Code/Git/exult-ios-playground/exult.cc:1767:24: Code will never be executed
  47. code snip:
  48. g_waiting_for_click = false;
  49. return false; // Shouldn't get here.
  50.  
  51.  
  52. /Users/Dominus/Code/Git/exult-ios-playground/exult.cc:2148:9: Possible misuse of comma operator here
  53. /Users/Dominus/Code/Git/exult-ios-playground/exult.cc:2148:3: Cast expression to void to silence warning
  54. code snip:
  55. sc = 1, sclr = Image_window::point; (in oid BuildGameMap(BaseGameInfo *game, int mapnum))
  56.  
  57. /Users/Dominus/Code/Git/exult-ios-playground/exult.cc:2222:34: Possible misuse of comma operator here
  58. /Users/Dominus/Code/Git/exult-ios-playground/exult.cc:2222:4: Cast expression to void to silence warning
  59. code snip: (in ifdef iphoneos)
  60. if (SDL_GetDesktopDisplayMode(0, &dispmode) == 0) {
  61. w = dispmode.w, h = dispmode.h, sc = 1;
  62.  
  63. /Users/Dominus/Code/Git/exult-ios-playground/exult.cc:2225:11: Possible misuse of comma operator here
  64. /Users/Dominus/Code/Git/exult-ios-playground/exult.cc:2225:4: Cast expression to void to silence warning
  65. code snip: (same ifdfe iphoneos)
  66. else
  67. w = 320, h = 240, sc = 1;
  68.  
  69. /Users/Dominus/Code/Git/exult-ios-playground/exult.cc:2249:12: Possible misuse of comma operator here
  70. /Users/Dominus/Code/Git/exult-ios-playground/exult.cc:2249:4: Cast expression to void to silence warning
  71. code snip:
  72. } else {
  73. resx = w, resy = h;
  74.  
  75. /Users/Dominus/Code/Git/exult-ios-playground/gumps/Gump_manager.cc:508:27: Variable 'gx' is uninitialized when used here
  76. /Users/Dominus/Code/Git/exult-ios-playground/gumps/Gump_manager.cc:459:8: Initialize the variable 'gx' to silence this warning
  77. /Users/Dominus/Code/Git/exult-ios-playground/gumps/Gump_manager.cc:508:31: Variable 'gy' is uninitialized when used here
  78. /Users/Dominus/Code/Git/exult-ios-playground/gumps/Gump_manager.cc:460:8: Initialize the variable 'gy' to silence this warning
  79.  
  80. /Users/Dominus/Code/Git/exult-ios-playground/gumps/Gump.cc:144:40: Possible misuse of comma operator here
  81. /Users/Dominus/Code/Git/exult-ios-playground/gumps/Gump.cc:144:2: Cast expression to void to silence warning
  82. code snip:
  83. void Gump::get_shape_location(
  84. const Game_object *obj,
  85. int &ox, int &oy
  86. ) const {
  87. ox = x + object_area.x + obj->get_tx(),
RAW Paste Data