2025-05-10 21:25 ftp://ftp.de.debian.org/debian/pool/main/g/glbsp/glbsp_2.24.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: beb3362 (2025-05-10 14:33:23 +0200) count: 352 347 elapsed-time: 1.4 1.5 head-timing-info: old-timing-info: head results: glbsp-2.24-source/cmdline/main.c:45:32: error: There is an unknown macro here somewhere. Configuration is required. If GLBSP_VER is a macro then please configure it. [unknownMacro] glbsp-2.24-source/cmdline/display.c:97:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/cmdline/display.c:111:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] glbsp-2.24-source/cmdline/display.c:124:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glbsp-2.24-source/cmdline/display.c:145:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glbsp-2.24-source/cmdline/display.c:164:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIS_INVALID [valueFlowBailoutIncompleteVar] glbsp-2.24-source/cmdline/display.c:195:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIS_INVALID [valueFlowBailoutIncompleteVar] glbsp-2.24-source/cmdline/display.c:216:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIS_INVALID [valueFlowBailoutIncompleteVar] glbsp-2.24-source/cmdline/display.c:250:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIS_INVALID [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/local.h:630:3: style: Class 'Guix_MainWin' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] glbsp-2.24-source/gui/book.cc:31:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/book.cc:72:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_NUM_GRAY [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/book.cc:166:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/book.cc:193:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/book.cc:264:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/book.cc:275:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/book.cc:290:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/book.cc:334:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/book.cc:396:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/book.cc:410:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_NUM_GRAY [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/book.cc:64:12: warning: Member variable 'Guix_Book::major_indent' is not initialized in the constructor. [uninitMemberVar] glbsp-2.24-source/gui/book.cc:64:12: warning: Member variable 'Guix_Book::minor_indent' is not initialized in the constructor. [uninitMemberVar] glbsp-2.24-source/gui/book.cc:64:12: warning: Member variable 'Guix_Book::para_buf' is not initialized in the constructor. [uninitMemberVar] glbsp-2.24-source/gui/book.cc:64:12: warning: Member variable 'Guix_Book::para_width' is not initialized in the constructor. [uninitMemberVar] glbsp-2.24-source/gui/book.cc:75:12: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/book.cc:92:22: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/book.cc:99:18: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/book.cc:106:18: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/book.cc:113:18: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/book.cc:124:21: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/book.cc:413:12: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/book.cc:428:18: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/cookie.cc:55:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/cookie.cc:74:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/cookie.cc:85:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/cookie.cc:128:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/cookie.cc:177:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/cookie.cc:235:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/cookie.cc:253:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/cookie.cc:485:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLBSP_VER [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/dialog.cc:96:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/dialog.cc:102:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/dialog.cc:108:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/dialog.cc:114:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/dialog.cc:187:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/dialog.cc:300:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/dialog.cc:119:23: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/dialog.cc:134:23: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/dialog.cc:213:22: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/dialog.cc:245:22: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/dialog.cc:255:22: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/dialog.cc:265:22: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/dialog.cc:325:22: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/dialog.cc:349:22: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/dialog.cc:356:18: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/dialog.cc:375:21: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/dialog.cc:382:22: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/dialog.cc:93:41: style: Parameter 'w' can be declared as pointer to const. However it seems that 'dialog_closed_CB' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glbsp-2.24-source/gui/dialog.cc:325:38: note: You might need to cast the function pointer here glbsp-2.24-source/gui/dialog.cc:93:41: note: Parameter 'w' can be declared as pointer to const glbsp-2.24-source/gui/dialog.cc:93:50: style: Parameter 'data' can be declared as pointer to const. However it seems that 'dialog_closed_CB' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glbsp-2.24-source/gui/dialog.cc:325:38: note: You might need to cast the function pointer here glbsp-2.24-source/gui/dialog.cc:93:50: note: Parameter 'data' can be declared as pointer to const glbsp-2.24-source/gui/dialog.cc:99:46: style: Parameter 'w' can be declared as pointer to const. However it seems that 'dialog_left_button_CB' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glbsp-2.24-source/gui/dialog.cc:356:34: note: You might need to cast the function pointer here glbsp-2.24-source/gui/dialog.cc:99:46: note: Parameter 'w' can be declared as pointer to const glbsp-2.24-source/gui/dialog.cc:99:55: style: Parameter 'data' can be declared as pointer to const. However it seems that 'dialog_left_button_CB' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glbsp-2.24-source/gui/dialog.cc:356:34: note: You might need to cast the function pointer here glbsp-2.24-source/gui/dialog.cc:99:55: note: Parameter 'data' can be declared as pointer to const glbsp-2.24-source/gui/dialog.cc:105:48: style: Parameter 'w' can be declared as pointer to const. However it seems that 'dialog_middle_button_CB' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glbsp-2.24-source/gui/dialog.cc:349:38: note: You might need to cast the function pointer here glbsp-2.24-source/gui/dialog.cc:105:48: note: Parameter 'w' can be declared as pointer to const glbsp-2.24-source/gui/dialog.cc:105:57: style: Parameter 'data' can be declared as pointer to const. However it seems that 'dialog_middle_button_CB' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glbsp-2.24-source/gui/dialog.cc:349:38: note: You might need to cast the function pointer here glbsp-2.24-source/gui/dialog.cc:105:57: note: Parameter 'data' can be declared as pointer to const glbsp-2.24-source/gui/dialog.cc:111:47: style: Parameter 'w' can be declared as pointer to const. However it seems that 'dialog_right_button_CB' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glbsp-2.24-source/gui/dialog.cc:245:38: note: You might need to cast the function pointer here glbsp-2.24-source/gui/dialog.cc:111:47: note: Parameter 'w' can be declared as pointer to const glbsp-2.24-source/gui/dialog.cc:111:56: style: Parameter 'data' can be declared as pointer to const. However it seems that 'dialog_right_button_CB' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glbsp-2.24-source/gui/dialog.cc:245:38: note: You might need to cast the function pointer here glbsp-2.24-source/gui/dialog.cc:111:56: note: Parameter 'data' can be declared as pointer to const glbsp-2.24-source/gui/dialog.cc:268:8: style: Variable 'CX' is assigned a value that is never used. [unreadVariable] glbsp-2.24-source/gui/files.cc:86:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_THIN_UP_BOX [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/files.cc:276:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_THIN_UP_BOX [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/files.cc:337:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/files.cc:541:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLBSP_E_OK [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/files.cc:587:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLBSP_E_OK [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/files.cc:654:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/files.cc:714:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/files.cc:731:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_ROUND_UP_BOX [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/helper.cc:93:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/helper.cc:134:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/helper.cc:164:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/helper.cc:264:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/files.cc:120:21: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/files.cc:127:22: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/files.cc:147:23: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/files.cc:154:24: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/files.cc:161:23: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/files.cc:733:19: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/files.cc:739:21: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/helper.cc:181:9: style: The scope of the variable 'dot_pos' can be reduced. [variableScope] glbsp-2.24-source/gui/main.cc:84:32: error: There is an unknown macro here somewhere. Configuration is required. If GLBSP_VER is a macro then please configure it. [unknownMacro] glbsp-2.24-source/gui/menu.cc:30:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/menu.cc:41:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/menu.cc:83:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/options.cc:54:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_THIN_UP_BOX [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/options.cc:144:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/options.cc:200:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_THIN_UP_BOX [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/options.cc:277:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/options.cc:71:17: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/options.cc:81:26: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/options.cc:91:18: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/options.cc:101:21: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/options.cc:215:22: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/options.cc:223:23: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/options.cc:231:24: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/options.cc:239:26: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/menu.cc:91:20: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/menu.cc:118:20: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/menu.cc:200:7: style: The scope of the variable 'choice' can be reduced. [variableScope] glbsp-2.24-source/gui/menu.cc:28:37: style: Parameter 'w' can be declared as pointer to const. However it seems that 'menu_quit_CB' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glbsp-2.24-source/gui/menu.cc:118:36: note: You might need to cast the function pointer here glbsp-2.24-source/gui/menu.cc:28:37: note: Parameter 'w' can be declared as pointer to const glbsp-2.24-source/gui/menu.cc:28:46: style: Parameter 'data' can be declared as pointer to const. However it seems that 'menu_quit_CB' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glbsp-2.24-source/gui/menu.cc:118:36: note: You might need to cast the function pointer here glbsp-2.24-source/gui/menu.cc:28:46: note: Parameter 'data' can be declared as pointer to const glbsp-2.24-source/gui/menu.cc:48:38: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] glbsp-2.24-source/gui/menu.cc:48:48: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] glbsp-2.24-source/gui/menu.cc:167:40: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] glbsp-2.24-source/gui/menu.cc:167:50: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] glbsp-2.24-source/gui/prefs.cc:31:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/prefs.cc:60:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/prefs.cc:154:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/progress.cc:47:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_THIN_UP_BOX [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/progress.cc:91:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_ALIGN_RIGHT [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/progress.cc:142:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_NUM_RED [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/progress.cc:227:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/prefs.cc:63:12: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/prefs.cc:115:23: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/prefs.cc:134:18: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/gui/textbox.cc:35:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_COURIER [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/textbox.cc:68:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_BLACK [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/textbox.cc:129:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/textbox.cc:206:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/textbox.cc:179:20: performance:inconclusive: Either there is a missing 'override', or the member function 'Guix_TextBox::LockOut' can be static. [functionStatic] glbsp-2.24-source/gui/local.h:612:8: note: Either there is a missing 'override', or the member function 'Guix_TextBox::LockOut' can be static. glbsp-2.24-source/gui/textbox.cc:179:20: note: Either there is a missing 'override', or the member function 'Guix_TextBox::LockOut' can be static. glbsp-2.24-source/gui/window.cc:35:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/window.cc:81:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_NUM_GRAY [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/window.cc:190:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_CURSOR_DEFAULT [valueFlowBailoutIncompleteVar] glbsp-2.24-source/gui/window.cc:50:17: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] glbsp-2.24-source/gui/window.cc:51:17: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] glbsp-2.24-source/gui/window.cc:78:12: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/lists.h:87:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] glbsp-2.24-source/nodeview/path.h:37:8: style:inconclusive: Technically the member function 'path_c::GetPoint' can be const. [functionConst] glbsp-2.24-source/nodeview/asserts.h:25:3: style: Class 'assert_fail_c' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] glbsp-2.24-source/nodeview/window.h:27:3: style: Class 'Guix_MainWin' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] glbsp-2.24-source/nodeview/level.h:259:3: style: Class 'container_tp < vertex_c >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] glbsp-2.24-source/nodeview/level.h:259:3: style: Class 'container_tp < linedef_c >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] glbsp-2.24-source/nodeview/level.h:259:3: style: Class 'container_tp < sidedef_c >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] glbsp-2.24-source/nodeview/level.h:259:3: style: Class 'container_tp < sector_c >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] glbsp-2.24-source/nodeview/level.h:259:3: style: Class 'container_tp < thing_c >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] glbsp-2.24-source/nodeview/level.h:259:3: style: Class 'container_tp < seg_c >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] glbsp-2.24-source/nodeview/level.h:259:3: style: Class 'container_tp < subsec_c >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] glbsp-2.24-source/nodeview/level.h:259:3: style: Class 'container_tp < node_c >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] glbsp-2.24-source/nodeview/grid.h:120:40: style: Clarify calculation precedence for '+' and '?'. [clarifyCalculation] glbsp-2.24-source/nodeview/dialog.cc:171:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_ALIGN_LEFT [valueFlowBailoutIncompleteVar] glbsp-2.24-source/nodeview/dialog.cc:276:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_ALIGN_LEFT [valueFlowBailoutIncompleteVar] glbsp-2.24-source/nodeview/dialog.cc:58:23: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/dialog.cc:73:23: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/dialog.cc:151:22: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/dialog.cc:184:22: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/dialog.cc:194:22: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/dialog.cc:204:22: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/dialog.cc:264:22: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/dialog.cc:289:22: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/dialog.cc:296:18: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/dialog.cc:315:21: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/dialog.cc:322:22: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/dialog.cc:32:41: style: Parameter 'w' can be declared as pointer to const. However it seems that 'dialog_closed_CB' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glbsp-2.24-source/nodeview/dialog.cc:264:38: note: You might need to cast the function pointer here glbsp-2.24-source/nodeview/dialog.cc:32:41: note: Parameter 'w' can be declared as pointer to const glbsp-2.24-source/nodeview/dialog.cc:32:50: style: Parameter 'data' can be declared as pointer to const. However it seems that 'dialog_closed_CB' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glbsp-2.24-source/nodeview/dialog.cc:264:38: note: You might need to cast the function pointer here glbsp-2.24-source/nodeview/dialog.cc:32:50: note: Parameter 'data' can be declared as pointer to const glbsp-2.24-source/nodeview/dialog.cc:38:46: style: Parameter 'w' can be declared as pointer to const. However it seems that 'dialog_left_button_CB' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glbsp-2.24-source/nodeview/dialog.cc:296:34: note: You might need to cast the function pointer here glbsp-2.24-source/nodeview/dialog.cc:38:46: note: Parameter 'w' can be declared as pointer to const glbsp-2.24-source/nodeview/dialog.cc:38:55: style: Parameter 'data' can be declared as pointer to const. However it seems that 'dialog_left_button_CB' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glbsp-2.24-source/nodeview/dialog.cc:296:34: note: You might need to cast the function pointer here glbsp-2.24-source/nodeview/dialog.cc:38:55: note: Parameter 'data' can be declared as pointer to const glbsp-2.24-source/nodeview/dialog.cc:44:48: style: Parameter 'w' can be declared as pointer to const. However it seems that 'dialog_middle_button_CB' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glbsp-2.24-source/nodeview/dialog.cc:289:38: note: You might need to cast the function pointer here glbsp-2.24-source/nodeview/dialog.cc:44:48: note: Parameter 'w' can be declared as pointer to const glbsp-2.24-source/nodeview/dialog.cc:44:57: style: Parameter 'data' can be declared as pointer to const. However it seems that 'dialog_middle_button_CB' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glbsp-2.24-source/nodeview/dialog.cc:289:38: note: You might need to cast the function pointer here glbsp-2.24-source/nodeview/dialog.cc:44:57: note: Parameter 'data' can be declared as pointer to const glbsp-2.24-source/nodeview/dialog.cc:50:47: style: Parameter 'w' can be declared as pointer to const. However it seems that 'dialog_right_button_CB' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glbsp-2.24-source/nodeview/dialog.cc:184:38: note: You might need to cast the function pointer here glbsp-2.24-source/nodeview/dialog.cc:50:47: note: Parameter 'w' can be declared as pointer to const glbsp-2.24-source/nodeview/dialog.cc:50:56: style: Parameter 'data' can be declared as pointer to const. However it seems that 'dialog_right_button_CB' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glbsp-2.24-source/nodeview/dialog.cc:184:38: note: You might need to cast the function pointer here glbsp-2.24-source/nodeview/dialog.cc:50:56: note: Parameter 'data' can be declared as pointer to const glbsp-2.24-source/nodeview/dialog.cc:207:8: style: Variable 'CX' is assigned a value that is never used. [unreadVariable] glbsp-2.24-source/nodeview/info.cc:35:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_FLAT_BOX [valueFlowBailoutIncompleteVar] glbsp-2.24-source/nodeview/grid.cc:139:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_BLACK [valueFlowBailoutIncompleteVar] glbsp-2.24-source/nodeview/grid.cc:540:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] glbsp-2.24-source/nodeview/grid.cc:625:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_YELLOW [valueFlowBailoutIncompleteVar] glbsp-2.24-source/nodeview/grid.cc:685:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_FOCUS [valueFlowBailoutIncompleteVar] glbsp-2.24-source/nodeview/grid.cc:872:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] glbsp-2.24-source/nodeview/info.cc:189:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] glbsp-2.24-source/nodeview/info.cc:29:9: warning: Member variable 'W_Info::seg_indices' is not initialized in the constructor. [uninitMemberVar] glbsp-2.24-source/nodeview/info.cc:138:5: style: Variable 'Y' is reassigned a value before the old one has been used. [redundantAssignment] glbsp-2.24-source/nodeview/info.cc:133:5: note: Y is assigned glbsp-2.24-source/nodeview/info.cc:138:5: note: Y is overwritten glbsp-2.24-source/nodeview/level.cc:760:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minx [valueFlowBailoutIncompleteVar] glbsp-2.24-source/nodeview/level.cc:371:12: warning: Member variable 'linedef_c::specials' is not initialized in the constructor. [uninitMemberVar] glbsp-2.24-source/nodeview/level.cc:97:40: warning: Either the condition 'lump' is redundant or there is possible null pointer dereference: lump. [nullPointerRedundantCheck] glbsp-2.24-source/nodeview/level.cc:82:7: note: Assuming that condition 'lump' is not redundant glbsp-2.24-source/nodeview/level.cc:97:40: note: Null pointer dereference glbsp-2.24-source/nodeview/level.cc:127:18: warning: Either the condition '!gl_wad' is redundant or there is possible null pointer dereference: base. [nullPointerRedundantCheck] glbsp-2.24-source/nodeview/level.cc:865:9: note: Assuming that condition '!gl_wad' is not redundant glbsp-2.24-source/nodeview/level.cc:869:14: note: Calling function 'GetGLVerts', 1st argument 'gl_wad' value is 0 glbsp-2.24-source/nodeview/level.cc:127:18: note: Null pointer dereference glbsp-2.24-source/nodeview/level.cc:138:7: warning: Either the condition '!lump' is redundant or there is possible null pointer dereference: lump. [nullPointerRedundantCheck] glbsp-2.24-source/nodeview/level.cc:133:7: note: Assuming that condition '!lump' is not redundant glbsp-2.24-source/nodeview/level.cc:138:7: note: Null pointer dereference glbsp-2.24-source/nodeview/level.cc:198:40: warning: Either the condition 'lump' is redundant or there is possible null pointer dereference: lump. [nullPointerRedundantCheck] glbsp-2.24-source/nodeview/level.cc:183:7: note: Assuming that condition 'lump' is not redundant glbsp-2.24-source/nodeview/level.cc:198:40: note: Null pointer dereference glbsp-2.24-source/nodeview/level.cc:352:42: warning: Either the condition 'lump' is redundant or there is possible null pointer dereference: lump. [nullPointerRedundantCheck] glbsp-2.24-source/nodeview/level.cc:337:7: note: Assuming that condition 'lump' is not redundant glbsp-2.24-source/nodeview/level.cc:352:42: note: Null pointer dereference glbsp-2.24-source/nodeview/level.cc:451:42: warning: Either the condition 'lump' is redundant or there is possible null pointer dereference: lump. [nullPointerRedundantCheck] glbsp-2.24-source/nodeview/level.cc:436:7: note: Assuming that condition 'lump' is not redundant glbsp-2.24-source/nodeview/level.cc:451:42: note: Null pointer dereference glbsp-2.24-source/nodeview/level.cc:482:54: warning: Either the condition 'lump' is redundant or there is possible null pointer dereference: lump. [nullPointerRedundantCheck] glbsp-2.24-source/nodeview/level.cc:467:7: note: Assuming that condition 'lump' is not redundant glbsp-2.24-source/nodeview/level.cc:482:54: note: Null pointer dereference glbsp-2.24-source/nodeview/level.cc:611:18: warning: Either the condition '!gl_wad' is redundant or there is possible null pointer dereference: base. [nullPointerRedundantCheck] glbsp-2.24-source/nodeview/level.cc:865:9: note: Assuming that condition '!gl_wad' is not redundant glbsp-2.24-source/nodeview/level.cc:870:13: note: Calling function 'GetGLSegs', 1st argument 'gl_wad' value is 0 glbsp-2.24-source/nodeview/level.cc:611:18: note: Null pointer dereference glbsp-2.24-source/nodeview/level.cc:622:7: warning: Either the condition '!lump' is redundant or there is possible null pointer dereference: lump. [nullPointerRedundantCheck] glbsp-2.24-source/nodeview/level.cc:617:7: note: Assuming that condition '!lump' is not redundant glbsp-2.24-source/nodeview/level.cc:622:7: note: Null pointer dereference glbsp-2.24-source/nodeview/level.cc:670:13: warning: Either the condition '!cur' is redundant or there is possible null pointer dereference: cur. [nullPointerRedundantCheck] glbsp-2.24-source/nodeview/level.cc:667:7: note: Assuming that condition '!cur' is not redundant glbsp-2.24-source/nodeview/level.cc:670:13: note: Null pointer dereference glbsp-2.24-source/nodeview/level.cc:670:29: warning: Either the condition '!cur' is redundant or there is possible null pointer dereference: cur. [nullPointerRedundantCheck] glbsp-2.24-source/nodeview/level.cc:667:7: note: Assuming that condition '!cur' is not redundant glbsp-2.24-source/nodeview/level.cc:670:29: note: Null pointer dereference glbsp-2.24-source/nodeview/level.cc:671:13: warning: Either the condition '!cur' is redundant or there is possible null pointer dereference: cur. [nullPointerRedundantCheck] glbsp-2.24-source/nodeview/level.cc:667:7: note: Assuming that condition '!cur' is not redundant glbsp-2.24-source/nodeview/level.cc:671:13: note: Null pointer dereference glbsp-2.24-source/nodeview/level.cc:671:29: warning: Either the condition '!cur' is redundant or there is possible null pointer dereference: cur. [nullPointerRedundantCheck] glbsp-2.24-source/nodeview/level.cc:667:7: note: Assuming that condition '!cur' is not redundant glbsp-2.24-source/nodeview/level.cc:671:29: note: Null pointer dereference glbsp-2.24-source/nodeview/level.cc:729:18: warning: Either the condition '!gl_wad' is redundant or there is possible null pointer dereference: base. [nullPointerRedundantCheck] glbsp-2.24-source/nodeview/level.cc:865:9: note: Assuming that condition '!gl_wad' is not redundant glbsp-2.24-source/nodeview/level.cc:871:16: note: Calling function 'GetGLSubsecs', 1st argument 'gl_wad' value is 0 glbsp-2.24-source/nodeview/level.cc:729:18: note: Null pointer dereference glbsp-2.24-source/nodeview/level.cc:740:7: warning: Either the condition '!lump' is redundant or there is possible null pointer dereference: lump. [nullPointerRedundantCheck] glbsp-2.24-source/nodeview/level.cc:735:7: note: Assuming that condition '!lump' is not redundant glbsp-2.24-source/nodeview/level.cc:740:7: note: Null pointer dereference glbsp-2.24-source/nodeview/level.cc:805:18: warning: Either the condition '!gl_wad' is redundant or there is possible null pointer dereference: base. [nullPointerRedundantCheck] glbsp-2.24-source/nodeview/level.cc:865:9: note: Assuming that condition '!gl_wad' is not redundant glbsp-2.24-source/nodeview/level.cc:872:14: note: Calling function 'GetGLNodes', 1st argument 'gl_wad' value is 0 glbsp-2.24-source/nodeview/level.cc:805:18: note: Null pointer dereference glbsp-2.24-source/nodeview/level.cc:97:24: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/level.cc:114:27: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/level.cc:140:16: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/level.cc:148:24: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/level.cc:198:24: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/level.cc:266:23: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/level.cc:302:29: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/level.cc:352:25: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/level.cc:451:25: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/level.cc:482:31: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/level.cc:598:24: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/level.cc:624:15: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/level.cc:632:24: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/level.cc:716:27: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/level.cc:742:18: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/level.cc:750:24: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/level.cc:822:22: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/level.cc:837:28: style:inconclusive: Function 'LoadLevel' argument 1 names different: declaration 'name' definition 'level_name'. [funcArgNamesDifferent] glbsp-2.24-source/nodeview/level.h:332:28: note: Function 'LoadLevel' argument 1 names different: declaration 'name' definition 'level_name'. glbsp-2.24-source/nodeview/level.cc:837:28: note: Function 'LoadLevel' argument 1 names different: declaration 'name' definition 'level_name'. glbsp-2.24-source/nodeview/main.cc:55:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_HELVETICA [valueFlowBailoutIncompleteVar] glbsp-2.24-source/nodeview/main.cc:79:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glbsp-2.24-source/nodeview/main.cc:195:3: style: Exception should be caught by reference. [catchExceptionByValue] glbsp-2.24-source/nodeview/main.cc:99:21: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/menu.cc:44:38: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] glbsp-2.24-source/nodeview/menu.cc:44:48: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] glbsp-2.24-source/nodeview/menu.cc:55:38: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] glbsp-2.24-source/nodeview/menu.cc:55:48: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] glbsp-2.24-source/nodeview/menu.cc:123:39: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] glbsp-2.24-source/nodeview/menu.cc:123:49: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] glbsp-2.24-source/nodeview/menu.cc:130:40: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] glbsp-2.24-source/nodeview/menu.cc:130:50: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] glbsp-2.24-source/nodeview/menu.cc:137:41: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] glbsp-2.24-source/nodeview/menu.cc:137:51: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] glbsp-2.24-source/nodeview/path.cc:47:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] glbsp-2.24-source/nodeview/system.cc:113:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] glbsp-2.24-source/nodeview/system.cc:171:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] glbsp-2.24-source/nodeview/system.cc:210:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] glbsp-2.24-source/nodeview/system.cc:144:8: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/system.cc:158:10: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/system.cc:313:10: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/util.cc:277:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] glbsp-2.24-source/nodeview/util.cc:76:12: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/util.cc:99:12: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/wad.cc:241:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] glbsp-2.24-source/nodeview/wad.cc:514:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] glbsp-2.24-source/nodeview/wad.cc:539:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] glbsp-2.24-source/nodeview/grid.cc:693:9: warning: Suspicious use of ; at the end of 'while' statement. [suspiciousSemicolon] glbsp-2.24-source/nodeview/grid.cc:441:12: style: The scope of the variable 'foo' can be reduced. [variableScope] glbsp-2.24-source/nodeview/grid.cc:159:11: style: Variable 'root' can be declared as pointer to const [constVariablePointer] glbsp-2.24-source/nodeview/wad.cc:138:13: style:inconclusive: Technically the member function 'wad_c::CheckLevelName' can be const. [functionConst] glbsp-2.24-source/nodeview/wad.h:61:8: note: Technically the member function 'wad_c::CheckLevelName' can be const. glbsp-2.24-source/nodeview/wad.cc:138:13: note: Technically the member function 'wad_c::CheckLevelName' can be const. glbsp-2.24-source/nodeview/wad.cc:496:20: style:inconclusive: Technically the member function 'wad_c::FirstLevelName' can be const. [functionConst] glbsp-2.24-source/nodeview/wad.h:71:15: note: Technically the member function 'wad_c::FirstLevelName' can be const. glbsp-2.24-source/nodeview/wad.cc:496:20: note: Technically the member function 'wad_c::FirstLevelName' can be const. glbsp-2.24-source/nodeview/wad.cc:51:22: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/wad.cc:52:22: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/wad.cc:61:16: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/wad.cc:75:22: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/wad.cc:76:22: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/wad.cc:93:14: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/wad.cc:96:14: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/wad.cc:291:20: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/wad.cc:291:47: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/wad.cc:303:20: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/wad.cc:427:22: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/wad.cc:428:22: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/wad.cc:476:12: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/wad.cc:500:12: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/wad.cc:516:20: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/window.cc:86:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_NUM_GRAY [valueFlowBailoutIncompleteVar] glbsp-2.24-source/nodeview/window.cc:55:17: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] glbsp-2.24-source/nodeview/window.cc:56:17: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] glbsp-2.24-source/nodeview/window.cc:83:12: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/nodeview/window.cc:92:10: style: Variable 'hw' is assigned a value that is never used. [unreadVariable] glbsp-2.24-source/nodeview/window.cc:92:7: style: Variable 'hw' is assigned a value that is never used. [unreadVariable] glbsp-2.24-source/patches/fltk_win32/src/Fl_win32.cxx:261:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_REMOVE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/patches/fltk_win32/src/Fl_win32.cxx:306:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_NOREMOVE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/patches/fltk_win32/src/Fl_win32.cxx:327:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_GETWORKAREA [valueFlowBailoutIncompleteVar] glbsp-2.24-source/patches/fltk_win32/src/Fl_win32.cxx:335:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_GETWORKAREA [valueFlowBailoutIncompleteVar] glbsp-2.24-source/patches/fltk_win32/src/Fl_win32.cxx:343:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_GETWORKAREA [valueFlowBailoutIncompleteVar] glbsp-2.24-source/patches/fltk_win32/src/Fl_win32.cxx:351:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_GETWORKAREA [valueFlowBailoutIncompleteVar] glbsp-2.24-source/patches/fltk_win32/src/Fl_win32.cxx:398:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e_text [valueFlowBailoutIncompleteVar] glbsp-2.24-source/patches/fltk_win32/src/Fl_win32.cxx:432:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e_x [valueFlowBailoutIncompleteVar] glbsp-2.24-source/patches/fltk_win32/src/Fl_win32.cxx:536:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_F1 [valueFlowBailoutIncompleteVar] glbsp-2.24-source/patches/fltk_win32/src/Fl_win32.cxx:577:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_CLOSE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/patches/fltk_win32/src/Fl_win32.cxx:848:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SM_CXSIZEFRAME [valueFlowBailoutIncompleteVar] glbsp-2.24-source/patches/fltk_win32/src/Fl_win32.cxx:890:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWP_NOSENDCHANGING [valueFlowBailoutIncompleteVar] glbsp-2.24-source/patches/fltk_win32/src/Fl_win32.cxx:946:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_HREDRAW [valueFlowBailoutIncompleteVar] glbsp-2.24-source/patches/fltk_win32/src/Fl_win32.cxx:1078:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size_range_set [valueFlowBailoutIncompleteVar] glbsp-2.24-source/patches/fltk_win32/src/Fl_win32.cxx:1085:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] glbsp-2.24-source/patches/fltk_win32/src/Fl_win32.cxx:1118:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iconlabel_ [valueFlowBailoutIncompleteVar] glbsp-2.24-source/patches/fltk_win32/src/Fl_win32.cxx:1142:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scheme_bg_ [valueFlowBailoutIncompleteVar] glbsp-2.24-source/patches/fltk_win32/src/Fl_win32.cxx:1176:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TA_BASELINE [valueFlowBailoutIncompleteVar] glbsp-2.24-source/patches/fltk_win32/src/Fl_win32.cxx:1194:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_ [valueFlowBailoutIncompleteVar] glbsp-2.24-source/patches/fltk_win32/src/Fl_win32.cxx:146:5: error: Common realloc mistake: 'fd' nulled but not freed upon failure [memleakOnRealloc] glbsp-2.24-source/patches/fltk_win32/src/Fl_win32.cxx:146:10: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/patches/fltk_win32/src/Fl_win32.cxx:293:25: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/patches/fltk_win32/src/Fl_win32.cxx:401:35: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/patches/fltk_win32/src/Fl_win32.cxx:951:13: style: C-style pointer casting [cstyleCast] glbsp-2.24-source/patches/fltk_win32/src/Fl_win32.cxx:221:7: style: The scope of the variable 'timerid' can be reduced. [variableScope] glbsp-2.24-source/patches/fltk_win32/src/Fl_win32.cxx:939:15: style: The scope of the variable 'message_name' can be reduced. [variableScope] glbsp-2.24-source/patches/fltk_win32/src/Fl_win32.cxx:721:20: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] glbsp-2.24-source/src/blockmap.c:461:43: warning: Either the condition 'blk==NULL' is redundant or there is possible null pointer dereference: blk. [nullPointerRedundantCheck] glbsp-2.24-source/src/blockmap.c:457:13: note: Assuming that condition 'blk==NULL' is not redundant glbsp-2.24-source/src/blockmap.c:461:43: note: Null pointer dereference glbsp-2.24-source/src/blockmap.c:461:31: warning: Either the condition 'blk==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] glbsp-2.24-source/src/blockmap.c:457:13: note: Assuming that condition 'blk==NULL' is not redundant glbsp-2.24-source/src/blockmap.c:461:31: note: Null pointer addition glbsp-2.24-source/src/blockmap.c:449:15: style: Variable 'blk' can be declared as pointer to const [constVariablePointer] glbsp-2.24-source/src/analyze.c:803:40: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] glbsp-2.24-source/src/analyze.c:823:40: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] glbsp-2.24-source/src/analyze.c:239:16: style: Variable 'L' can be declared as pointer to const [constVariablePointer] glbsp-2.24-source/src/analyze.c:256:14: style: Variable 'T' can be declared as pointer to const [constVariablePointer] glbsp-2.24-source/src/analyze.c:273:14: style: Variable 'T' can be declared as pointer to const [constVariablePointer] glbsp-2.24-source/src/analyze.c:307:13: style: Variable 'A' can be declared as pointer to const [constVariablePointer] glbsp-2.24-source/src/analyze.c:308:13: style: Variable 'B' can be declared as pointer to const [constVariablePointer] glbsp-2.24-source/src/analyze.c:642:13: style: Variable 'C' can be declared as pointer to const [constVariablePointer] glbsp-2.24-source/src/analyze.c:643:13: style: Variable 'D' can be declared as pointer to const [constVariablePointer] glbsp-2.24-source/src/analyze.c:666:13: style: Variable 'C' can be declared as pointer to const [constVariablePointer] glbsp-2.24-source/src/analyze.c:667:13: style: Variable 'D' can be declared as pointer to const [constVariablePointer] glbsp-2.24-source/src/analyze.c:767:14: style: Variable 'front_open' can be declared as pointer to const [constVariablePointer] glbsp-2.24-source/src/analyze.c:1040:41: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] glbsp-2.24-source/src/analyze.c:1040:58: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] glbsp-2.24-source/src/level.c:261:26: warning: Either the condition 'lump' is redundant or there is possible null pointer dereference: lump. [nullPointerRedundantCheck] glbsp-2.24-source/src/level.c:249:7: note: Assuming that condition 'lump' is not redundant glbsp-2.24-source/src/level.c:261:26: note: Null pointer dereference glbsp-2.24-source/src/level.c:299:26: warning: Either the condition 'lump' is redundant or there is possible null pointer dereference: lump. [nullPointerRedundantCheck] glbsp-2.24-source/src/level.c:287:7: note: Assuming that condition 'lump' is not redundant glbsp-2.24-source/src/level.c:299:26: note: Null pointer dereference glbsp-2.24-source/src/level.c:432:27: warning: Either the condition 'lump' is redundant or there is possible null pointer dereference: lump. [nullPointerRedundantCheck] glbsp-2.24-source/src/level.c:420:7: note: Assuming that condition 'lump' is not redundant glbsp-2.24-source/src/level.c:432:27: note: Null pointer dereference glbsp-2.24-source/src/level.c:488:27: warning: Either the condition 'lump' is redundant or there is possible null pointer dereference: lump. [nullPointerRedundantCheck] glbsp-2.24-source/src/level.c:476:7: note: Assuming that condition 'lump' is not redundant glbsp-2.24-source/src/level.c:488:27: note: Null pointer dereference glbsp-2.24-source/src/level.c:560:33: warning: Either the condition 'lump' is redundant or there is possible null pointer dereference: lump. [nullPointerRedundantCheck] glbsp-2.24-source/src/level.c:548:7: note: Assuming that condition 'lump' is not redundant glbsp-2.24-source/src/level.c:560:33: note: Null pointer dereference glbsp-2.24-source/src/node.c:1167:5: warning: Possible null pointer dereference: last_real_degen [nullPointer] glbsp-2.24-source/src/node.c:1112:28: note: Assignment 'last_real_degen=NULL', assigned value is 0 glbsp-2.24-source/src/node.c:1122:27: note: Assuming condition is false glbsp-2.24-source/src/node.c:1167:5: note: Null pointer dereference glbsp-2.24-source/src/node.c:1167:48: warning: Possible null pointer dereference: last_real_degen [nullPointer] glbsp-2.24-source/src/node.c:1112:28: note: Assignment 'last_real_degen=NULL', assigned value is 0 glbsp-2.24-source/src/node.c:1122:27: note: Assuming condition is false glbsp-2.24-source/src/node.c:1167:48: note: Null pointer dereference glbsp-2.24-source/src/node.c:1168:9: warning: Possible null pointer dereference: last_real_degen [nullPointer] glbsp-2.24-source/src/node.c:1112:28: note: Assignment 'last_real_degen=NULL', assigned value is 0 glbsp-2.24-source/src/node.c:1122:27: note: Assuming condition is false glbsp-2.24-source/src/node.c:1168:9: note: Null pointer dereference glbsp-2.24-source/src/node.c:1178:5: warning: Possible null pointer dereference: last_real_degen [nullPointer] glbsp-2.24-source/src/node.c:1112:28: note: Assignment 'last_real_degen=NULL', assigned value is 0 glbsp-2.24-source/src/node.c:1122:27: note: Assuming condition is false glbsp-2.24-source/src/node.c:1178:5: note: Null pointer dereference glbsp-2.24-source/src/level.c:730:15: style: Variable 'vert' can be declared as pointer to const [constVariablePointer] glbsp-2.24-source/src/level.c:772:15: style: Variable 'vert' can be declared as pointer to const [constVariablePointer] glbsp-2.24-source/src/level.c:803:15: style: Variable 'sector' can be declared as pointer to const [constVariablePointer] glbsp-2.24-source/src/level.c:834:16: style: Variable 'side' can be declared as pointer to const [constVariablePointer] glbsp-2.24-source/src/level.c:949:12: style: Variable 'seg' can be declared as pointer to const [constVariablePointer] glbsp-2.24-source/src/level.c:998:12: style: Variable 'seg' can be declared as pointer to const [constVariablePointer] glbsp-2.24-source/src/level.c:1056:12: style: Variable 'seg' can be declared as pointer to const [constVariablePointer] glbsp-2.24-source/src/level.c:1102:23: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] glbsp-2.24-source/src/level.c:1117:15: style: Variable 'sub' can be declared as pointer to const [constVariablePointer] glbsp-2.24-source/src/level.c:1149:15: style: Variable 'sub' can be declared as pointer to const [constVariablePointer] glbsp-2.24-source/src/level.c:1270:21: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] glbsp-2.24-source/src/level.c:1319:15: style: Variable 'vert' can be declared as pointer to const [constVariablePointer] glbsp-2.24-source/src/level.c:1669:11: style: Variable 'lump' can be declared as pointer to const [constVariablePointer] glbsp-2.24-source/src/node.c:466:16: style: Local variable 'left' shadows outer variable [shadowVariable] glbsp-2.24-source/src/node.c:385:10: note: Shadowed declaration glbsp-2.24-source/src/node.c:466:16: note: Shadow variable glbsp-2.24-source/src/node.c:70:35: style: Parameter 'part' can be declared as pointer to const [constParameterPointer] glbsp-2.24-source/src/node.c:83:33: style: Parameter 'box' can be declared as pointer to const [constParameterPointer] glbsp-2.24-source/src/node.c:330:50: style: Parameter 'seg' can be declared as pointer to const [constParameterPointer] glbsp-2.24-source/src/node.c:637:16: style: Variable 'next' can be declared as pointer to const [constVariablePointer] glbsp-2.24-source/src/reject.c:168:15: style: Variable 'view_sec' can be declared as pointer to const [constVariablePointer] glbsp-2.24-source/src/reject.c:169:15: style: Variable 'targ_sec' can be declared as pointer to const [constVariablePointer] glbsp-2.24-source/src/util.c:255:17: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] glbsp-2.24-source/src/util.c:290:31: style: Parameter 'crc' can be declared as pointer to const [constParameterPointer] glbsp-2.24-source/src/wad.c:270:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] glbsp-2.24-source/src/wad.c:1272:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] glbsp-2.24-source/src/wad.c:1335:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PWAD [valueFlowBailoutIncompleteVar] glbsp-2.24-source/src/wad.c:910:35: style: Parameter 'lump' can be declared as pointer to const [constParameterPointer] glbsp-2.24-source/src/wad.c:1241:32: style: Parameter 'lump' can be declared as pointer to const [constParameterPointer] glbsp-2.24-source/src/wad.c:1654:14: style: Variable 'lev' can be declared as pointer to const [constVariablePointer] glbsp-2.24-source/src/seg.c:926:19: style:inconclusive: Function 'SeparateSegs' argument 3 names different: declaration 'left_list' definition 'lefts'. [funcArgNamesDifferent] glbsp-2.24-source/src/seg.h:102:19: note: Function 'SeparateSegs' argument 3 names different: declaration 'left_list' definition 'lefts'. glbsp-2.24-source/src/seg.c:926:19: note: Function 'SeparateSegs' argument 3 names different: declaration 'left_list' definition 'lefts'. glbsp-2.24-source/src/seg.c:926:40: style:inconclusive: Function 'SeparateSegs' argument 4 names different: declaration 'right_list' definition 'rights'. [funcArgNamesDifferent] glbsp-2.24-source/src/seg.h:102:44: note: Function 'SeparateSegs' argument 4 names different: declaration 'right_list' definition 'rights'. glbsp-2.24-source/src/seg.c:926:40: note: Function 'SeparateSegs' argument 4 names different: declaration 'right_list' definition 'rights'. glbsp-2.24-source/src/seg.c:242:49: style: Parameter 'cur' can be declared as pointer to const [constParameterPointer] glbsp-2.24-source/src/seg.c:242:61: style: Parameter 'part' can be declared as pointer to const [constParameterPointer] glbsp-2.24-source/src/seg.c:282:28: style: Parameter 'part' can be declared as pointer to const [constParameterPointer] glbsp-2.24-source/src/seg.c:742:16: style: Variable 'depth_counts' can be declared as const array [constVariable] diff: 2.17.0 glbsp-2.24-source/gui/local.h:612:8: performance:inconclusive: Either there is a missing 'override', or the member function 'Guix_TextBox::LockOut' can be static. [functionStatic] glbsp-2.24-source/gui/textbox.cc:179:20: note: Either there is a missing 'override', or the member function 'Guix_TextBox::LockOut' can be static. glbsp-2.24-source/gui/local.h:612:8: note: Either there is a missing 'override', or the member function 'Guix_TextBox::LockOut' can be static. head glbsp-2.24-source/gui/textbox.cc:179:20: performance:inconclusive: Either there is a missing 'override', or the member function 'Guix_TextBox::LockOut' can be static. [functionStatic] glbsp-2.24-source/gui/local.h:612:8: note: Either there is a missing 'override', or the member function 'Guix_TextBox::LockOut' can be static. glbsp-2.24-source/gui/textbox.cc:179:20: note: Either there is a missing 'override', or the member function 'Guix_TextBox::LockOut' can be static. head glbsp-2.24-source/nodeview/level.cc:670:29: warning: Either the condition '!cur' is redundant or there is possible null pointer dereference: cur. [nullPointerRedundantCheck] glbsp-2.24-source/nodeview/level.cc:667:7: note: Assuming that condition '!cur' is not redundant glbsp-2.24-source/nodeview/level.cc:670:29: note: Null pointer dereference head glbsp-2.24-source/nodeview/level.cc:671:29: warning: Either the condition '!cur' is redundant or there is possible null pointer dereference: cur. [nullPointerRedundantCheck] glbsp-2.24-source/nodeview/level.cc:667:7: note: Assuming that condition '!cur' is not redundant glbsp-2.24-source/nodeview/level.cc:671:29: note: Null pointer dereference head glbsp-2.24-source/nodeview/wad.cc:138:13: style:inconclusive: Technically the member function 'wad_c::CheckLevelName' can be const. [functionConst] glbsp-2.24-source/nodeview/wad.h:61:8: note: Technically the member function 'wad_c::CheckLevelName' can be const. glbsp-2.24-source/nodeview/wad.cc:138:13: note: Technically the member function 'wad_c::CheckLevelName' can be const. head glbsp-2.24-source/nodeview/wad.cc:291:47: style: C-style pointer casting [cstyleCast] head glbsp-2.24-source/nodeview/wad.cc:496:20: style:inconclusive: Technically the member function 'wad_c::FirstLevelName' can be const. [functionConst] glbsp-2.24-source/nodeview/wad.h:71:15: note: Technically the member function 'wad_c::FirstLevelName' can be const. glbsp-2.24-source/nodeview/wad.cc:496:20: note: Technically the member function 'wad_c::FirstLevelName' can be const. 2.17.0 glbsp-2.24-source/nodeview/wad.h:61:8: style:inconclusive: Technically the member function 'wad_c::CheckLevelName' can be const. [functionConst] glbsp-2.24-source/nodeview/wad.cc:138:13: note: Technically the member function 'wad_c::CheckLevelName' can be const. glbsp-2.24-source/nodeview/wad.h:61:8: note: Technically the member function 'wad_c::CheckLevelName' can be const. 2.17.0 glbsp-2.24-source/nodeview/wad.h:71:15: style:inconclusive: Technically the member function 'wad_c::FirstLevelName' can be const. [functionConst] glbsp-2.24-source/nodeview/wad.cc:496:20: note: Technically the member function 'wad_c::FirstLevelName' can be const. glbsp-2.24-source/nodeview/wad.h:71:15: note: Technically the member function 'wad_c::FirstLevelName' can be const. head glbsp-2.24-source/nodeview/window.cc:92:7: style: Variable 'hw' is assigned a value that is never used. [unreadVariable] head glbsp-2.24-source/src/node.c:1167:48: warning: Possible null pointer dereference: last_real_degen [nullPointer] glbsp-2.24-source/src/node.c:1112:28: note: Assignment 'last_real_degen=NULL', assigned value is 0 glbsp-2.24-source/src/node.c:1122:27: note: Assuming condition is false glbsp-2.24-source/src/node.c:1167:48: note: Null pointer dereference DONE