2024-04-17 18:07 ftp://ftp.de.debian.org/debian/pool/main/k/kobodeluxe/kobodeluxe_0.5.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=opengl --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-18-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.56 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.13.0 head-info: 397464e (2024-04-17 17:31:21 +0200) count: 538 419 elapsed-time: 2.7 2.0 head-timing-info: old-timing-info: head results: KoboDeluxe-0.5.1/config.h:41:0: error: #error Must have snprintf() or _snprintf! [preprocessorErrorDirective] KoboDeluxe-0.5.1/eel/e_util.h:50:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/eel/e_lexer.c:259:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/eel/e_builtin.c:70:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ULOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/eel/e_builtin.c:437:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/eel/e_builtin.c:455:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/eel/e_builtin.c:35:46: style: Parameter 'argv' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/eel/e_util.h:63:40: style: Parameter 'bio' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/eel/e_getargs.c:355:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/eel/e_getargs.c:627:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/eel/e_script.c:149:19: warning: Either the condition 'handle>256' is redundant or the array 'eel_scripttab[256]' is accessed at index 256, which is out of bounds. [arrayIndexOutOfBoundsCond] KoboDeluxe-0.5.1/eel/e_script.c:147:12: note: Assuming that condition 'handle>256' is not redundant KoboDeluxe-0.5.1/eel/e_script.c:149:19: note: Array index out of bounds KoboDeluxe-0.5.1/eel/e_symtab.c:191:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/eel/e_symtab.c:369:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/eel/e_symtab.c:383:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/eel/e_symtab.c:404:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/eel/e_symtab.c:431:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/eel/e_util.c:179:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/eel/e_symtab.c:114:4: warning:inconclusive: The buffer 'buf' may not be null-terminated after the call to strncpy(). [terminateStrncpy] KoboDeluxe-0.5.1/eel/e_symtab.c:343:3: warning:inconclusive: The buffer 'buf' may not be null-terminated after the call to strncpy(). [terminateStrncpy] KoboDeluxe-0.5.1/eel/e_symtab.c:353:3: warning:inconclusive: The buffer 'buf' may not be null-terminated after the call to strncpy(). [terminateStrncpy] KoboDeluxe-0.5.1/eel/e_util.c:49:35: style: Parameter 'bio' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/eel/e_util.c:195:41: style: Parameter 's' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/eel/e_util.c:217:37: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/eel/e_symtab.c:73:19: style: A pointer can not be negative so it is either pointless or an error to check if it is. [pointerLessThanZero] KoboDeluxe-0.5.1/eel/e_lexer.c:307:11: style: Variable 'negative' is assigned a value that is never used. [unreadVariable] KoboDeluxe-0.5.1/eel/e_lexer.c:361:14: style: Variable 'directive' is assigned a value that is never used. [unreadVariable] KoboDeluxe-0.5.1/eel/e_symtab.c:251:58: style:inconclusive: Function 'eel_s_find' argument 2 names different: declaration 'sym_name' definition 'eel_s_name'. [funcArgNamesDifferent] KoboDeluxe-0.5.1/eel/e_symtab.h:154:57: note: Function 'eel_s_find' argument 2 names different: declaration 'sym_name' definition 'eel_s_name'. KoboDeluxe-0.5.1/eel/e_symtab.c:251:58: note: Function 'eel_s_find' argument 2 names different: declaration 'sym_name' definition 'eel_s_name'. KoboDeluxe-0.5.1/eel/e_symtab.c:267:63: style:inconclusive: Function 'eel_s_find_n_tk' argument 2 names different: declaration 'sym_name' definition 'eel_s_name'. [funcArgNamesDifferent] KoboDeluxe-0.5.1/eel/e_symtab.h:155:62: note: Function 'eel_s_find_n_tk' argument 2 names different: declaration 'sym_name' definition 'eel_s_name'. KoboDeluxe-0.5.1/eel/e_symtab.c:267:63: note: Function 'eel_s_find_n_tk' argument 2 names different: declaration 'sym_name' definition 'eel_s_name'. KoboDeluxe-0.5.1/eel/e_symtab.c:300:62: style:inconclusive: Function 'eel_s_find_n_t' argument 2 names different: declaration 'sym_name' definition 'eel_s_name'. [funcArgNamesDifferent] KoboDeluxe-0.5.1/eel/e_symtab.h:158:61: note: Function 'eel_s_find_n_t' argument 2 names different: declaration 'sym_name' definition 'eel_s_name'. KoboDeluxe-0.5.1/eel/e_symtab.c:300:62: note: Function 'eel_s_find_n_t' argument 2 names different: declaration 'sym_name' definition 'eel_s_name'. KoboDeluxe-0.5.1/eel/e_getargs.c:157:6: style: Condition '!d' is always false [knownConditionTrueFalse] KoboDeluxe-0.5.1/eel/e_getargs.c:222:22: style: Variable 'op2' can be declared as pointer to const [constVariablePointer] KoboDeluxe-0.5.1/eel/e_getargs.c:361:16: style: Variable 'sym' can be declared as pointer to const [constVariablePointer] KoboDeluxe-0.5.1/eel/eel.c:232:6: style: Variable 'res' is reassigned a value before the old one has been used. [redundantAssignment] KoboDeluxe-0.5.1/eel/eel.c:215:6: note: res is assigned KoboDeluxe-0.5.1/eel/eel.c:232:6: note: res is overwritten KoboDeluxe-0.5.1/gamestate.cpp:32:14: warning: Member variable 'gamestate_t::name' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/gamestate.cpp:86:2: warning: Either the condition 'top' is redundant or there is possible null pointer dereference: gs. [nullPointerRedundantCheck] KoboDeluxe-0.5.1/gamestate.cpp:99:5: note: Assuming that condition 'top' is not redundant KoboDeluxe-0.5.1/gamestate.cpp:92:8: note: Assignment to 'top=gs' KoboDeluxe-0.5.1/gamestate.cpp:86:2: note: Null pointer dereference KoboDeluxe-0.5.1/gamestate.cpp:91:2: warning: Either the condition 'top' is redundant or there is possible null pointer dereference: gs. [nullPointerRedundantCheck] KoboDeluxe-0.5.1/gamestate.cpp:99:5: note: Assuming that condition 'top' is not redundant KoboDeluxe-0.5.1/gamestate.cpp:92:8: note: Assignment to 'top=gs' KoboDeluxe-0.5.1/gamestate.cpp:91:2: note: Null pointer dereference KoboDeluxe-0.5.1/gamestate.cpp:108:2: warning: Either the condition 'top' is redundant or there is possible null pointer dereference: gs. [nullPointerRedundantCheck] KoboDeluxe-0.5.1/gamestate.cpp:116:5: note: Assuming that condition 'top' is not redundant KoboDeluxe-0.5.1/gamestate.cpp:112:8: note: Assignment to 'top=gs' KoboDeluxe-0.5.1/gamestate.cpp:108:2: note: Null pointer dereference KoboDeluxe-0.5.1/gamestate.cpp:111:2: warning: Either the condition 'top' is redundant or there is possible null pointer dereference: gs. [nullPointerRedundantCheck] KoboDeluxe-0.5.1/gamestate.cpp:116:5: note: Assuming that condition 'top' is not redundant KoboDeluxe-0.5.1/gamestate.cpp:112:8: note: Assignment to 'top=gs' KoboDeluxe-0.5.1/gamestate.cpp:111:2: note: Null pointer dereference KoboDeluxe-0.5.1/graphics/window.h:232:6: style:inconclusive: Technically the member function 'window_t::visible' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/window.h:238:9: performance:inconclusive: Technically the member function 'window_t::mulrgb' can be static (but you may consider moving to unnamed namespace). [functionStatic] KoboDeluxe-0.5.1/graphics/window.h:245:9: performance:inconclusive: Technically the member function 'window_t::fadergb' can be static (but you may consider moving to unnamed namespace). [functionStatic] KoboDeluxe-0.5.1/graphics/window.h:287:6: style:inconclusive: Technically the member function 'window_t::x' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/window.h:288:6: style:inconclusive: Technically the member function 'window_t::y' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/window.h:289:6: style:inconclusive: Technically the member function 'window_t::x2' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/window.h:290:6: style:inconclusive: Technically the member function 'window_t::y2' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/window.h:225:2: style: Class 'window_t' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] KoboDeluxe-0.5.1/graphics/display.h:18:7: style: The function 'refresh' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/graphics/window.h:235:15: note: Virtual function in base class KoboDeluxe-0.5.1/graphics/display.h:18:7: note: Function in derived class KoboDeluxe-0.5.1/graphics/window.h:328:8: style: Local variable 'x2' shadows outer function [shadowFunction] KoboDeluxe-0.5.1/graphics/window.h:289:6: note: Shadowed declaration KoboDeluxe-0.5.1/graphics/window.h:328:8: note: Shadow variable KoboDeluxe-0.5.1/graphics/window.h:329:8: style: Local variable 'y2' shadows outer function [shadowFunction] KoboDeluxe-0.5.1/graphics/window.h:290:6: note: Shadowed declaration KoboDeluxe-0.5.1/graphics/window.h:329:8: note: Shadow variable KoboDeluxe-0.5.1/graphics/window.h:319:30: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/graphics/cs.c:198:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/cs.c:552:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/dashboard.h:29:1: style: The class 'screen_window_t' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] KoboDeluxe-0.5.1/enemies.cpp:37:9: warning: Member variable '_enemy::ek' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/enemies.cpp:37:9: warning: Member variable '_enemy::x' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/enemies.cpp:37:9: warning: Member variable '_enemy::y' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/enemies.cpp:37:9: warning: Member variable '_enemy::h' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/enemies.cpp:37:9: warning: Member variable '_enemy::v' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/enemies.cpp:37:9: warning: Member variable '_enemy::di' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/enemies.cpp:37:9: warning: Member variable '_enemy::a' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/enemies.cpp:37:9: warning: Member variable '_enemy::b' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/enemies.cpp:37:9: warning: Member variable '_enemy::count' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/enemies.cpp:37:9: warning: Member variable '_enemy::health' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/enemies.cpp:37:9: warning: Member variable '_enemy::damage' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/enemies.cpp:37:9: warning: Member variable '_enemy::shootable' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/enemies.cpp:37:9: warning: Member variable '_enemy::diffx' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/enemies.cpp:37:9: warning: Member variable '_enemy::diffy' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/enemies.cpp:37:9: warning: Member variable '_enemy::norm' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/enemies.cpp:37:9: warning: Member variable '_enemy::hitsize' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/enemies.cpp:37:9: warning: Member variable '_enemy::bank' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/enemies.cpp:37:9: warning: Member variable '_enemy::frame' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/filemap.h:122:14: style:inconclusive: Technically the member function 'filemapper_t::exepath' can be const. [functionConst] KoboDeluxe-0.5.1/pfile.h:130:6: style:inconclusive: Technically the member function 'pfile_t::chunk_type' can be const. [functionConst] KoboDeluxe-0.5.1/pfile.h:131:6: style:inconclusive: Technically the member function 'pfile_t::chunk_size' can be const. [functionConst] KoboDeluxe-0.5.1/score.h:197:6: style:inconclusive: Technically the member function 'score_manager_t::last_scene' can be const. [functionConst] KoboDeluxe-0.5.1/score.h:212:6: style:inconclusive: Technically the member function 'score_manager_t::current_profile' can be const. [functionConst] KoboDeluxe-0.5.1/enemies.h:128:13: style:inconclusive: Technically the member function '_enemy::is_pipe' can be const. [functionConst] KoboDeluxe-0.5.1/enemies.h:431:20: note: Technically the member function '_enemy::is_pipe' can be const. KoboDeluxe-0.5.1/enemies.h:128:13: note: Technically the member function '_enemy::is_pipe' can be const. KoboDeluxe-0.5.1/random.h:40:9: style:inconclusive: Technically the member function 'rand_num_t::get_seed' can be const. [functionConst] KoboDeluxe-0.5.1/cfgparse.h:54:2: style: Class 'cfg_comment_t' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] KoboDeluxe-0.5.1/pfile.h:105:2: style: Class 'pfile_t' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] KoboDeluxe-0.5.1/cfgparse.h:55:6: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgparse.h:42:14: note: Virtual function in base class KoboDeluxe-0.5.1/cfgparse.h:55:6: note: Function in derived class KoboDeluxe-0.5.1/cfgparse.h:56:6: style: The function 'copy' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgparse.h:44:14: note: Virtual function in base class KoboDeluxe-0.5.1/cfgparse.h:56:6: note: Function in derived class KoboDeluxe-0.5.1/cfgparse.h:57:7: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgparse.h:45:15: note: Virtual function in base class KoboDeluxe-0.5.1/cfgparse.h:57:7: note: Function in derived class KoboDeluxe-0.5.1/cfgparse.h:58:7: style: The function 'set_default' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgparse.h:46:15: note: Virtual function in base class KoboDeluxe-0.5.1/cfgparse.h:58:7: note: Function in derived class KoboDeluxe-0.5.1/cfgparse.h:59:6: style: The function 'is_your_var' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgparse.h:47:14: note: Virtual function in base class KoboDeluxe-0.5.1/cfgparse.h:59:6: note: Function in derived class KoboDeluxe-0.5.1/cfgparse.h:70:6: style: The function 'copy' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgparse.h:44:14: note: Virtual function in base class KoboDeluxe-0.5.1/cfgparse.h:70:6: note: Function in derived class KoboDeluxe-0.5.1/cfgparse.h:71:14: style: The function 'test' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgparse.h:43:14: note: Virtual function in base class KoboDeluxe-0.5.1/cfgparse.h:71:14: note: Function in derived class KoboDeluxe-0.5.1/cfgparse.h:72:6: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgparse.h:42:14: note: Virtual function in base class KoboDeluxe-0.5.1/cfgparse.h:72:6: note: Function in derived class KoboDeluxe-0.5.1/cfgparse.h:73:7: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgparse.h:45:15: note: Virtual function in base class KoboDeluxe-0.5.1/cfgparse.h:73:7: note: Function in derived class KoboDeluxe-0.5.1/cfgparse.h:74:7: style: The function 'set_default' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgparse.h:46:15: note: Virtual function in base class KoboDeluxe-0.5.1/cfgparse.h:74:7: note: Function in derived class KoboDeluxe-0.5.1/cfgparse.h:75:6: style: The function 'is_your_var' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgparse.h:47:14: note: Virtual function in base class KoboDeluxe-0.5.1/cfgparse.h:75:6: note: Function in derived class KoboDeluxe-0.5.1/cfgparse.h:86:6: style: The function 'copy' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgparse.h:44:14: note: Virtual function in base class KoboDeluxe-0.5.1/cfgparse.h:86:6: note: Function in derived class KoboDeluxe-0.5.1/cfgparse.h:87:6: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgparse.h:42:14: note: Virtual function in base class KoboDeluxe-0.5.1/cfgparse.h:87:6: note: Function in derived class KoboDeluxe-0.5.1/cfgparse.h:88:7: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgparse.h:45:15: note: Virtual function in base class KoboDeluxe-0.5.1/cfgparse.h:88:7: note: Function in derived class KoboDeluxe-0.5.1/cfgparse.h:89:7: style: The function 'set_default' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgparse.h:46:15: note: Virtual function in base class KoboDeluxe-0.5.1/cfgparse.h:89:7: note: Function in derived class KoboDeluxe-0.5.1/cfgparse.h:90:6: style: The function 'is_your_var' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgparse.h:47:14: note: Virtual function in base class KoboDeluxe-0.5.1/cfgparse.h:90:6: note: Function in derived class KoboDeluxe-0.5.1/cfgparse.h:101:6: style: The function 'copy' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgparse.h:44:14: note: Virtual function in base class KoboDeluxe-0.5.1/cfgparse.h:101:6: note: Function in derived class KoboDeluxe-0.5.1/cfgparse.h:102:6: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgparse.h:42:14: note: Virtual function in base class KoboDeluxe-0.5.1/cfgparse.h:102:6: note: Function in derived class KoboDeluxe-0.5.1/cfgparse.h:103:7: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgparse.h:45:15: note: Virtual function in base class KoboDeluxe-0.5.1/cfgparse.h:103:7: note: Function in derived class KoboDeluxe-0.5.1/cfgparse.h:104:7: style: The function 'set_default' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgparse.h:46:15: note: Virtual function in base class KoboDeluxe-0.5.1/cfgparse.h:104:7: note: Function in derived class KoboDeluxe-0.5.1/cfgparse.h:105:6: style: The function 'is_your_var' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgparse.h:47:14: note: Virtual function in base class KoboDeluxe-0.5.1/cfgparse.h:105:6: note: Function in derived class KoboDeluxe-0.5.1/cfgparse.h:117:6: style: The function 'copy' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgparse.h:44:14: note: Virtual function in base class KoboDeluxe-0.5.1/cfgparse.h:117:6: note: Function in derived class KoboDeluxe-0.5.1/cfgparse.h:118:6: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgparse.h:42:14: note: Virtual function in base class KoboDeluxe-0.5.1/cfgparse.h:118:6: note: Function in derived class KoboDeluxe-0.5.1/cfgparse.h:119:7: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgparse.h:45:15: note: Virtual function in base class KoboDeluxe-0.5.1/cfgparse.h:119:7: note: Function in derived class KoboDeluxe-0.5.1/cfgparse.h:120:7: style: The function 'set_default' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgparse.h:46:15: note: Virtual function in base class KoboDeluxe-0.5.1/cfgparse.h:120:7: note: Function in derived class KoboDeluxe-0.5.1/cfgparse.h:121:6: style: The function 'is_your_var' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgparse.h:47:14: note: Virtual function in base class KoboDeluxe-0.5.1/cfgparse.h:121:6: note: Function in derived class KoboDeluxe-0.5.1/prefs.h:116:7: style: The function 'init' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgparse.h:152:15: note: Virtual function in base class KoboDeluxe-0.5.1/prefs.h:116:7: note: Function in derived class KoboDeluxe-0.5.1/prefs.h:117:7: style: The function 'postload' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgparse.h:153:15: note: Virtual function in base class KoboDeluxe-0.5.1/prefs.h:117:7: note: Function in derived class KoboDeluxe-0.5.1/enemies.cpp:181:57: style:inconclusive: Function 'set_ekind_to_generate' argument 1 names different: declaration 'ek1' definition 'e1'. [funcArgNamesDifferent] KoboDeluxe-0.5.1/enemies.h:218:55: note: Function 'set_ekind_to_generate' argument 1 names different: declaration 'ek1' definition 'e1'. KoboDeluxe-0.5.1/enemies.cpp:181:57: note: Function 'set_ekind_to_generate' argument 1 names different: declaration 'ek1' definition 'e1'. KoboDeluxe-0.5.1/enemies.cpp:182:22: style:inconclusive: Function 'set_ekind_to_generate' argument 3 names different: declaration 'ek2' definition 'e2'. [funcArgNamesDifferent] KoboDeluxe-0.5.1/enemies.h:219:23: note: Function 'set_ekind_to_generate' argument 3 names different: declaration 'ek2' definition 'e2'. KoboDeluxe-0.5.1/enemies.cpp:182:22: note: Function 'set_ekind_to_generate' argument 3 names different: declaration 'ek2' definition 'e2'. KoboDeluxe-0.5.1/graphics/glSDL.c:2286:36: style: Parameter 'surface' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/graphics/glSDL.c:2286:55: style: Parameter 'area' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/graphics/glSDL.c:2290:38: style: Parameter 'surface' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/graphics/glSDL.c:2295:39: style: Parameter 'surface' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/graphics/region.c:100:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Uint16 [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/cs.c:241:14: warning: Result of operator '|' is always true if one operand is non-zero. Did you intend to use '&'? [badBitmaskCheck] KoboDeluxe-0.5.1/graphics/cs.c:251:14: warning: Result of operator '|' is always true if one operand is non-zero. Did you intend to use '&'? [badBitmaskCheck] KoboDeluxe-0.5.1/graphics/cs.c:186:11: style: Variable 'o->layer' is reassigned a value before the old one has been used. [redundantAssignment] KoboDeluxe-0.5.1/graphics/cs.c:183:12: note: o->layer is assigned KoboDeluxe-0.5.1/graphics/cs.c:186:11: note: o->layer is overwritten KoboDeluxe-0.5.1/graphics/cs.c:155:44: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/graphics/cs.c:168:43: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/graphics/cs.c:355:47: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/graphics/region.c:48:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] KoboDeluxe-0.5.1/graphics/region.c:175:9: style: Variable 'sxmax' is assigned a value that is never used. [unreadVariable] KoboDeluxe-0.5.1/graphics/region.c:182:9: style: Variable 'sxmax' is assigned a value that is never used. [unreadVariable] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:155:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:243:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:515:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:543:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:566:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:612:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:645:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:654:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:695:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:726:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:770:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:921:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:980:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:1103:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:1218:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_KEYDOWN [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/sprite.c:244:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/sprite.c:352:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/sprite.c:420:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/sprite.c:465:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/sprite.c:497:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/sprite.c:540:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/sofont.cpp:38:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/sofont.cpp:87:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/sofont.cpp:258:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/sprite.c:377:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] KoboDeluxe-0.5.1/graphics/toolkit.cpp:36:14: warning: Member variable 'ct_widget_t::_value' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/graphics/toolkit.cpp:206:14: warning: Member variable 'ct_engine_t::render_highlight' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/graphics/toolkit.cpp:259:12: warning: Member variable 'ct_item_t::_index' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/graphics/toolkit.cpp:259:12: warning: Member variable 'ct_item_t::next' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/graphics/toolkit.cpp:259:12: warning: Member variable 'ct_item_t::prev' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/graphics/toolkit.cpp:44:2: performance: Variable '_color' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] KoboDeluxe-0.5.1/graphics/toolkit.h:74:13: style:inconclusive: Technically the member function 'ct_widget_t::halign' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/toolkit.h:75:13: style:inconclusive: Technically the member function 'ct_widget_t::valign' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/toolkit.h:79:7: style:inconclusive: Technically the member function 'ct_widget_t::token' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/toolkit.h:83:8: style:inconclusive: Technically the member function 'ct_widget_t::rxoffs' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/toolkit.h:84:8: style:inconclusive: Technically the member function 'ct_widget_t::ryoffs' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/toolkit.h:106:14: style:inconclusive: Technically the member function 'ct_label_t::caption' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/toolkit.h:121:14: style:inconclusive: Technically the member function 'ct_item_t::caption' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/toolkit.h:123:6: style:inconclusive: Technically the member function 'ct_item_t::value' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/toolkit.h:125:6: style:inconclusive: Technically the member function 'ct_item_t::index' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/toolkit.h:163:14: style:inconclusive: Technically the member function 'ct_spin_t::unit' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/toolkit.h:192:6: style:inconclusive: Technically the member function 'ct_form_t::selected_index' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/toolkit.cpp:724:16: note: Technically the member function 'ct_form_t::selected_index' can be const. KoboDeluxe-0.5.1/graphics/toolkit.h:192:6: note: Technically the member function 'ct_form_t::selected_index' can be const. KoboDeluxe-0.5.1/graphics/toolkit.h:193:7: style:inconclusive: Technically the member function 'ct_form_t::render' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/toolkit.cpp:740:17: note: Technically the member function 'ct_form_t::render' can be const. KoboDeluxe-0.5.1/graphics/toolkit.h:193:7: note: Technically the member function 'ct_form_t::render' can be const. KoboDeluxe-0.5.1/graphics/toolkit.h:194:7: style:inconclusive: Technically the member function 'ct_form_t::render_nontransparent' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/toolkit.cpp:753:17: note: Technically the member function 'ct_form_t::render_nontransparent' can be const. KoboDeluxe-0.5.1/graphics/toolkit.h:194:7: note: Technically the member function 'ct_form_t::render_nontransparent' can be const. KoboDeluxe-0.5.1/graphics/toolkit.h:72:15: style: Virtual function 'halign' is called from constructor 'ct_widget_t()' at line 47. Dynamic binding is not used. [virtualCallInConstructor] KoboDeluxe-0.5.1/graphics/toolkit.cpp:47:2: note: Calling halign KoboDeluxe-0.5.1/graphics/toolkit.h:72:15: note: halign is a virtual function KoboDeluxe-0.5.1/graphics/toolkit.h:73:15: style: Virtual function 'valign' is called from constructor 'ct_widget_t()' at line 48. Dynamic binding is not used. [virtualCallInConstructor] KoboDeluxe-0.5.1/graphics/toolkit.cpp:48:2: note: Calling valign KoboDeluxe-0.5.1/graphics/toolkit.h:73:15: note: valign is a virtual function KoboDeluxe-0.5.1/graphics/toolkit.h:58:15: warning: The class 'ct_widget_t' defines member variable with name 'next' also defined in its parent class 'window_t'. [duplInheritedMember] KoboDeluxe-0.5.1/graphics/window.h:297:12: note: Parent variable 'window_t::next' KoboDeluxe-0.5.1/graphics/toolkit.h:58:15: note: Derived variable 'ct_widget_t::next' KoboDeluxe-0.5.1/graphics/toolkit.h:58:22: warning: The class 'ct_widget_t' defines member variable with name 'prev' also defined in its parent class 'window_t'. [duplInheritedMember] KoboDeluxe-0.5.1/graphics/window.h:297:19: note: Parent variable 'window_t::prev' KoboDeluxe-0.5.1/graphics/toolkit.h:58:22: note: Derived variable 'ct_widget_t::prev' KoboDeluxe-0.5.1/graphics/toolkit.h:104:2: style: Class 'ct_label_t' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] KoboDeluxe-0.5.1/graphics/toolkit.h:119:2: style: Class 'ct_item_t' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] KoboDeluxe-0.5.1/graphics/toolkit.h:135:2: style: Class 'ct_list_t' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] KoboDeluxe-0.5.1/graphics/toolkit.h:158:2: style: Class 'ct_spin_t' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] KoboDeluxe-0.5.1/graphics/toolkit.h:172:2: style: Class 'ct_button_t' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] KoboDeluxe-0.5.1/graphics/toolkit.h:63:15: style: The function 'init' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/graphics/window.h:228:15: note: Virtual function in base class KoboDeluxe-0.5.1/graphics/toolkit.h:63:15: note: Function in derived class KoboDeluxe-0.5.1/graphics/toolkit.h:102:7: style: The function 'render' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/graphics/toolkit.h:55:15: note: Virtual function in base class KoboDeluxe-0.5.1/graphics/toolkit.h:102:7: note: Function in derived class KoboDeluxe-0.5.1/graphics/toolkit.h:107:15: style: The function 'halign' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/graphics/toolkit.h:72:15: note: Virtual function in base class KoboDeluxe-0.5.1/graphics/toolkit.h:107:15: note: Function in derived class KoboDeluxe-0.5.1/graphics/toolkit.h:133:7: style: The function 'render' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/graphics/toolkit.h:102:7: note: Virtual function in base class KoboDeluxe-0.5.1/graphics/toolkit.h:133:7: note: Function in derived class KoboDeluxe-0.5.1/graphics/toolkit.h:136:11: style: The destructor '~ct_list_t' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/graphics/window.h:226:11: note: Virtual destructor in base class KoboDeluxe-0.5.1/graphics/toolkit.h:136:11: note: Destructor in derived class KoboDeluxe-0.5.1/graphics/toolkit.h:143:7: style: The function 'value' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/graphics/toolkit.h:68:15: note: Virtual function in base class KoboDeluxe-0.5.1/graphics/toolkit.h:143:7: note: Function in derived class KoboDeluxe-0.5.1/graphics/toolkit.h:144:6: style: The function 'value' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/graphics/toolkit.h:69:14: note: Virtual function in base class KoboDeluxe-0.5.1/graphics/toolkit.h:144:6: note: Function in derived class KoboDeluxe-0.5.1/graphics/toolkit.h:145:7: style: The function 'change' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/graphics/toolkit.h:67:15: note: Virtual function in base class KoboDeluxe-0.5.1/graphics/toolkit.h:145:7: note: Function in derived class KoboDeluxe-0.5.1/graphics/toolkit.h:146:15: style: The function 'halign' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/graphics/toolkit.h:107:15: note: Virtual function in base class KoboDeluxe-0.5.1/graphics/toolkit.h:146:15: note: Function in derived class KoboDeluxe-0.5.1/graphics/toolkit.h:156:7: style: The function 'render' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/graphics/toolkit.h:102:7: note: Virtual function in base class KoboDeluxe-0.5.1/graphics/toolkit.h:156:7: note: Function in derived class KoboDeluxe-0.5.1/graphics/toolkit.h:160:7: style: The function 'value' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/graphics/toolkit.h:68:15: note: Virtual function in base class KoboDeluxe-0.5.1/graphics/toolkit.h:160:7: note: Function in derived class KoboDeluxe-0.5.1/graphics/toolkit.h:161:7: style: The function 'change' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/graphics/toolkit.h:67:15: note: Virtual function in base class KoboDeluxe-0.5.1/graphics/toolkit.h:161:7: note: Function in derived class KoboDeluxe-0.5.1/graphics/toolkit.h:170:7: style: The function 'render' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/graphics/toolkit.h:102:7: note: Virtual function in base class KoboDeluxe-0.5.1/graphics/toolkit.h:170:7: note: Function in derived class KoboDeluxe-0.5.1/graphics/toolkit.h:173:7: style: The function 'change' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/graphics/toolkit.h:67:15: note: Virtual function in base class KoboDeluxe-0.5.1/graphics/toolkit.h:173:7: note: Function in derived class KoboDeluxe-0.5.1/graphics/toolkit.h:184:11: style: The destructor '~ct_form_t' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/graphics/window.h:226:11: note: Virtual destructor in base class KoboDeluxe-0.5.1/graphics/toolkit.h:184:11: note: Destructor in derived class KoboDeluxe-0.5.1/graphics/toolkit.h:170:7: style: The function 'render' overrides a function in a base class but just delegates back to the base class. [uselessOverride] KoboDeluxe-0.5.1/graphics/toolkit.h:102:7: note: Virtual function in base class KoboDeluxe-0.5.1/graphics/toolkit.h:170:7: note: Function in derived class KoboDeluxe-0.5.1/graphics/toolkit.cpp:652:5: warning: Identical condition '!widgets', second condition is always false [identicalConditionAfterEarlyExit] KoboDeluxe-0.5.1/graphics/toolkit.cpp:649:5: note: If condition '!widgets' is true, the function will return/exit KoboDeluxe-0.5.1/graphics/toolkit.cpp:652:5: note: Testing identical condition '!widgets' KoboDeluxe-0.5.1/graphics/toolkit.cpp:587:34: style:inconclusive: Function 'add' argument 1 names different: declaration 'w' definition 'widget'. [funcArgNamesDifferent] KoboDeluxe-0.5.1/graphics/toolkit.h:185:24: note: Function 'add' argument 1 names different: declaration 'w' definition 'widget'. KoboDeluxe-0.5.1/graphics/toolkit.cpp:587:34: note: Function 'add' argument 1 names different: declaration 'w' definition 'widget'. KoboDeluxe-0.5.1/graphics/toolkit.cpp:633:37: style:inconclusive: Function 'select' argument 1 names different: declaration 'w' definition 'widget'. [funcArgNamesDifferent] KoboDeluxe-0.5.1/graphics/toolkit.h:187:35: note: Function 'select' argument 1 names different: declaration 'w' definition 'widget'. KoboDeluxe-0.5.1/graphics/toolkit.cpp:633:37: note: Function 'select' argument 1 names different: declaration 'w' definition 'widget'. KoboDeluxe-0.5.1/graphics/gfxengine.cpp:39:14: warning: Member variable 'gfxengine_t::dirtywtable' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:39:14: warning: Member variable 'gfxengine_t::sf2' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:39:14: warning: Member variable 'gfxengine_t::bcf' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:39:14: warning: Member variable 'gfxengine_t::_timefilter' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/graphics/gfxengine.h:106:6: style:inconclusive: Technically the member function 'gfxengine_t::doublebuffer' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/gfxengine.h:107:6: style:inconclusive: Technically the member function 'gfxengine_t::shadow' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/gfxengine.h:108:6: style:inconclusive: Technically the member function 'gfxengine_t::autoinvalidate' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/gfxengine.h:116:7: performance:inconclusive: Technically the member function 'gfxengine_t::filterflags' can be static (but you may consider moving to unnamed namespace). [functionStatic] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:294:19: note: Technically the member function 'gfxengine_t::filterflags' can be static (but you may consider moving to unnamed namespace). KoboDeluxe-0.5.1/graphics/gfxengine.h:116:7: note: Technically the member function 'gfxengine_t::filterflags' can be static (but you may consider moving to unnamed namespace). KoboDeluxe-0.5.1/graphics/gfxengine.h:120:7: performance:inconclusive: Technically the member function 'gfxengine_t::clampcolor' can be static (but you may consider moving to unnamed namespace). [functionStatic] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:424:19: note: Technically the member function 'gfxengine_t::clampcolor' can be static (but you may consider moving to unnamed namespace). KoboDeluxe-0.5.1/graphics/gfxengine.h:120:7: note: Technically the member function 'gfxengine_t::clampcolor' can be static (but you may consider moving to unnamed namespace). KoboDeluxe-0.5.1/graphics/gfxengine.h:131:7: performance:inconclusive: Technically the member function 'gfxengine_t::reload' can be static (but you may consider moving to unnamed namespace). [functionStatic] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:643:19: note: Technically the member function 'gfxengine_t::reload' can be static (but you may consider moving to unnamed namespace). KoboDeluxe-0.5.1/graphics/gfxengine.h:131:7: note: Technically the member function 'gfxengine_t::reload' can be static (but you may consider moving to unnamed namespace). KoboDeluxe-0.5.1/graphics/gfxengine.h:180:7: performance:inconclusive: Technically the member function 'gfxengine_t::free_obj' can be static (but you may consider moving to unnamed namespace). [functionStatic] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:1405:19: note: Technically the member function 'gfxengine_t::free_obj' can be static (but you may consider moving to unnamed namespace). KoboDeluxe-0.5.1/graphics/gfxengine.h:180:7: note: Technically the member function 'gfxengine_t::free_obj' can be static (but you may consider moving to unnamed namespace). KoboDeluxe-0.5.1/graphics/gfxengine.h:197:6: style:inconclusive: Technically the member function 'gfxengine_t::xoffs' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:1171:18: note: Technically the member function 'gfxengine_t::xoffs' can be const. KoboDeluxe-0.5.1/graphics/gfxengine.h:197:6: note: Technically the member function 'gfxengine_t::xoffs' can be const. KoboDeluxe-0.5.1/graphics/gfxengine.h:198:6: style:inconclusive: Technically the member function 'gfxengine_t::yoffs' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:1181:18: note: Technically the member function 'gfxengine_t::yoffs' can be const. KoboDeluxe-0.5.1/graphics/gfxengine.h:198:6: note: Technically the member function 'gfxengine_t::yoffs' can be const. KoboDeluxe-0.5.1/graphics/gfxengine.h:201:6: style:inconclusive: Technically the member function 'gfxengine_t::objects_in_use' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:1411:18: note: Technically the member function 'gfxengine_t::objects_in_use' can be const. KoboDeluxe-0.5.1/graphics/gfxengine.h:201:6: note: Technically the member function 'gfxengine_t::objects_in_use' can be const. KoboDeluxe-0.5.1/graphics/gfxengine.h:203:6: style:inconclusive: Technically the member function 'gfxengine_t::width' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/gfxengine.h:204:6: style:inconclusive: Technically the member function 'gfxengine_t::height' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/gfxengine.h:205:8: style:inconclusive: Technically the member function 'gfxengine_t::xscale' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/gfxengine.h:206:8: style:inconclusive: Technically the member function 'gfxengine_t::yscale' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/gfxengine.h:269:7: style:inconclusive: Technically the member function 'gfxengine_t::refresh_rect' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:1241:19: note: Technically the member function 'gfxengine_t::refresh_rect' can be const. KoboDeluxe-0.5.1/graphics/gfxengine.h:269:7: note: Technically the member function 'gfxengine_t::refresh_rect' can be const. KoboDeluxe-0.5.1/graphics/gfxengine.h:272:7: performance:inconclusive: Technically the member function 'gfxengine_t::__frame' can be static (but you may consider moving to unnamed namespace). [functionStatic] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:1226:19: note: Technically the member function 'gfxengine_t::__frame' can be static (but you may consider moving to unnamed namespace). KoboDeluxe-0.5.1/graphics/gfxengine.h:272:7: note: Technically the member function 'gfxengine_t::__frame' can be static (but you may consider moving to unnamed namespace). KoboDeluxe-0.5.1/graphics/gfxengine.h:275:7: performance:inconclusive: Technically the member function 'gfxengine_t::stop_engine' can be static (but you may consider moving to unnamed namespace). [functionStatic] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:1045:19: note: Technically the member function 'gfxengine_t::stop_engine' can be static (but you may consider moving to unnamed namespace). KoboDeluxe-0.5.1/graphics/gfxengine.h:275:7: note: Technically the member function 'gfxengine_t::stop_engine' can be static (but you may consider moving to unnamed namespace). KoboDeluxe-0.5.1/graphics/sofont.h:64:6: style:inconclusive: Technically the member function 'SoFont::FontHeight' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/sofont.h:81:6: performance:inconclusive: Technically the member function 'SoFont::getMinChar' can be static (but you may consider moving to unnamed namespace). [functionStatic] KoboDeluxe-0.5.1/graphics/sofont.h:82:6: style:inconclusive: Technically the member function 'SoFont::getMaxChar' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:768:14: style: C-style pointer casting [cstyleCast] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:1244:8: style: Redundant initialization for 'w'. The initialized value is overwritten before it is read. [redundantInitialization] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:1243:14: note: w is initialized KoboDeluxe-0.5.1/graphics/gfxengine.cpp:1244:8: note: w is overwritten KoboDeluxe-0.5.1/graphics/gfxengine.cpp:1149:30: style:inconclusive: Function 'scroll' argument 1 names different: declaration 'xs' definition 'xscr'. [funcArgNamesDifferent] KoboDeluxe-0.5.1/graphics/gfxengine.h:194:18: note: Function 'scroll' argument 1 names different: declaration 'xs' definition 'xscr'. KoboDeluxe-0.5.1/graphics/gfxengine.cpp:1149:30: note: Function 'scroll' argument 1 names different: declaration 'xs' definition 'xscr'. KoboDeluxe-0.5.1/graphics/gfxengine.cpp:1149:40: style:inconclusive: Function 'scroll' argument 2 names different: declaration 'ys' definition 'yscr'. [funcArgNamesDifferent] KoboDeluxe-0.5.1/graphics/gfxengine.h:194:26: note: Function 'scroll' argument 2 names different: declaration 'ys' definition 'yscr'. KoboDeluxe-0.5.1/graphics/gfxengine.cpp:1149:40: note: Function 'scroll' argument 2 names different: declaration 'ys' definition 'yscr'. KoboDeluxe-0.5.1/graphics/gfxengine.cpp:526:12: style: Variable 'b' can be declared as pointer to const [constVariablePointer] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:607:70: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:972:52: style: Parameter 'rect' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/graphics/gfxengine.cpp:1241:42: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/graphics/sofont.cpp:461:13: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] KoboDeluxe-0.5.1/graphics/sofont.cpp:16:2: performance: Variable 'background' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] KoboDeluxe-0.5.1/graphics/sofont.h:62:6: style:inconclusive: Technically the member function 'SoFont::TextWidth' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/sofont.cpp:456:13: note: Technically the member function 'SoFont::TextWidth' can be const. KoboDeluxe-0.5.1/graphics/sofont.h:62:6: note: Technically the member function 'SoFont::TextWidth' can be const. KoboDeluxe-0.5.1/graphics/sofont.h:77:6: style:inconclusive: Technically the member function 'SoFont::TextCursorAt' can be const. [functionConst] KoboDeluxe-0.5.1/graphics/sofont.cpp:531:13: note: Technically the member function 'SoFont::TextCursorAt' can be const. KoboDeluxe-0.5.1/graphics/sofont.h:77:6: note: Technically the member function 'SoFont::TextCursorAt' can be const. KoboDeluxe-0.5.1/graphics/sofont.cpp:309:5: style: Condition '!spacew' is always true [knownConditionTrueFalse] KoboDeluxe-0.5.1/graphics/sofont.cpp:308:11: note: Assignment 'spacew=0', assigned value is 0 KoboDeluxe-0.5.1/graphics/sofont.cpp:309:5: note: Condition '!spacew' is always true KoboDeluxe-0.5.1/graphics/sofont.cpp:50:11: style: C-style pointer casting [cstyleCast] KoboDeluxe-0.5.1/graphics/sofont.cpp:56:13: style: C-style pointer casting [cstyleCast] KoboDeluxe-0.5.1/graphics/sofont.cpp:60:13: style: C-style pointer casting [cstyleCast] KoboDeluxe-0.5.1/graphics/sofont.cpp:72:13: style: C-style pointer casting [cstyleCast] KoboDeluxe-0.5.1/graphics/sofont.cpp:99:11: style: C-style pointer casting [cstyleCast] KoboDeluxe-0.5.1/graphics/sofont.cpp:105:6: style: C-style pointer casting [cstyleCast] KoboDeluxe-0.5.1/graphics/sofont.cpp:109:6: style: C-style pointer casting [cstyleCast] KoboDeluxe-0.5.1/graphics/sofont.cpp:122:6: style: C-style pointer casting [cstyleCast] KoboDeluxe-0.5.1/graphics/sofont.cpp:235:13: style: The scope of the variable 'y' can be reduced. [variableScope] KoboDeluxe-0.5.1/graphics/sofont.cpp:417:6: style: The scope of the variable 'ofs' can be reduced. [variableScope] KoboDeluxe-0.5.1/graphics/sofont.cpp:417:11: style: The scope of the variable 'i' can be reduced. [variableScope] KoboDeluxe-0.5.1/graphics/sofont.cpp:417:18: style: The scope of the variable 'x' can be reduced. [variableScope] KoboDeluxe-0.5.1/graphics/sofont.cpp:409:61: style:inconclusive: Function 'PutStringWithCursor' argument 2 names different: declaration 'x' definition 'xs'. [funcArgNamesDifferent] KoboDeluxe-0.5.1/graphics/sofont.h:59:53: note: Function 'PutStringWithCursor' argument 2 names different: declaration 'x' definition 'xs'. KoboDeluxe-0.5.1/graphics/sofont.cpp:409:61: note: Function 'PutStringWithCursor' argument 2 names different: declaration 'x' definition 'xs'. KoboDeluxe-0.5.1/graphics/sofont.cpp:127:64: style: Parameter 'clip' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/graphics/sofont.cpp:507:27: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/graphics/sofont.cpp:564:14: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/graphics/sofont.cpp:235:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable] KoboDeluxe-0.5.1/graphics/filters.c:260:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SWSURFACE [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/filters.c:493:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SRCALPHA [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/filters.c:845:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WLOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/vidmodes.c:110:14: style: Variable 'im' can be declared as pointer to const [constVariablePointer] KoboDeluxe-0.5.1/graphics/vidmodes.c:173:30: style: Parameter 'current' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/graphics/window.cpp:140:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SWSURFACE [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/window.cpp:290:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SRCCOLORKEY [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/window.cpp:312:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SRCALPHA [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/pfile.cpp:36:10: warning: Member variable 'pfile_t::chunk_id' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/pfile.cpp:36:10: warning: Member variable 'pfile_t::chunk_writing' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/pfile.cpp:60:11: style: C-style pointer casting [cstyleCast] KoboDeluxe-0.5.1/pfile.cpp:85:11: style: C-style pointer casting [cstyleCast] KoboDeluxe-0.5.1/pfile.cpp:140:14: style: C-style pointer casting [cstyleCast] KoboDeluxe-0.5.1/pfile.cpp:131:26: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/pfile.cpp:218:29: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/prefs.cpp:75:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AQ_HIGH [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/prefs.cpp:175:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFX_DRIVER_SDL2D [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/graphics/window.cpp:31:11: warning: Member variable 'window_t::_font' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/graphics/window.cpp:40:2: performance: Variable 'fgcolor' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] KoboDeluxe-0.5.1/graphics/window.cpp:40:12: performance: Variable 'bgcolor' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] KoboDeluxe-0.5.1/graphics/window.cpp:121:6: style: Local variable 'x2' shadows outer function [shadowFunction] KoboDeluxe-0.5.1/graphics/window.h:289:6: note: Shadowed declaration KoboDeluxe-0.5.1/graphics/window.cpp:121:6: note: Shadow variable KoboDeluxe-0.5.1/graphics/window.cpp:122:6: style: Local variable 'y2' shadows outer function [shadowFunction] KoboDeluxe-0.5.1/graphics/window.h:290:6: note: Shadowed declaration KoboDeluxe-0.5.1/graphics/window.cpp:122:6: note: Shadow variable KoboDeluxe-0.5.1/graphics/window.cpp:499:6: style: Local variable 'x2' shadows outer function [shadowFunction] KoboDeluxe-0.5.1/graphics/window.h:289:6: note: Shadowed declaration KoboDeluxe-0.5.1/graphics/window.cpp:499:6: note: Shadow variable KoboDeluxe-0.5.1/graphics/window.cpp:500:6: style: Local variable 'y2' shadows outer function [shadowFunction] KoboDeluxe-0.5.1/graphics/window.h:290:6: note: Shadowed declaration KoboDeluxe-0.5.1/graphics/window.cpp:500:6: note: Shadow variable KoboDeluxe-0.5.1/graphics/window.cpp:520:6: style: Local variable 'x2' shadows outer function [shadowFunction] KoboDeluxe-0.5.1/graphics/window.h:289:6: note: Shadowed declaration KoboDeluxe-0.5.1/graphics/window.cpp:520:6: note: Shadow variable KoboDeluxe-0.5.1/graphics/window.cpp:521:6: style: Local variable 'y2' shadows outer function [shadowFunction] KoboDeluxe-0.5.1/graphics/window.h:290:6: note: Shadowed declaration KoboDeluxe-0.5.1/graphics/window.cpp:521:6: note: Shadow variable KoboDeluxe-0.5.1/graphics/window.cpp:401:10: style: Variable 'tok' can be declared as pointer to const [constVariablePointer] KoboDeluxe-0.5.1/graphics/window.cpp:457:32: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/myship.cpp:331:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable frame [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/myship.cpp:476:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/myship.cpp:560:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/radar.cpp:89:17: warning: Member variable 'radar_window_t::pxoffs' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/radar.cpp:89:17: warning: Member variable 'radar_window_t::pyoffs' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/radar.cpp:89:17: warning: Member variable 'radar_window_t::platched' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/radar.cpp:41:2: performance: Variable 'pixel_core' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] KoboDeluxe-0.5.1/radar.cpp:42:2: performance: Variable 'pixel_launcher' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] KoboDeluxe-0.5.1/radar.cpp:43:2: performance: Variable 'pixel_hard' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] KoboDeluxe-0.5.1/radar.cpp:44:2: performance: Variable 'pixel_bg' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] KoboDeluxe-0.5.1/score.cpp:142:14: warning: Member variable 's_profile_t::best_score' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/score.cpp:142:14: warning: Member variable 's_profile_t::last_scene' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/score.cpp:142:14: warning: Member variable 's_profile_t::name' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/score.cpp:142:14: warning: Member variable 's_profile_t::version' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/score.cpp:142:14: warning: Member variable 's_profile_t::skill' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/score.cpp:142:14: warning: Member variable 's_profile_t::handicap' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/score.cpp:142:14: warning: Member variable 's_profile_t::color1' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/score.cpp:142:14: warning: Member variable 's_profile_t::color2' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/score.cpp:142:14: warning: Member variable 's_profile_t::hiscores' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/score.cpp:391:18: warning: Member variable 'score_manager_t::currentProfile' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/score.cpp:391:18: warning: Member variable 'score_manager_t::highs' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/score.cpp:391:18: warning: Member variable 'score_manager_t::numProfiles' is not initialized in the constructor. [uninitMemberVar] KoboDeluxe-0.5.1/score.h:135:7: style:inconclusive: Technically the member function 's_hiscore_t::write' can be const. [functionConst] KoboDeluxe-0.5.1/score.cpp:121:19: note: Technically the member function 's_hiscore_t::write' can be const. KoboDeluxe-0.5.1/score.h:135:7: note: Technically the member function 's_hiscore_t::write' can be const. KoboDeluxe-0.5.1/score.h:196:6: style:inconclusive: Technically the member function 'score_manager_t::highscore' can be const. [functionConst] KoboDeluxe-0.5.1/score.cpp:706:22: note: Technically the member function 'score_manager_t::highscore' can be const. KoboDeluxe-0.5.1/score.h:196:6: note: Technically the member function 'score_manager_t::highscore' can be const. KoboDeluxe-0.5.1/score.h:215:7: style:inconclusive: Technically the member function 'score_manager_t::print_high_scores' can be const. [functionConst] KoboDeluxe-0.5.1/score.cpp:717:23: note: Technically the member function 'score_manager_t::print_high_scores' can be const. KoboDeluxe-0.5.1/score.h:215:7: note: Technically the member function 'score_manager_t::print_high_scores' can be const. KoboDeluxe-0.5.1/score.cpp:464:25: style: C-style pointer casting [cstyleCast] KoboDeluxe-0.5.1/score.cpp:617:19: style: C-style pointer casting [cstyleCast] KoboDeluxe-0.5.1/score.cpp:618:19: style: C-style pointer casting [cstyleCast] KoboDeluxe-0.5.1/score.cpp:645:14: style: The scope of the variable 'nm' can be reduced. [variableScope] KoboDeluxe-0.5.1/score.cpp:89:33: style:inconclusive: Function 'read' argument 1 names different: declaration 'f' definition 'pf'. [funcArgNamesDifferent] KoboDeluxe-0.5.1/score.h:134:21: note: Function 'read' argument 1 names different: declaration 'f' definition 'pf'. KoboDeluxe-0.5.1/score.cpp:89:33: note: Function 'read' argument 1 names different: declaration 'f' definition 'pf'. KoboDeluxe-0.5.1/score.cpp:121:34: style:inconclusive: Function 'write' argument 1 names different: declaration 'f' definition 'pf'. [funcArgNamesDifferent] KoboDeluxe-0.5.1/score.h:135:22: note: Function 'write' argument 1 names different: declaration 'f' definition 'pf'. KoboDeluxe-0.5.1/score.cpp:121:34: note: Function 'write' argument 1 names different: declaration 'f' definition 'pf'. KoboDeluxe-0.5.1/score.cpp:551:43: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/score.cpp:617:15: style: Variable 'a' can be declared as pointer to const [constVariablePointer] KoboDeluxe-0.5.1/score.cpp:618:15: style: Variable 'b' can be declared as pointer to const [constVariablePointer] KoboDeluxe-0.5.1/score.cpp:673:16: style: Variable 'hs' can be declared as pointer to const [constVariablePointer] KoboDeluxe-0.5.1/graphics/filters.c:324:16: style: Local variable 'b' shadows outer argument [shadowArgument] KoboDeluxe-0.5.1/graphics/filters.c:271:31: note: Shadowed declaration KoboDeluxe-0.5.1/graphics/filters.c:324:16: note: Shadow variable KoboDeluxe-0.5.1/graphics/filters.c:360:16: style: Local variable 'b' shadows outer argument [shadowArgument] KoboDeluxe-0.5.1/graphics/filters.c:271:31: note: Shadowed declaration KoboDeluxe-0.5.1/graphics/filters.c:360:16: note: Shadow variable KoboDeluxe-0.5.1/graphics/filters.c:417:16: style: Local variable 'b' shadows outer argument [shadowArgument] KoboDeluxe-0.5.1/graphics/filters.c:271:31: note: Shadowed declaration KoboDeluxe-0.5.1/graphics/filters.c:417:16: note: Shadow variable KoboDeluxe-0.5.1/graphics/filters.c:1140:15: style: Local variable 'b' shadows outer argument [shadowArgument] KoboDeluxe-0.5.1/graphics/filters.c:1113:30: note: Shadowed declaration KoboDeluxe-0.5.1/graphics/filters.c:1140:15: note: Shadow variable KoboDeluxe-0.5.1/graphics/filters.c:1142:9: style: Local variable 'rnd' shadows outer variable [shadowVariable] KoboDeluxe-0.5.1/graphics/filters.c:35:21: note: Shadowed declaration KoboDeluxe-0.5.1/graphics/filters.c:1142:9: note: Shadow variable KoboDeluxe-0.5.1/graphics/filters.c:61:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] KoboDeluxe-0.5.1/graphics/filters.c:73:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] KoboDeluxe-0.5.1/graphics/filters.c:164:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] KoboDeluxe-0.5.1/graphics/filters.c:272:20: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/graphics/filters.c:478:21: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/graphics/filters.c:555:67: style: Parameter 'orig' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/graphics/filters.c:826:20: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/graphics/filters.c:970:20: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/graphics/filters.c:1009:20: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/graphics/filters.c:1080:20: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/graphics/filters.c:1114:20: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/options.h:42:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VMM_PC [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound.cpp:137:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACC_VOLUME [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound.cpp:171:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUDIO_MAX_GROUPS [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound.cpp:229:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ABC_SEND_MASTER [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound.cpp:264:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACC_VOLUME [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound.cpp:271:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACC_VOLUME [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound.cpp:278:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACC_VOLUME [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound.cpp:425:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_SHOT [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound.cpp:440:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_SHOT_END [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound.cpp:450:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_SHOT_OVERHEAT [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound.cpp:460:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_DAMAGE [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound.cpp:470:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_EXPLO_PLAYER [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound.cpp:479:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_METALLIC1 [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound.cpp:487:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_HIT1 [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound.cpp:505:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_EXPLO_NODE2 [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound.cpp:525:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_EXPLO_ENEMY1 [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound.cpp:538:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_EXPLO_RING1 [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound.cpp:609:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ABC_SEND_MASTER [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound.cpp:643:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_EXPLO_NODE1 [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound.cpp:649:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_CANCEL [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound.cpp:655:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_MOVE [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound.cpp:661:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_METALLIC1 [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound.cpp:667:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_OVERHEAT [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound.cpp:673:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_PLAY [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound.cpp:680:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_PAUSE [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound.cpp:687:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_READY [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound.cpp:694:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_TICK [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound.cpp:700:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_ONEUP [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound.cpp:707:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_GAMEOVER [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_bus.c:225:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_agw.c:46:52: style: Parameter 'argv' can be declared as pointer to const. However it seems that 'op_w_reset' is a callback function, if 'argv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] KoboDeluxe-0.5.1/sound/a_agw.c:336:35: note: You might need to cast the function pointer here KoboDeluxe-0.5.1/sound/a_agw.c:46:52: note: Parameter 'argv' can be declared as pointer to const KoboDeluxe-0.5.1/sound/a_channel.h:241:68: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_channel.h:246:65: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_events.h:239:15: style: Variable 'ev' can be declared as pointer to const [constVariablePointer] KoboDeluxe-0.5.1/sound/a_bus.c:242:24: warning: Either the condition 'slot<1' is redundant or the array 'bustab[bus].insert[2]' is accessed at index 2, which is out of bounds. [arrayIndexOutOfBoundsCond] KoboDeluxe-0.5.1/sound/a_bus.c:240:11: note: Assuming that condition 'slot<1' is not redundant KoboDeluxe-0.5.1/sound/a_bus.c:242:24: note: Array index out of bounds KoboDeluxe-0.5.1/sound/a_bus.c:223:12: style: Comparing expression of type 'unsigned int' against value 0. Condition is always false. [compareValueOutOfTypeRangeError] KoboDeluxe-0.5.1/sound/a_bus.c:223:10: style: Checking if unsigned expression 'ctl' is less than zero. [unsignedLessThanZero] KoboDeluxe-0.5.1/sound/a_tools.h:162:35: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_tools.h:181:35: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_tools.h:211:34: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_tools.h:241:39: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound.cpp:238:32: style:inconclusive: Function 'set_boost' argument 1 names different: declaration 'vol_boost' definition 'boost'. [funcArgNamesDifferent] KoboDeluxe-0.5.1/sound.h:70:28: note: Function 'set_boost' argument 1 names different: declaration 'vol_boost' definition 'boost'. KoboDeluxe-0.5.1/sound.cpp:238:32: note: Function 'set_boost' argument 1 names different: declaration 'vol_boost' definition 'boost'. KoboDeluxe-0.5.1/sound/a_commands.c:44:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WLOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_commands.c:65:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_commands.c:93:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_commands.c:123:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_commands.c:150:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_commands.c:176:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_commands.c:200:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_commands.c:223:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMD_WAIT [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_channel.c:81:15: style: Variable 'first_ev' can be declared as pointer to const [constVariablePointer] KoboDeluxe-0.5.1/sound/a_commands.c:39:46: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_commands.c:102:20: style: Variable 'c' can be declared as pointer to const [constVariablePointer] KoboDeluxe-0.5.1/sound/a_events.c:65:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_events.c:200:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_events.h:113:25: style: Condition '_aev_refill_pool()<0' is always true [knownConditionTrueFalse] KoboDeluxe-0.5.1/sound/a_events.h:113:22: note: Calling function '_aev_refill_pool' returns -1 KoboDeluxe-0.5.1/sound/a_events.h:113:25: note: Condition '_aev_refill_pool()<0' is always true KoboDeluxe-0.5.1/sound/a_filters.c:147:27: style: Parameter 'fil' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_midi.c:222:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_limiter.c:36:27: style: Parameter 'lim' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_limiter.c:58:40: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_limiter.c:99:41: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_delay.c:389:17: style: Checking if unsigned expression 'delay' is less than zero. [unsignedLessThanZero] KoboDeluxe-0.5.1/sound/a_midisock.c:182:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_midisock.c:189:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_midisock.c:196:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_midisock.c:206:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_midisock.c:213:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_midisock.c:218:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_midisock.c:223:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_midisock.c:205:6: style: Variable 'cn' is assigned a value that is never used. [unreadVariable] KoboDeluxe-0.5.1/sound/a_midifile.c:156:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable D2LOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_midifile.c:327:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable D2LOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_midifile.c:338:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable D2LOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_midifile.c:357:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable D2LOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_midifile.c:382:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable D2LOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_midifile.c:398:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable D2LOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_midifile.c:731:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/cfgform.h:60:11: style: The destructor '~config_form_t' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/form.h:77:11: note: Virtual destructor in base class KoboDeluxe-0.5.1/cfgform.h:60:11: note: Destructor in derived class KoboDeluxe-0.5.1/cfgform.h:62:15: style: The function 'build' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/form.h:81:15: note: Virtual function in base class KoboDeluxe-0.5.1/cfgform.h:62:15: note: Function in derived class KoboDeluxe-0.5.1/cfgform.h:71:7: style: The function 'change' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/form.h:80:15: note: Virtual function in base class KoboDeluxe-0.5.1/cfgform.h:71:7: note: Function in derived class KoboDeluxe-0.5.1/options.h:31:7: style: The function 'build' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgform.h:62:15: note: Virtual function in base class KoboDeluxe-0.5.1/options.h:31:7: note: Function in derived class KoboDeluxe-0.5.1/options.h:46:7: style: The function 'build' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgform.h:62:15: note: Virtual function in base class KoboDeluxe-0.5.1/options.h:46:7: note: Function in derived class KoboDeluxe-0.5.1/options.h:52:7: style: The function 'build' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgform.h:62:15: note: Virtual function in base class KoboDeluxe-0.5.1/options.h:52:7: note: Function in derived class KoboDeluxe-0.5.1/options.h:58:7: style: The function 'build' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgform.h:62:15: note: Virtual function in base class KoboDeluxe-0.5.1/options.h:58:7: note: Function in derived class KoboDeluxe-0.5.1/options.h:59:7: style: The function 'undo_hook' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgform.h:65:15: note: Virtual function in base class KoboDeluxe-0.5.1/options.h:59:7: note: Function in derived class KoboDeluxe-0.5.1/options.h:65:7: style: The function 'build' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgform.h:62:15: note: Virtual function in base class KoboDeluxe-0.5.1/options.h:65:7: note: Function in derived class KoboDeluxe-0.5.1/options.h:71:7: style: The function 'build' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgform.h:62:15: note: Virtual function in base class KoboDeluxe-0.5.1/options.h:71:7: note: Function in derived class KoboDeluxe-0.5.1/options.h:72:7: style: The function 'undo_hook' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/cfgform.h:65:15: note: Virtual function in base class KoboDeluxe-0.5.1/options.h:72:7: note: Function in derived class KoboDeluxe-0.5.1/sound/a_patch.c:701:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/screen.cpp:909:11: style: C-style pointer casting [cstyleCast] KoboDeluxe-0.5.1/screen.cpp:286:6: style: The scope of the variable 't2' can be reduced. [variableScope] KoboDeluxe-0.5.1/screen.cpp:257:9: style: Local variable 'xo' shadows outer variable [shadowVariable] KoboDeluxe-0.5.1/screen.cpp:240:6: note: Shadowed declaration KoboDeluxe-0.5.1/screen.cpp:257:9: note: Shadow variable KoboDeluxe-0.5.1/screen.cpp:628:37: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] KoboDeluxe-0.5.1/screen.cpp:627:22: note: Assignment 'lc=level>31?31:level', assigned value is 31 KoboDeluxe-0.5.1/screen.cpp:628:37: note: Shift KoboDeluxe-0.5.1/screen.cpp:629:37: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] KoboDeluxe-0.5.1/screen.cpp:627:22: note: Assignment 'lc=level>31?31:level', assigned value is 31 KoboDeluxe-0.5.1/screen.cpp:629:37: note: Shift KoboDeluxe-0.5.1/sound/a_patch.c:669:37: style:inconclusive: Function 'audio_patch_param' argument 2 names different: declaration 'param' definition 'pparam'. [funcArgNamesDifferent] KoboDeluxe-0.5.1/sound/audio.h:232:37: note: Function 'audio_patch_param' argument 2 names different: declaration 'param' definition 'pparam'. KoboDeluxe-0.5.1/sound/a_patch.c:669:37: note: Function 'audio_patch_param' argument 2 names different: declaration 'param' definition 'pparam'. KoboDeluxe-0.5.1/sound/a_patch.c:669:49: style:inconclusive: Function 'audio_patch_param' argument 3 names different: declaration 'arg' definition 'value'. [funcArgNamesDifferent] KoboDeluxe-0.5.1/sound/audio.h:232:48: note: Function 'audio_patch_param' argument 3 names different: declaration 'arg' definition 'value'. KoboDeluxe-0.5.1/sound/a_patch.c:669:49: note: Function 'audio_patch_param' argument 3 names different: declaration 'arg' definition 'value'. KoboDeluxe-0.5.1/sound/a_patch.c:100:46: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_plugin.c:162:8: style: Parameter 'in' can be declared as pointer to const. However it seems that 'process_r_with_process' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] KoboDeluxe-0.5.1/sound/a_plugin.c:235:19: note: You might need to cast the function pointer here KoboDeluxe-0.5.1/sound/a_plugin.c:162:8: note: Parameter 'in' can be declared as pointer to const KoboDeluxe-0.5.1/sound/a_plugin.c:180:8: style: Parameter 'in' can be declared as pointer to const. However it seems that 'process_m_with_process' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] KoboDeluxe-0.5.1/sound/a_plugin.c:243:19: note: You might need to cast the function pointer here KoboDeluxe-0.5.1/sound/a_plugin.c:180:8: note: Parameter 'in' can be declared as pointer to const KoboDeluxe-0.5.1/sound/a_wave.c:240:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_wave.c:551:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_wave.c:750:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_wave.c:842:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_wave.c:890:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_wave.c:951:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VLOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_midifile.c:115:9: style: Checking if unsigned expression 'pos' is less than zero. [unsignedLessThanZero] KoboDeluxe-0.5.1/sound/a_midifile.c:448:18: style: Checking if unsigned expression 'note' is less than zero. [unsignedLessThanZero] KoboDeluxe-0.5.1/sound/a_midifile.c:459:18: style: Checking if unsigned expression 'note' is less than zero. [unsignedLessThanZero] KoboDeluxe-0.5.1/sound/a_midifile.c:469:18: style: Checking if unsigned expression 'note' is less than zero. [unsignedLessThanZero] KoboDeluxe-0.5.1/sound/a_midifile.c:201:42: style: Parameter 'mp' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/audio.c:161:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/audio.c:381:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Sint16 [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/audio.c:564:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/audio.c:575:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_AUDIO [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/audio.c:806:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/audio.c:905:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VLOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_voice.c:452:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_voice.c:592:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_wca.c:572:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_wca.c:1408:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/a_wca.c:1626:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/audio.c:793:18: style: Condition 'audio_open()<0' is always false [knownConditionTrueFalse] KoboDeluxe-0.5.1/sound/audio.c:793:15: note: Calling function 'audio_open' returns 0 KoboDeluxe-0.5.1/sound/audio.c:793:18: note: Condition 'audio_open()<0' is always false KoboDeluxe-0.5.1/sound/audio.c:240:31: style: Parameter 'inbuf' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/audiodev.c:18:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/audiodev.c:21:38: style: Parameter 'ad' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/audiodev.c:26:40: style: Parameter 'ad' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/sfifo.c:50:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/sfifo.c:106:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENODEV [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/sfifo.c:181:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENODEV [valueFlowBailoutIncompleteVar] KoboDeluxe-0.5.1/sound/sfifo.c:99:41: style:inconclusive: Function 'sfifo_write' argument 2 names different: declaration 'buf' definition '_buf'. [funcArgNamesDifferent] KoboDeluxe-0.5.1/sound/sfifo.h:90:41: note: Function 'sfifo_write' argument 2 names different: declaration 'buf' definition '_buf'. KoboDeluxe-0.5.1/sound/sfifo.c:99:41: note: Function 'sfifo_write' argument 2 names different: declaration 'buf' definition '_buf'. KoboDeluxe-0.5.1/sound/sfifo.c:174:34: style:inconclusive: Function 'sfifo_read' argument 2 names different: declaration 'buf' definition '_buf'. [funcArgNamesDifferent] KoboDeluxe-0.5.1/sound/sfifo.h:91:34: note: Function 'sfifo_read' argument 2 names different: declaration 'buf' definition '_buf'. KoboDeluxe-0.5.1/sound/sfifo.c:174:34: note: Function 'sfifo_read' argument 2 names different: declaration 'buf' definition '_buf'. KoboDeluxe-0.5.1/sound/a_wave.c:794:2: warning:inconclusive: The buffer 'buf' may not be null-terminated after the call to strncpy(). [terminateStrncpy] KoboDeluxe-0.5.1/sound/a_wave.c:881:2: warning:inconclusive: The buffer 'buf' may not be null-terminated after the call to strncpy(). [terminateStrncpy] KoboDeluxe-0.5.1/sound/a_wave.c:296:3: error: Resource leak: f [resourceLeak] KoboDeluxe-0.5.1/sound/a_wave.c:301:3: error: Resource leak: f [resourceLeak] KoboDeluxe-0.5.1/sound/a_wave.c:454:40: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_voice.c:223:19: style: Condition 'v->position>=old_se' is always true [knownConditionTrueFalse] KoboDeluxe-0.5.1/sound/a_voice.c:214:13: note: Assuming that condition 'old_se>v->position' is not redundant KoboDeluxe-0.5.1/sound/a_voice.c:223:19: note: Condition 'v->position>=old_se' is always true KoboDeluxe-0.5.1/sound/a_voice.c:671:29: style:inconclusive: Function 'voice_process_all' argument 1 names different: declaration 'busses' definition 'bufs'. [funcArgNamesDifferent] KoboDeluxe-0.5.1/sound/a_voice.h:194:29: note: Function 'voice_process_all' argument 1 names different: declaration 'busses' definition 'bufs'. KoboDeluxe-0.5.1/sound/a_voice.c:671:29: note: Function 'voice_process_all' argument 1 names different: declaration 'busses' definition 'bufs'. KoboDeluxe-0.5.1/sound/a_mixers.h:95:9: style: Variable 'in' can be declared as pointer to const [constVariablePointer] KoboDeluxe-0.5.1/sound/a_mixers.h:97:8: style: Variable 'in' can be declared as pointer to const [constVariablePointer] KoboDeluxe-0.5.1/sound/a_wca.c:1687:4: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] KoboDeluxe-0.5.1/sound/a_wca.c:1689:4: note: Found duplicate branches for 'if' and 'else'. KoboDeluxe-0.5.1/sound/a_wca.c:1687:4: note: Found duplicate branches for 'if' and 'else'. KoboDeluxe-0.5.1/sound/a_wca.c:1770:4: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] KoboDeluxe-0.5.1/sound/a_wca.c:1772:4: note: Found duplicate branches for 'if' and 'else'. KoboDeluxe-0.5.1/sound/a_wca.c:1770:4: note: Found duplicate branches for 'if' and 'else'. KoboDeluxe-0.5.1/sound/a_wca.c:365:25: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] KoboDeluxe-0.5.1/sound/a_wca.c:379:25: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] KoboDeluxe-0.5.1/sound/a_wca.c:144:8: error: Expression '*inr=*inl=*inr=0' depends on order of evaluation of side effects [unknownEvaluationOrder] KoboDeluxe-0.5.1/sound/a_wca.c:281:10: style: Variable 'd' can be declared as pointer to const [constVariablePointer] KoboDeluxe-0.5.1/sound/a_wca.c:288:10: style: Variable 'd' can be declared as pointer to const [constVariablePointer] KoboDeluxe-0.5.1/sound/a_wca.c:299:11: style: Variable 'd' can be declared as pointer to const [constVariablePointer] KoboDeluxe-0.5.1/sound/a_wca.c:306:11: style: Variable 'd' can be declared as pointer to const [constVariablePointer] KoboDeluxe-0.5.1/sound/a_wca.c:317:10: style: Variable 'd' can be declared as pointer to const [constVariablePointer] KoboDeluxe-0.5.1/sound/a_wca.c:324:10: style: Variable 'd' can be declared as pointer to const [constVariablePointer] KoboDeluxe-0.5.1/sound/a_wca.c:353:34: style: Parameter 'outl' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wca.c:353:47: style: Parameter 'outr' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:83:36: style: Parameter 'sync' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:83:49: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:84:10: style: Parameter 'mod1' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:114:40: style: Parameter 'sync' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:114:53: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:115:10: style: Parameter 'mod1' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:145:40: style: Parameter 'sync' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:145:53: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:146:10: style: Parameter 'mod1' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:171:37: style: Parameter 'sync' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:171:50: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:172:10: style: Parameter 'mod1' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:195:40: style: Parameter 'sync' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:195:53: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:196:10: style: Parameter 'mod1' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:232:41: style: Parameter 'sync' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:232:54: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:233:10: style: Parameter 'mod1' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:233:23: style: Parameter 'mod2' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:233:36: style: Parameter 'limit' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:263:39: style: Parameter 'sync' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:263:52: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:264:10: style: Parameter 'mod1' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:264:23: style: Parameter 'mod2' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:264:36: style: Parameter 'mod3' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:264:49: style: Parameter 'limit' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:333:39: style: Parameter 'sync' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:333:52: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:334:10: style: Parameter 'mod1' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:334:23: style: Parameter 'mod2' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:334:36: style: Parameter 'mod3' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:334:49: style: Parameter 'limit' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:382:37: style: Parameter 'sync' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:382:50: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:412:40: style: Parameter 'sync' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:412:53: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:413:10: style: Parameter 'mod1' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:413:23: style: Parameter 'mod2' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:413:36: style: Parameter 'limit' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:455:41: style: Parameter 'sync' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:455:54: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:456:10: style: Parameter 'mod1' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:456:23: style: Parameter 'mod2' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:456:36: style: Parameter 'limit' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:498:41: style: Parameter 'sync' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:498:54: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:499:10: style: Parameter 'mod1' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:499:23: style: Parameter 'mod2' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:499:36: style: Parameter 'mod3' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:499:49: style: Parameter 'limit' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:545:42: style: Parameter 'sync' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:545:55: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:546:10: style: Parameter 'mod1' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:546:23: style: Parameter 'mod2' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:546:36: style: Parameter 'mod3' can be declared as pointer to const [constParameterPointer] KoboDeluxe-0.5.1/sound/a_wcaosc.h:546:49: style: Parameter 'limit' can be declared as pointer to const [constParameterPointer] diff: head KoboDeluxe-0.5.1/cfgform.h:60:11: style: The destructor '~config_form_t' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/form.h:77:11: note: Virtual destructor in base class KoboDeluxe-0.5.1/cfgform.h:60:11: note: Destructor in derived class head KoboDeluxe-0.5.1/eel/e_builtin.c:35:46: style: Parameter 'argv' can be declared as pointer to const [constParameterPointer] head KoboDeluxe-0.5.1/eel/e_builtin.c:437:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/eel/e_builtin.c:455:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/eel/e_builtin.c:70:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ULOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/eel/e_getargs.c:355:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/eel/e_getargs.c:627:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/eel/e_lexer.c:259:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/eel/e_symtab.c:369:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/eel/e_symtab.c:383:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/eel/e_symtab.c:404:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/eel/e_symtab.c:431:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/eel/e_util.c:179:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/graphics/cs.c:552:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/graphics/filters.c:493:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SRCALPHA [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/graphics/filters.c:845:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WLOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/graphics/gfxengine.cpp:1103:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/graphics/gfxengine.cpp:1218:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_KEYDOWN [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/graphics/gfxengine.cpp:243:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/graphics/gfxengine.cpp:515:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/graphics/gfxengine.cpp:543:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/graphics/gfxengine.cpp:566:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/graphics/gfxengine.cpp:612:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/graphics/gfxengine.cpp:645:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/graphics/gfxengine.cpp:654:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/graphics/gfxengine.cpp:695:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/graphics/gfxengine.cpp:726:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/graphics/gfxengine.cpp:770:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/graphics/gfxengine.cpp:921:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/graphics/gfxengine.cpp:980:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/graphics/glSDL.c:2286:36: style: Parameter 'surface' can be declared as pointer to const [constParameterPointer] head KoboDeluxe-0.5.1/graphics/glSDL.c:2286:55: style: Parameter 'area' can be declared as pointer to const [constParameterPointer] head KoboDeluxe-0.5.1/graphics/glSDL.c:2290:38: style: Parameter 'surface' can be declared as pointer to const [constParameterPointer] head KoboDeluxe-0.5.1/graphics/glSDL.c:2295:39: style: Parameter 'surface' can be declared as pointer to const [constParameterPointer] head KoboDeluxe-0.5.1/graphics/sofont.cpp:258:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/graphics/sofont.cpp:87:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/graphics/sprite.c:352:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/graphics/sprite.c:420:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/graphics/sprite.c:465:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/graphics/sprite.c:497:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/graphics/sprite.c:540:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/graphics/toolkit.h:136:11: style: The destructor '~ct_list_t' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/graphics/window.h:226:11: note: Virtual destructor in base class KoboDeluxe-0.5.1/graphics/toolkit.h:136:11: note: Destructor in derived class head KoboDeluxe-0.5.1/graphics/toolkit.h:184:11: style: The destructor '~ct_form_t' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] KoboDeluxe-0.5.1/graphics/window.h:226:11: note: Virtual destructor in base class KoboDeluxe-0.5.1/graphics/toolkit.h:184:11: note: Destructor in derived class head KoboDeluxe-0.5.1/graphics/window.cpp:290:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SRCCOLORKEY [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/graphics/window.cpp:312:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SRCALPHA [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/graphics/window.cpp:457:32: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] head KoboDeluxe-0.5.1/myship.cpp:476:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/myship.cpp:560:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/prefs.cpp:175:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFX_DRIVER_SDL2D [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/screen.cpp:286:6: style: The scope of the variable 't2' can be reduced. [variableScope] head KoboDeluxe-0.5.1/sound.cpp:171:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUDIO_MAX_GROUPS [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound.cpp:229:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ABC_SEND_MASTER [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound.cpp:264:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACC_VOLUME [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound.cpp:271:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACC_VOLUME [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound.cpp:278:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACC_VOLUME [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound.cpp:425:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_SHOT [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound.cpp:440:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_SHOT_END [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound.cpp:450:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_SHOT_OVERHEAT [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound.cpp:460:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_DAMAGE [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound.cpp:470:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_EXPLO_PLAYER [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound.cpp:479:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_METALLIC1 [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound.cpp:487:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_HIT1 [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound.cpp:505:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_EXPLO_NODE2 [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound.cpp:525:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_EXPLO_ENEMY1 [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound.cpp:538:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_EXPLO_RING1 [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound.cpp:609:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ABC_SEND_MASTER [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound.cpp:643:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_EXPLO_NODE1 [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound.cpp:649:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_CANCEL [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound.cpp:655:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_MOVE [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound.cpp:661:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_METALLIC1 [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound.cpp:667:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_OVERHEAT [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound.cpp:673:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_PLAY [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound.cpp:680:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_PAUSE [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound.cpp:687:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_READY [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound.cpp:694:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_TICK [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound.cpp:700:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_ONEUP [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound.cpp:707:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_GAMEOVER [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/a_agw.c:46:52: style: Parameter 'argv' can be declared as pointer to const. However it seems that 'op_w_reset' is a callback function, if 'argv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] KoboDeluxe-0.5.1/sound/a_agw.c:336:35: note: You might need to cast the function pointer here KoboDeluxe-0.5.1/sound/a_agw.c:46:52: note: Parameter 'argv' can be declared as pointer to const head KoboDeluxe-0.5.1/sound/a_commands.c:123:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/a_commands.c:150:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/a_commands.c:176:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/a_commands.c:200:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/a_commands.c:223:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMD_WAIT [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/a_commands.c:65:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/a_commands.c:93:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/a_events.c:200:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/a_limiter.c:36:27: style: Parameter 'lim' can be declared as pointer to const [constParameterPointer] head KoboDeluxe-0.5.1/sound/a_midifile.c:201:42: style: Parameter 'mp' can be declared as pointer to const [constParameterPointer] head KoboDeluxe-0.5.1/sound/a_midifile.c:327:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable D2LOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/a_midifile.c:338:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable D2LOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/a_midifile.c:357:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable D2LOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/a_midifile.c:382:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable D2LOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/a_midifile.c:398:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable D2LOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/a_midifile.c:731:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/a_midisock.c:189:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/a_midisock.c:196:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/a_midisock.c:206:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/a_midisock.c:213:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/a_midisock.c:218:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/a_midisock.c:223:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] 2.13.0 KoboDeluxe-0.5.1/sound/a_voice.c:223:19: style: Condition 'v->position>=old_se' is always true [knownConditionTrueFalse] KoboDeluxe-0.5.1/sound/a_voice.c:214:13: note: Assuming condition 'old_se>v->position' is false KoboDeluxe-0.5.1/sound/a_voice.c:223:19: note: Condition 'v->position>=old_se' is always true head KoboDeluxe-0.5.1/sound/a_voice.c:223:19: style: Condition 'v->position>=old_se' is always true [knownConditionTrueFalse] KoboDeluxe-0.5.1/sound/a_voice.c:214:13: note: Assuming that condition 'old_se>v->position' is not redundant KoboDeluxe-0.5.1/sound/a_voice.c:223:19: note: Condition 'v->position>=old_se' is always true head KoboDeluxe-0.5.1/sound/a_voice.c:592:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/a_wave.c:551:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/a_wave.c:750:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/a_wave.c:842:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/a_wave.c:890:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/a_wave.c:951:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VLOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/a_wca.c:1408:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/a_wca.c:1626:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/a_wca.c:299:11: style: Variable 'd' can be declared as pointer to const [constVariablePointer] head KoboDeluxe-0.5.1/sound/a_wca.c:306:11: style: Variable 'd' can be declared as pointer to const [constVariablePointer] head KoboDeluxe-0.5.1/sound/audio.c:381:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Sint16 [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/audio.c:564:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/audio.c:575:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_AUDIO [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/audio.c:806:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/audio.c:905:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VLOG [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/audiodev.c:21:38: style: Parameter 'ad' can be declared as pointer to const [constParameterPointer] head KoboDeluxe-0.5.1/sound/audiodev.c:26:40: style: Parameter 'ad' can be declared as pointer to const [constParameterPointer] head KoboDeluxe-0.5.1/sound/sfifo.c:106:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENODEV [valueFlowBailoutIncompleteVar] head KoboDeluxe-0.5.1/sound/sfifo.c:181:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENODEV [valueFlowBailoutIncompleteVar] DONE