2024-04-17 20:57 ftp://ftp.de.debian.org/debian/pool/main/l/linpac/linpac_0.28.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --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 -j1 platform: Linux-5.15.0-102-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.56 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.13.0 head-info: 397464e (2024-04-17 17:31:21 +0200) count: 1053 920 elapsed-time: 30.8 23.5 head-timing-info: old-timing-info: head results: linpac-0.28/src/applications/autobin.cc:69:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/autobin.cc:80:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/autobin.cc:158:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/autobin.cc:324:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/autobin.cc:265:24: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] linpac-0.28/src/applications/autobin.cc:308:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] linpac-0.28/src/applications/autobin.cc:45:55: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/autobin.cc:246:24: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/autobin.cc:93:7: style: The scope of the variable 'c' can be reduced. [variableScope] linpac-0.28/src/applications/autobin.cc:127:9: style: The scope of the variable 'field_id' can be reduced. [variableScope] linpac-0.28/src/applications/autobin.cc:130:8: style: The scope of the variable 'c' can be reduced. [variableScope] linpac-0.28/src/applications/autobin.cc:274:7: style: The scope of the variable 'cnt' can be reduced. [variableScope] linpac-0.28/src/applications/autobin.cc:275:14: style: The scope of the variable 'sent' can be reduced. [variableScope] linpac-0.28/src/applications/autobin.cc:276:8: style: The scope of the variable 'buf' can be reduced. [variableScope] linpac-0.28/src/applications/autobin.cc:40:24: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'my_handler' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] linpac-0.28/src/applications/autobin.cc:284:24: note: You might need to cast the function pointer here linpac-0.28/src/applications/autobin.cc:40:24: note: Parameter 'ev' can be declared as pointer to const linpac-0.28/src/applications/autobin.cc:89:20: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/autobin.cc:128:14: style: Variable 'q' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/autobin.cc:271:21: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/autobin.cc:281:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/bell.cc:25:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KIOCSOUND [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/bell.cc:32:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KIOCSOUND [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/bell.cc:75:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/catch.cc:227:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/catch.cc:138:13: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/catch.cc:252:12: style: Local variable 'i' shadows outer variable [shadowVariable] linpac-0.28/src/applications/catch.cc:221:7: note: Shadowed declaration linpac-0.28/src/applications/catch.cc:252:12: note: Shadow variable linpac-0.28/src/applications/catch.cc:138:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/compose.cc:116:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/compose.cc:260:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/compose.cc:91:9: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] linpac-0.28/src/applications/compose.cc:134:9: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] linpac-0.28/src/applications/compose.cc:204:16: warning: Logical conjunction always evaluates to false: argc < 3 && argc > 5. [incorrectLogicOperator] linpac-0.28/src/applications/compose.cc:47:13: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/compose.cc:65:7: style: Local variable 'msgnum' shadows outer variable [shadowVariable] linpac-0.28/src/applications/compose.cc:25:5: note: Shadowed declaration linpac-0.28/src/applications/compose.cc:65:7: note: Shadow variable linpac-0.28/src/applications/compose.cc:89:14: style: Variable 'tim' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/compose.cc:128:37: style: Parameter 'srcname' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/compose.cc:132:14: style: Variable 'tim' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/compose.cc:201:9: style: Variable 'subj' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/join.c:95:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/join.c:23:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/libaxmail/axmail.cc:608:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/libaxmail/axmail.cc:748:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/libaxmail/axmail.cc:772:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/libaxmail/axmail.cc:467:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] linpac-0.28/src/applications/libaxmail/axmail.cc:487:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] linpac-0.28/src/applications/libaxmail/axmail.cc:96:10: warning:inconclusive: Member variable 'MsgDate::day' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/libaxmail/axmail.cc:96:10: warning:inconclusive: Member variable 'MsgDate::month' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/libaxmail/axmail.cc:96:10: warning:inconclusive: Member variable 'MsgDate::year' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/libaxmail/axmail.cc:96:10: warning:inconclusive: Member variable 'MsgDate::hour' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/libaxmail/axmail.cc:96:10: warning:inconclusive: Member variable 'MsgDate::min' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/libaxmail/axmail.cc:273:19: warning: Member variable 'Message::nothing' is not assigned a value in 'Message::operator='. [operatorEqVarError] linpac-0.28/src/applications/libaxmail/axmail.cc:273:19: warning: 'operator=' should check for assignment to self to avoid problems with dynamic memory. [operatorEqToSelf] linpac-0.28/src/applications/libaxmail/axmail.h:38:12: style:inconclusive: Technically the member function 'MsgDate::operator==' can be const. [functionConst] linpac-0.28/src/applications/libaxmail/axmail.cc:149:15: note: Technically the member function 'MsgDate::operator==' can be const. linpac-0.28/src/applications/libaxmail/axmail.h:38:12: note: Technically the member function 'MsgDate::operator==' can be const. linpac-0.28/src/applications/libaxmail/axmail.h:39:12: style:inconclusive: Technically the member function 'MsgDate::operator<' can be const. [functionConst] linpac-0.28/src/applications/libaxmail/axmail.cc:155:15: note: Technically the member function 'MsgDate::operator<' can be const. linpac-0.28/src/applications/libaxmail/axmail.h:39:12: note: Technically the member function 'MsgDate::operator<' can be const. linpac-0.28/src/applications/libaxmail/axmail.h:41:12: style:inconclusive: Technically the member function 'MsgDate::check' can be const. [functionConst] linpac-0.28/src/applications/libaxmail/axmail.cc:164:15: note: Technically the member function 'MsgDate::check' can be const. linpac-0.28/src/applications/libaxmail/axmail.h:41:12: note: Technically the member function 'MsgDate::check' can be const. linpac-0.28/src/applications/libaxmail/axmail.h:43:11: style:inconclusive: Technically the member function 'MsgDate::d' can be const. [functionConst] linpac-0.28/src/applications/libaxmail/axmail.h:44:11: style:inconclusive: Technically the member function 'MsgDate::m' can be const. [functionConst] linpac-0.28/src/applications/libaxmail/axmail.h:45:11: style:inconclusive: Technically the member function 'MsgDate::y' can be const. [functionConst] linpac-0.28/src/applications/libaxmail/axmail.h:46:11: style:inconclusive: Technically the member function 'MsgDate::H' can be const. [functionConst] linpac-0.28/src/applications/libaxmail/axmail.h:47:11: style:inconclusive: Technically the member function 'MsgDate::M' can be const. [functionConst] linpac-0.28/src/applications/libaxmail/axmail.h:106:11: style:inconclusive: Technically the member function 'Message::getSize' can be const. [functionConst] linpac-0.28/src/applications/libaxmail/axmail.h:119:12: style:inconclusive: Technically the member function 'Message::isDel' can be const. [functionConst] linpac-0.28/src/applications/libaxmail/axmail.h:123:12: style:inconclusive: Technically the member function 'Message::isPrivate' can be const. [functionConst] linpac-0.28/src/applications/libaxmail/axmail.h:124:12: style:inconclusive: Technically the member function 'Message::isPresent' can be const. [functionConst] linpac-0.28/src/applications/libaxmail/axmail.h:144:11: style:inconclusive: Technically the member function 'MessageIndex::messageCount' can be const. [functionConst] linpac-0.28/src/applications/libaxmail/axmail.h:155:11: style:inconclusive: Technically the member function 'MessageIndex::newIndex' can be const. [functionConst] linpac-0.28/src/applications/libaxmail/axmail.h:165:7: style: Class 'IncommingIndex' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] linpac-0.28/src/applications/libaxmail/axmail.h:176:7: style: Class 'OutgoingIndex' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] linpac-0.28/src/applications/libaxmail/axmail.cc:41:23: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/libaxmail/axmail.cc:202:14: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/libaxmail/axmail.cc:207:14: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/libaxmail/axmail.cc:234:11: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/libaxmail/axmail.cc:303:14: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/libaxmail/axmail.cc:310:17: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/libaxmail/axmail.cc:315:17: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/libaxmail/axmail.cc:377:17: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/libaxmail/axmail.cc:510:11: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/libaxmail/axmail.cc:663:11: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/libaxmail/axmail.cc:527:8: style: The scope of the variable 'num' can be reduced. [variableScope] linpac-0.28/src/applications/libaxmail/axmail.cc:528:10: style: The scope of the variable 'flags' can be reduced. [variableScope] linpac-0.28/src/applications/libaxmail/axmail.cc:529:8: style: The scope of the variable 'size' can be reduced. [variableScope] linpac-0.28/src/applications/libaxmail/axmail.cc:530:10: style: The scope of the variable 'dest' can be reduced. [variableScope] linpac-0.28/src/applications/libaxmail/axmail.cc:531:10: style: The scope of the variable 'dpath' can be reduced. [variableScope] linpac-0.28/src/applications/libaxmail/axmail.cc:532:10: style: The scope of the variable 'src' can be reduced. [variableScope] linpac-0.28/src/applications/libaxmail/axmail.cc:533:10: style: The scope of the variable 'date' can be reduced. [variableScope] linpac-0.28/src/applications/libaxmail/axmail.cc:534:10: style: The scope of the variable 'subject' can be reduced. [variableScope] linpac-0.28/src/applications/libaxmail/axmail.cc:680:8: style: The scope of the variable 'num' can be reduced. [variableScope] linpac-0.28/src/applications/libaxmail/axmail.cc:681:10: style: The scope of the variable 'flags' can be reduced. [variableScope] linpac-0.28/src/applications/libaxmail/axmail.cc:682:10: style: The scope of the variable 'bid' can be reduced. [variableScope] linpac-0.28/src/applications/libaxmail/axmail.cc:683:10: style: The scope of the variable 'src' can be reduced. [variableScope] linpac-0.28/src/applications/libaxmail/axmail.cc:684:10: style: The scope of the variable 'dest' can be reduced. [variableScope] linpac-0.28/src/applications/libaxmail/axmail.cc:685:10: style: The scope of the variable 'date' can be reduced. [variableScope] linpac-0.28/src/applications/libaxmail/axmail.cc:686:10: style: The scope of the variable 'subject' can be reduced. [variableScope] linpac-0.28/src/applications/libaxmail/axmail.cc:123:36: style:inconclusive: Function 'toStringShort' argument 1 names different: declaration 'buffer' definition 's'. [funcArgNamesDifferent] linpac-0.28/src/applications/libaxmail/axmail.h:34:33: note: Function 'toStringShort' argument 1 names different: declaration 'buffer' definition 's'. linpac-0.28/src/applications/libaxmail/axmail.cc:123:36: note: Function 'toStringShort' argument 1 names different: declaration 'buffer' definition 's'. linpac-0.28/src/applications/libaxmail/axmail.cc:136:35: style:inconclusive: Function 'toStringLong' argument 1 names different: declaration 'buffer' definition 's'. [funcArgNamesDifferent] linpac-0.28/src/applications/libaxmail/axmail.h:36:32: note: Function 'toStringLong' argument 1 names different: declaration 'buffer' definition 's'. linpac-0.28/src/applications/libaxmail/axmail.cc:136:35: note: Function 'toStringLong' argument 1 names different: declaration 'buffer' definition 's'. linpac-0.28/src/applications/libaxmail/axmail.cc:294:34: style:inconclusive: Function 'setBBS' argument 1 names different: declaration 'call' definition 'bbs_call'. [funcArgNamesDifferent] linpac-0.28/src/applications/libaxmail/axmail.h:102:31: note: Function 'setBBS' argument 1 names different: declaration 'call' definition 'bbs_call'. linpac-0.28/src/applications/libaxmail/axmail.cc:294:34: note: Function 'setBBS' argument 1 names different: declaration 'call' definition 'bbs_call'. linpac-0.28/src/applications/libaxmail/axmail.cc:432:46: style:inconclusive: Function 'addMessage' argument 1 names different: declaration 'message' definition 'msg'. [funcArgNamesDifferent] linpac-0.28/src/applications/libaxmail/axmail.h:150:38: note: Function 'addMessage' argument 1 names different: declaration 'message' definition 'msg'. linpac-0.28/src/applications/libaxmail/axmail.cc:432:46: note: Function 'addMessage' argument 1 names different: declaration 'message' definition 'msg'. linpac-0.28/src/applications/libaxmail/axmail.cc:375:15: style: Local variable 'size' shadows outer variable [shadowVariable] linpac-0.28/src/applications/libaxmail/axmail.h:56:11: note: Shadowed declaration linpac-0.28/src/applications/libaxmail/axmail.cc:375:15: note: Shadow variable linpac-0.28/src/applications/libaxmail/axmail.cc:37:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/libaxmail/axmail.cc:557:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/libaxmail/axmail.cc:557:19: style: Variable 'q' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/libaxmail/axmail.cc:709:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/libaxmail/axmail.cc:709:20: style: Variable 'q' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/libaxmail/axmail.cc:370:24: style: Variable 'buf[0]' is assigned a value that is never used. [unreadVariable] linpac-0.28/src/applications/libaxmail/axmail.cc:407:14: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/libaxmail/axmail.cc:414:53: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/libaxmail/axmail.cc:520:53: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/libaxmail/axmail.cc:623:59: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/libaxmail/axmail.cc:673:53: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/libaxmail/axmail.cc:763:59: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/libaxmail/parser.cc:22:14: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/libaxmail/parser.cc:30:14: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/libaxmail/parser.cc:37:14: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/libaxmail/parser.cc:47:19: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/libaxmail/parser.cc:20:38: style:inconclusive: Function 'P_next_field_start' argument 1 names different: declaration 'p' definition 'pos'. [funcArgNamesDifferent] linpac-0.28/src/applications/libaxmail/parser.h:6:38: note: Function 'P_next_field_start' argument 1 names different: declaration 'p' definition 'pos'. linpac-0.28/src/applications/libaxmail/parser.cc:20:38: note: Function 'P_next_field_start' argument 1 names different: declaration 'p' definition 'pos'. linpac-0.28/src/applications/libaxmail/parser.cc:28:31: style:inconclusive: Function 'P_field_end' argument 1 names different: declaration 'p' definition 'pos'. [funcArgNamesDifferent] linpac-0.28/src/applications/libaxmail/parser.h:7:31: note: Function 'P_field_end' argument 1 names different: declaration 'p' definition 'pos'. linpac-0.28/src/applications/libaxmail/parser.cc:28:31: note: Function 'P_field_end' argument 1 names different: declaration 'p' definition 'pos'. linpac-0.28/src/applications/libaxmail/parser.cc:35:32: style:inconclusive: Function 'P_string_end' argument 1 names different: declaration 'p' definition 'pos'. [funcArgNamesDifferent] linpac-0.28/src/applications/libaxmail/parser.h:8:32: note: Function 'P_string_end' argument 1 names different: declaration 'p' definition 'pos'. linpac-0.28/src/applications/libaxmail/parser.cc:35:32: note: Function 'P_string_end' argument 1 names different: declaration 'p' definition 'pos'. linpac-0.28/src/applications/liblinpac/lpapp.c:103:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/liblinpac/lpapp.c:114:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/liblinpac/lpapp.c:124:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/liblinpac/lpapp.c:135:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/liblinpac/lpapp.c:142:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/liblinpac/lpapp.c:241:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/liblinpac/lpapp.c:355:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/liblinpac/lpapp.c:447:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/liblinpac/lpapp.c:473:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/liblinpac/lpapp.c:790:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/liblinpac/lpapp.c:257:11: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] linpac-0.28/src/applications/liblinpac/lpapp.c:920:19: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] linpac-0.28/src/applications/liblinpac/lpapp.c:921:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] linpac-0.28/src/applications/liblinpac/lpapp.c:931:19: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] linpac-0.28/src/applications/liblinpac/lpapp.c:932:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] linpac-0.28/src/applications/liblinpac/lpapp.c:888:4: warning:inconclusive: Width 10 given in format string (no. 1) is smaller than destination buffer 'wcall[12]'. [invalidScanfFormatWidth_smaller] linpac-0.28/src/applications/liblinpac/lpapp.c:907:7: warning:inconclusive: Width 10 given in format string (no. 1) is smaller than destination buffer 'ccall[12]'. [invalidScanfFormatWidth_smaller] linpac-0.28/src/applications/liblinpac/lpapp.c:1058:17: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] linpac-0.28/src/applications/liblinpac/lpapp.c:237:20: style: Variable 'host' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/liblinpac/lpapp.c:411:57: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/liblinpac/lpapp.c:666:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/liblinpac/lpapp.c:917:15: style: Variable 'cas' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/liblinpac/lpapp.c:928:15: style: Variable 'cas' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/liblinpac/lpapp.c:941:10: style: Variable 'name' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/liblinpac/lpapp.c:941:25: style: Variable 'ver' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/logbook.cc:50:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/logbook.cc:63:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/logbook.cc:121:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/logbook.cc:19:18: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] linpac-0.28/src/applications/logbook.cc:20:18: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] linpac-0.28/src/applications/logbook.cc:31:18: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] linpac-0.28/src/applications/logbook.cc:32:18: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] linpac-0.28/src/applications/logbook.cc:78:7: error: Resource leak: f [resourceLeak] linpac-0.28/src/applications/logbook.cc:84:10: style: The scope of the variable 'old_str' can be reduced. [variableScope] linpac-0.28/src/applications/logbook.cc:85:11: style: The scope of the variable 'new_str' can be reduced. [variableScope] linpac-0.28/src/applications/logbook.cc:17:14: style: Variable 'cas' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/logbook.cc:29:14: style: Variable 'cas' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/logbook.cc:38:25: style: Parameter 'logname' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/logbook.cc:38:40: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/logbook.cc:38:52: style: Parameter 'qrg' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/logbook.cc:53:24: style: Parameter 'logname' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/logbook.cc:53:39: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/logbook.cc:53:51: style: Parameter 'qrg' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/logbook.cc:85:11: style: Variable 'new_str' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/logbook.cc:106:10: warning: Uninitialized variable: t [uninitvar] linpac-0.28/src/applications/logbook.cc:68:11: note: Assuming condition is true linpac-0.28/src/applications/logbook.cc:106:10: note: Uninitialized variable: t linpac-0.28/src/applications/lpapi/lpapi.cc:53:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/lpapi/lpapi.cc:74:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/lpbck.cc:10:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailer/mail.cc:119:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailer/mail.cc:62:12: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] linpac-0.28/src/applications/mailer/mail_list.h:101:11: style:inconclusive: Technically the member function 'Messages::count' can be const. [functionConst] linpac-0.28/src/applications/mailer/mail_filt.h:82:5: style: Class 'BoardList' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] linpac-0.28/src/applications/mailer/mail_list.h:48:5: style: Class 'TheFile' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] linpac-0.28/src/applications/mailer/mail_screen.h:80:18: style: The function 'handle_event' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailer/mail_screen.h:70:18: note: Virtual function in base class linpac-0.28/src/applications/mailer/mail_screen.h:80:18: note: Function in derived class linpac-0.28/src/applications/mailer/mail_screen.h:81:10: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailer/mail_screen.h:71:18: note: Virtual function in base class linpac-0.28/src/applications/mailer/mail_screen.h:81:10: note: Function in derived class linpac-0.28/src/applications/mailer/mail_input.h:46:10: style: The function 'handle_event' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailer/mail_screen.h:70:18: note: Virtual function in base class linpac-0.28/src/applications/mailer/mail_input.h:46:10: note: Function in derived class linpac-0.28/src/applications/mailer/mail_input.h:48:10: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailer/mail_screen.h:71:18: note: Virtual function in base class linpac-0.28/src/applications/mailer/mail_input.h:48:10: note: Function in derived class linpac-0.28/src/applications/mailer/mail_filt.h:89:18: style: The function 'handle_event' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailer/mail_screen.h:70:18: note: Virtual function in base class linpac-0.28/src/applications/mailer/mail_filt.h:89:18: note: Function in derived class linpac-0.28/src/applications/mailer/mail_filt.h:90:18: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailer/mail_screen.h:71:18: note: Virtual function in base class linpac-0.28/src/applications/mailer/mail_filt.h:90:18: note: Function in derived class linpac-0.28/src/applications/mailer/mail_list.h:58:18: style: The function 'handle_event' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailer/mail_screen.h:70:18: note: Virtual function in base class linpac-0.28/src/applications/mailer/mail_list.h:58:18: note: Function in derived class linpac-0.28/src/applications/mailer/mail_list.h:59:18: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailer/mail_screen.h:71:18: note: Virtual function in base class linpac-0.28/src/applications/mailer/mail_list.h:59:18: note: Function in derived class linpac-0.28/src/applications/mailer/mail_list.h:112:20: style: The function 'handle_event' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailer/mail_screen.h:70:18: note: Virtual function in base class linpac-0.28/src/applications/mailer/mail_list.h:112:20: note: Function in derived class linpac-0.28/src/applications/mailer/mail_list.h:113:20: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailer/mail_screen.h:71:18: note: Virtual function in base class linpac-0.28/src/applications/mailer/mail_list.h:113:20: note: Function in derived class linpac-0.28/src/applications/mailer/mail.cc:40:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/mailer/mail.cc:41:10: style: Variable 'q' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/mailer/mail_call.cc:69:14: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/mailer/mail_edit.h:82:10: performance:inconclusive: Technically the member function 'Editor::active' can be static (but you may consider moving to unnamed namespace). [functionStatic] linpac-0.28/src/applications/mailer/mail_edit.h:61:10: style: The function 'handle_event' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailer/mail_screen.h:70:18: note: Virtual function in base class linpac-0.28/src/applications/mailer/mail_edit.h:61:10: note: Function in derived class linpac-0.28/src/applications/mailer/mail_edit.h:62:10: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailer/mail_screen.h:71:18: note: Virtual function in base class linpac-0.28/src/applications/mailer/mail_edit.h:62:10: note: Function in derived class linpac-0.28/src/applications/mailer/mail_edit.h:125:10: style: The function 'handle_event' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailer/mail_screen.h:70:18: note: Virtual function in base class linpac-0.28/src/applications/mailer/mail_edit.h:125:10: note: Function in derived class linpac-0.28/src/applications/mailer/mail_edit.h:126:10: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailer/mail_screen.h:71:18: note: Virtual function in base class linpac-0.28/src/applications/mailer/mail_edit.h:126:10: note: Function in derived class linpac-0.28/src/applications/mailer/mail_edit.cc:532:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailer/mail_edit.cc:590:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailer/mail_edit.cc:793:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailer/mail_edit.cc:990:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailer/mail_edit.cc:1008:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailer/mail_edit.cc:865:10: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] linpac-0.28/src/applications/mailer/mail_edit.h:83:10: style:inconclusive: Technically the member function 'Editor::convert_charset' can be const. [functionConst] linpac-0.28/src/applications/mailer/mail_edit.cc:470:14: note: Technically the member function 'Editor::convert_charset' can be const. linpac-0.28/src/applications/mailer/mail_edit.h:83:10: note: Technically the member function 'Editor::convert_charset' can be const. linpac-0.28/src/applications/mailer/mail_edit.cc:83:4: warning: Class 'Edline' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] linpac-0.28/src/applications/mailer/mail_edit.cc:151:4: warning: Class 'Editor' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] linpac-0.28/src/applications/mailer/mail_edit.cc:151:4: warning: Class 'Editor' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] linpac-0.28/src/applications/mailer/mail_edit.cc:537:4: warning: Class 'Composer' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] linpac-0.28/src/applications/mailer/mail_edit.cc:537:4: warning: Class 'Composer' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] linpac-0.28/src/applications/mailer/mail_edit.cc:985:10: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] linpac-0.28/src/applications/mailer/mail_edit.cc:223:28: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/mailer/mail_edit.cc:757:22: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/mailer/mail_edit.cc:173:10: style: The scope of the variable 's' can be reduced. [variableScope] linpac-0.28/src/applications/mailer/mail_edit.cc:389:8: style: The scope of the variable 'i' can be reduced. [variableScope] linpac-0.28/src/applications/mailer/mail_edit.cc:585:13: style: The scope of the variable 'ch' can be reduced. [variableScope] linpac-0.28/src/applications/mailer/mail_edit.cc:1001:10: style: The scope of the variable 'f' can be reduced. [variableScope] linpac-0.28/src/applications/mailer/mail_edit.cc:935:24: style: Local variable 'i' shadows outer variable [shadowVariable] linpac-0.28/src/applications/mailer/mail_edit.cc:928:13: note: Shadowed declaration linpac-0.28/src/applications/mailer/mail_edit.cc:935:24: note: Shadow variable linpac-0.28/src/applications/mailer/mail_edit.cc:1013:12: style: Local variable 'size' shadows outer variable [shadowVariable] linpac-0.28/src/applications/mailer/mail_edit.h:103:9: note: Shadowed declaration linpac-0.28/src/applications/mailer/mail_edit.cc:1013:12: note: Shadow variable linpac-0.28/src/applications/mailer/mail_edit.cc:118:27: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/mailer/mail_edit.cc:173:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/mailer/mail_edit.cc:223:19: style: Variable 'buffer' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/mailer/mail_edit.cc:408:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/mailer/mail_edit.cc:505:78: style: Parameter 'toaddr' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/mailer/mail_edit.cc:505:92: style: Parameter 'subject' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/mailer/mail_edit.cc:757:13: style: Variable 'buffer' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/mailer/mail_edit.cc:811:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/mailer/mail_edit.cc:863:15: style: Variable 'tim' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/mailer/mail_files.cc:21:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/mailer/mail_filt.cc:151:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailer/mail_filt.cc:188:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailer/mail_filt.cc:267:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailer/mail_filt.cc:378:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_DOWN [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailer/mail_filt.cc:91:17: warning: Member variable 'BGroup::name' is not assigned a value in 'BGroup::operator='. [operatorEqVarError] linpac-0.28/src/applications/mailer/mail_filt.cc:91:17: warning:inconclusive: Member variable 'BGroup::sel' is not assigned a value in 'BGroup::operator='. [operatorEqVarError] linpac-0.28/src/applications/mailer/mail_filt.cc:102:12: warning: Member variable 'BoardList::mwin' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_filt.cc:102:12: warning: Member variable 'BoardList::x' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_filt.cc:102:12: warning: Member variable 'BoardList::y' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_filt.cc:102:12: warning: Member variable 'BoardList::xsize' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_filt.cc:102:12: warning: Member variable 'BoardList::ysize' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_filt.cc:102:12: warning: Member variable 'BoardList::wait_gdel' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_filt.cc:102:12: warning: Member variable 'BoardList::ibuffer' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_filt.cc:102:12: warning: Member variable 'BoardList::old_focus_window' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_filt.cc:102:12: warning: Member variable 'BoardList::old_focused' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_filt.cc:102:12: warning: Member variable 'screen_obj::class_name' is not initialized in the constructor. Maybe it should be initialized directly in the class screen_obj? [uninitDerivedMemberVar] linpac-0.28/src/applications/mailer/mail_filt.cc:120:12: warning: Member variable 'BoardList::mwin' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_filt.cc:120:12: warning: Member variable 'BoardList::x' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_filt.cc:120:12: warning: Member variable 'BoardList::y' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_filt.cc:120:12: warning: Member variable 'BoardList::xsize' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_filt.cc:120:12: warning: Member variable 'BoardList::ysize' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_filt.cc:120:12: warning: Member variable 'BoardList::wait_gdel' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_filt.cc:120:12: warning: Member variable 'BoardList::ibuffer' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_filt.cc:120:12: warning: Member variable 'BoardList::old_focus_window' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_filt.cc:120:12: warning: Member variable 'BoardList::old_focused' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_filt.cc:120:12: warning: Member variable 'screen_obj::class_name' is not initialized in the constructor. Maybe it should be initialized directly in the class screen_obj? [uninitDerivedMemberVar] linpac-0.28/src/applications/mailer/mail_filt.cc:122:4: performance: Variable 'boards' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] linpac-0.28/src/applications/mailer/mail_filt.h:92:10: performance:inconclusive: Technically the member function 'BoardList::clear_filter' can be static (but you may consider moving to unnamed namespace). [functionStatic] linpac-0.28/src/applications/mailer/mail_filt.cc:138:17: note: Technically the member function 'BoardList::clear_filter' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/applications/mailer/mail_filt.h:92:10: note: Technically the member function 'BoardList::clear_filter' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/applications/mailer/mail_filt.cc:118:1: error: Memory leak: none [memleak] linpac-0.28/src/applications/mailer/mail_filt.cc:136:1: error: Memory leak: none [memleak] linpac-0.28/src/applications/mailer/mail_filt.cc:182:9: style: The scope of the variable 'creating' can be reduced. [variableScope] linpac-0.28/src/applications/mailer/mail_filt.cc:120:43: style: Parameter 'bds' can be declared as reference to const [constParameterReference] linpac-0.28/src/applications/mailer/mail_filt.cc:32:53: style: Parameter 'mycall' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/mailer/mail_filt.cc:87:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] linpac-0.28/src/applications/mailer/mail_filt.cc:35:45: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_filt.cc:86:51: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_filt.cc:161:54: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_filt.cc:165:71: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_filt.cc:234:34: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_filt.cc:345:52: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_filt.cc:450:52: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_filt.cc:468:52: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_filt.cc:480:52: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_help.cc:38:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailer/mail_help.cc:60:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailer/mail_help.cc:170:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_NPAGE [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailer/mail_help.cc:22:13: warning: Member variable 'screen_obj::class_name' is not initialized in the constructor. Maybe it should be initialized directly in the class screen_obj? [uninitDerivedMemberVar] linpac-0.28/src/applications/mailer/mail_help.h:29:18: style: Virtual function 'draw' is called from constructor 'HelpWindow(WINDOW*pwin,int height,int width,int wy,int wx)' at line 43. Dynamic binding is not used. [virtualCallInConstructor] linpac-0.28/src/applications/mailer/mail_help.cc:43:3: note: Calling show linpac-0.28/src/applications/mailer/mail_help.cc:48:3: note: Calling draw linpac-0.28/src/applications/mailer/mail_help.h:29:18: note: draw is a virtual function linpac-0.28/src/applications/mailer/mail_help.h:28:18: style: The function 'handle_event' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailer/mail_screen.h:70:18: note: Virtual function in base class linpac-0.28/src/applications/mailer/mail_help.h:28:18: note: Function in derived class linpac-0.28/src/applications/mailer/mail_help.h:29:18: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailer/mail_screen.h:71:18: note: Virtual function in base class linpac-0.28/src/applications/mailer/mail_help.h:29:18: note: Function in derived class linpac-0.28/src/applications/mailer/mail_input.cc:26:12: warning: Member variable 'InputLine::crx' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_input.cc:79:20: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/mailer/mail_input.cc:79:11: style: Variable 'buffer' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/mailer/mail_list.cc:528:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailer/mail_list.cc:571:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailer/mail_list.cc:620:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailer/mail_list.cc:666:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_DOWN [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailer/mail_list.cc:960:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailer/mail_list.cc:983:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailer/mail_list.cc:1115:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_DOWN [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailer/mail_list.cc:222:10: warning: Member variable 'TheFile::mwin' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_list.cc:222:10: warning: Member variable 'TheFile::x' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_list.cc:222:10: warning: Member variable 'TheFile::y' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_list.cc:222:10: warning: Member variable 'TheFile::xsize' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_list.cc:222:10: warning: Member variable 'TheFile::ysize' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_list.cc:222:10: warning: Member variable 'TheFile::attach' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_list.cc:222:10: warning: Member variable 'TheFile::err' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_list.cc:222:10: warning: Member variable 'TheFile::wait_xnum' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_list.cc:222:10: warning: Member variable 'TheFile::ibuffer' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_list.cc:222:10: warning: Member variable 'TheFile::iline' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_list.cc:222:10: warning: Member variable 'TheFile::old_focus_window' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_list.cc:222:10: warning: Member variable 'TheFile::old_focused' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_list.cc:100:11: warning: Member variable 'Messages::mwin' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_list.cc:100:11: warning: Member variable 'Messages::x' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_list.cc:100:11: warning: Member variable 'Messages::y' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_list.cc:100:11: warning: Member variable 'Messages::xsize' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_list.cc:100:11: warning: Member variable 'Messages::ysize' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_list.cc:100:11: warning: Member variable 'Messages::old_focus_window' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_list.cc:100:11: warning: Member variable 'Messages::old_focused' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_list.cc:100:11: warning: Member variable 'Messages::blister' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailer/mail_list.h:43:11: performance:inconclusive: Technically the member function 'TheFile::filename_from_footer' can be static (but you may consider moving to unnamed namespace). [functionStatic] linpac-0.28/src/applications/mailer/mail_list.cc:361:16: note: Technically the member function 'TheFile::filename_from_footer' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/applications/mailer/mail_list.h:43:11: note: Technically the member function 'TheFile::filename_from_footer' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/applications/mailer/mail_list.cc:103:4: warning: Class 'Messages' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] linpac-0.28/src/applications/mailer/mail_list.cc:103:4: warning: Class 'Messages' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] linpac-0.28/src/applications/mailer/mail_list.cc:366:15: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/mailer/mail_list.cc:202:8: style: The scope of the variable 'cmp' can be reduced. [variableScope] linpac-0.28/src/applications/mailer/mail_list.cc:766:21: style: The scope of the variable 'num' can be reduced. [variableScope] linpac-0.28/src/applications/mailer/mail_list.cc:213:52: style:inconclusive: Function 'del_msg' argument 1 names different: declaration 'it' definition 'where'. [funcArgNamesDifferent] linpac-0.28/src/applications/mailer/mail_list.h:109:48: note: Function 'del_msg' argument 1 names different: declaration 'it' definition 'where'. linpac-0.28/src/applications/mailer/mail_list.cc:213:52: note: Function 'del_msg' argument 1 names different: declaration 'it' definition 'where'. linpac-0.28/src/applications/mailer/mail_list.cc:315:31: style:inconclusive: Function 'wrap_line' argument 1 names different: declaration 'str' definition 'inLine'. [funcArgNamesDifferent] linpac-0.28/src/applications/mailer/mail_list.h:41:26: note: Function 'wrap_line' argument 1 names different: declaration 'str' definition 'inLine'. linpac-0.28/src/applications/mailer/mail_list.cc:315:31: note: Function 'wrap_line' argument 1 names different: declaration 'str' definition 'inLine'. linpac-0.28/src/applications/mailer/mail_list.cc:345:48: style:inconclusive: Function 'add_attachment_placeholder' argument 1 names different: declaration 'line' definition 'text'. [funcArgNamesDifferent] linpac-0.28/src/applications/mailer/mail_list.h:42:43: note: Function 'add_attachment_placeholder' argument 1 names different: declaration 'line' definition 'text'. linpac-0.28/src/applications/mailer/mail_list.cc:345:48: note: Function 'add_attachment_placeholder' argument 1 names different: declaration 'line' definition 'text'. linpac-0.28/src/applications/mailer/mail_list.cc:549:8: style: Local variable 'count' shadows outer function [shadowFunction] linpac-0.28/src/applications/mailer/mail_list.h:101:11: note: Shadowed declaration linpac-0.28/src/applications/mailer/mail_list.cc:549:8: note: Shadow variable linpac-0.28/src/applications/mailer/mail_list.cc:753:17: style: Local variable 'cur' shadows outer variable [shadowVariable] linpac-0.28/src/applications/mailer/mail_list.cc:660:8: note: Shadowed declaration linpac-0.28/src/applications/mailer/mail_list.cc:753:17: note: Shadow variable linpac-0.28/src/applications/mailer/mail_list.cc:767:20: style: Local variable 'cur' shadows outer variable [shadowVariable] linpac-0.28/src/applications/mailer/mail_list.cc:660:8: note: Shadowed declaration linpac-0.28/src/applications/mailer/mail_list.cc:767:20: note: Shadow variable linpac-0.28/src/applications/mailer/mail_list.cc:100:26: style: Parameter 'bbs_name' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/mailer/mail_list.cc:100:42: style: Parameter 'call' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/mailer/mail_list.cc:192:10: style: Variable 'dest' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/mailer/mail_list.cc:201:10: style: Variable 'dest' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/mailer/mail_list.cc:268:15: style: Variable 'eol' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/mailer/mail_list.cc:402:15: style: Variable 'eol' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/mailer/mail_list.cc:922:16: style: Variable 'np' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/mailer/mail_list.cc:462:5: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] linpac-0.28/src/applications/mailer/mail_list.cc:793:29: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] linpac-0.28/src/applications/mailer/mail_list.cc:821:20: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] linpac-0.28/src/applications/mailer/mail_list.cc:148:43: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_list.cc:160:43: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_list.cc:173:50: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_list.cc:204:55: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_list.cc:238:45: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_list.cc:245:45: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_list.cc:449:44: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_list.cc:459:44: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_list.cc:483:57: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_list.cc:486:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_list.cc:751:49: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_list.cc:764:52: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_list.cc:792:49: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_list.cc:804:52: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_list.cc:819:56: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_list.cc:834:44: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_route.cc:80:17: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] linpac-0.28/src/applications/mailer/mail_route.cc:71:10: style: The scope of the variable 'call' can be reduced. [variableScope] linpac-0.28/src/applications/mailer/mail_route.cc:72:10: style: The scope of the variable 'route' can be reduced. [variableScope] linpac-0.28/src/applications/mailer/mail_route.cc:96:23: style: Parameter 'call' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/mailer/mail_route.cc:103:48: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_route.cc:109:46: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_route.cc:117:48: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_route.cc:127:48: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_screen.cc:39:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _maxx [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailer/mail_screen.cc:70:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailer/mail_screen.cc:89:9: style: The scope of the variable 'f' can be reduced. [variableScope] linpac-0.28/src/applications/mailmsg/bbs.cc:32:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DO_COMMAND [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailmsg/bbs.cc:42:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DISC_LOC [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailmsg/bbs.cc:74:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailmsg/bbs.cc:15:6: warning: Member variable 'BBS::killcmd' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailmsg/bbs.cc:15:16: style:inconclusive: Function 'BBS' argument 1 names different: declaration 'homebbs' definition 'homebbs_'. [funcArgNamesDifferent] linpac-0.28/src/applications/mailmsg/bbs.h:25:19: note: Function 'BBS' argument 1 names different: declaration 'homebbs' definition 'homebbs_'. linpac-0.28/src/applications/mailmsg/bbs.cc:15:16: note: Function 'BBS' argument 1 names different: declaration 'homebbs' definition 'homebbs_'. linpac-0.28/src/applications/mailmsg/bbs.cc:15:32: style:inconclusive: Function 'BBS' argument 2 names different: declaration 'homecall' definition 'homecall_'. [funcArgNamesDifferent] linpac-0.28/src/applications/mailmsg/bbs.h:25:34: note: Function 'BBS' argument 2 names different: declaration 'homecall' definition 'homecall_'. linpac-0.28/src/applications/mailmsg/bbs.cc:15:32: note: Function 'BBS' argument 2 names different: declaration 'homecall' definition 'homecall_'. linpac-0.28/src/applications/mailmsg/bbs.cc:15:49: style:inconclusive: Function 'BBS' argument 3 names different: declaration 'mailhome' definition 'mailhome_'. [funcArgNamesDifferent] linpac-0.28/src/applications/mailmsg/bbs.h:25:50: note: Function 'BBS' argument 3 names different: declaration 'mailhome' definition 'mailhome_'. linpac-0.28/src/applications/mailmsg/bbs.cc:15:49: note: Function 'BBS' argument 3 names different: declaration 'mailhome' definition 'mailhome_'. linpac-0.28/src/applications/mailmsg/bbs.cc:56:30: style:inconclusive: Function 'set_kill_cmd' argument 1 names different: declaration 'killcmd' definition 'killcmd_'. [funcArgNamesDifferent] linpac-0.28/src/applications/mailmsg/bbs.h:33:41: note: Function 'set_kill_cmd' argument 1 names different: declaration 'killcmd' definition 'killcmd_'. linpac-0.28/src/applications/mailmsg/bbs.cc:56:30: note: Function 'set_kill_cmd' argument 1 names different: declaration 'killcmd' definition 'killcmd_'. linpac-0.28/src/applications/mailmsg/bbs_fbb.cc:54:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailmsg/bbs_fbb.cc:173:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailmsg/bbs_fbb.cc:190:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LPAPP_VERSION [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailmsg/lzhuf.h:55:17: style:inconclusive: Technically the member function 'LZHufPacker::GetCRC' can be const. [functionConst] linpac-0.28/src/applications/mailmsg/lzhuf.h:57:7: style:inconclusive: Technically the member function 'LZHufPacker::GetLength' can be const. [functionConst] linpac-0.28/src/applications/mailmsg/lzhuf.h:50:2: style: Class 'LZHufPacker' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] linpac-0.28/src/applications/mailmsg/bbs_fbb.h:14:18: style: The destructor '~FBB' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailmsg/bbs.h:26:18: note: Virtual destructor in base class linpac-0.28/src/applications/mailmsg/bbs_fbb.h:14:18: note: Destructor in derived class linpac-0.28/src/applications/mailmsg/bbs_fbb.h:16:22: style: The function 'save_msg' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailmsg/bbs.h:36:22: note: Virtual function in base class linpac-0.28/src/applications/mailmsg/bbs_fbb.h:16:22: note: Function in derived class linpac-0.28/src/applications/mailmsg/bbs_fbb.h:18:21: style: The function 'get_one_message' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailmsg/bbs.h:43:21: note: Virtual function in base class linpac-0.28/src/applications/mailmsg/bbs_fbb.h:18:21: note: Function in derived class linpac-0.28/src/applications/mailmsg/bbs_fbb.h:19:22: style: The function 'wait_prompt' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailmsg/bbs.h:45:22: note: Virtual function in base class linpac-0.28/src/applications/mailmsg/bbs_fbb.h:19:22: note: Function in derived class linpac-0.28/src/applications/mailmsg/bbs_fbb.h:20:22: style: The function 'send_request' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailmsg/bbs.h:44:22: note: Virtual function in base class linpac-0.28/src/applications/mailmsg/bbs_fbb.h:20:22: note: Function in derived class linpac-0.28/src/applications/mailmsg/bbs_fbb.h:21:22: style: The function 'send_tag' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailmsg/bbs.h:38:22: note: Virtual function in base class linpac-0.28/src/applications/mailmsg/bbs_fbb.h:21:22: note: Function in derived class linpac-0.28/src/applications/mailmsg/bbs_fbb.cc:85:25: style: Condition '!abort_all' is always true [knownConditionTrueFalse] linpac-0.28/src/applications/mailmsg/bbs_fbb.cc:70:7: note: Assuming that condition 'abort_all' is not redundant linpac-0.28/src/applications/mailmsg/bbs_fbb.cc:85:25: note: Condition '!abort_all' is always true linpac-0.28/src/applications/mailmsg/bbs_fbb.cc:87:7: style: Condition 'abort_all' is always false [knownConditionTrueFalse] linpac-0.28/src/applications/mailmsg/bbs_fbb.cc:70:7: note: Assuming that condition 'abort_all' is not redundant linpac-0.28/src/applications/mailmsg/bbs_fbb.cc:87:7: note: Condition 'abort_all' is always false linpac-0.28/src/applications/mailmsg/bbs_fbb.cc:125:13: style: Condition 'abort_all' is always false [knownConditionTrueFalse] linpac-0.28/src/applications/mailmsg/bbs_fbb.cc:109:11: note: Assuming that condition 'abort_all' is not redundant linpac-0.28/src/applications/mailmsg/bbs_fbb.cc:125:13: note: Condition 'abort_all' is always false linpac-0.28/src/applications/mailmsg/bbs_fbb.cc:48:10: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/mailmsg/bbs_fbb.cc:106:16: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/mailmsg/bbs_fbb.cc:160:21: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/mailmsg/bbs_pbbs.cc:41:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailmsg/bbs_pbbs.cc:140:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailmsg/bbs_pbbs.cc:21:7: warning: Member variable 'PBBS::at_prompt' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailmsg/bbs_pbbs.cc:21:7: warning: Member variable 'PBBS::have_eol' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailmsg/bbs_pbbs.h:14:18: style: The destructor '~PBBS' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailmsg/bbs.h:26:18: note: Virtual destructor in base class linpac-0.28/src/applications/mailmsg/bbs_pbbs.h:14:18: note: Destructor in derived class linpac-0.28/src/applications/mailmsg/bbs_pbbs.h:16:21: style: The function 'get_one_message' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailmsg/bbs.h:43:21: note: Virtual function in base class linpac-0.28/src/applications/mailmsg/bbs_pbbs.h:16:21: note: Function in derived class linpac-0.28/src/applications/mailmsg/bbs_pbbs.h:17:22: style: The function 'wait_prompt' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailmsg/bbs.h:45:22: note: Virtual function in base class linpac-0.28/src/applications/mailmsg/bbs_pbbs.h:17:22: note: Function in derived class linpac-0.28/src/applications/mailmsg/bbs_pbbs.h:18:22: style: The function 'send_request' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailmsg/bbs.h:44:22: note: Virtual function in base class linpac-0.28/src/applications/mailmsg/bbs_pbbs.h:18:22: note: Function in derived class linpac-0.28/src/applications/mailmsg/bbs_pbbs.h:19:22: style: The function 'set_limit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailmsg/bbs.h:39:22: note: Virtual function in base class linpac-0.28/src/applications/mailmsg/bbs_pbbs.h:19:22: note: Function in derived class linpac-0.28/src/applications/mailmsg/bbs_pbbs.h:20:22: style: The function 'sign_off' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailmsg/bbs.h:40:22: note: Virtual function in base class linpac-0.28/src/applications/mailmsg/bbs_pbbs.h:20:22: note: Function in derived class linpac-0.28/src/applications/mailmsg/bbs_pbbs.cc:83:17: error: Common realloc mistake: 'buffer' nulled but not freed upon failure [memleakOnRealloc] linpac-0.28/src/applications/mailmsg/bbs_pbbs.cc:38:14: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/mailmsg/bbs_pbbs.cc:83:26: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/mailmsg/bbs_pbbs.cc:33:49: style: The scope of the variable 'line_len' can be reduced. [variableScope] linpac-0.28/src/applications/mailmsg/forward.cc:89:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailmsg/forward.cc:149:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailmsg/forward.cc:162:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DO_COMMAND [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailmsg/forward.cc:178:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DISC_LOC [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailmsg/forward.cc:278:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailmsg/forward.cc:331:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailmsg/forward.cc:440:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DISC_LOC [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailmsg/forward.cc:240:10: style: Condition '!done' is always true [knownConditionTrueFalse] linpac-0.28/src/applications/mailmsg/forward.cc:232:14: note: Assignment 'done=0', assigned value is 0 linpac-0.28/src/applications/mailmsg/forward.cc:240:10: note: Condition '!done' is always true linpac-0.28/src/applications/mailmsg/forward.cc:245:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] linpac-0.28/src/applications/mailmsg/forward.cc:416:9: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] linpac-0.28/src/applications/mailmsg/forward.cc:101:13: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/mailmsg/forward.cc:116:13: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/mailmsg/forward.cc:438:36: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/mailmsg/forward.cc:342:8: style: Variable 'size' is reassigned a value before the old one has been used. [redundantAssignment] linpac-0.28/src/applications/mailmsg/forward.cc:341:8: note: size is assigned linpac-0.28/src/applications/mailmsg/forward.cc:342:8: note: size is overwritten linpac-0.28/src/applications/mailmsg/forward.cc:190:17: style: The scope of the variable 'r' can be reduced. [variableScope] linpac-0.28/src/applications/mailmsg/forward.cc:231:13: style: The scope of the variable 'last_line' can be reduced. [variableScope] linpac-0.28/src/applications/mailmsg/forward.cc:233:16: style: Local variable 'flags' shadows outer variable [shadowVariable] linpac-0.28/src/applications/mailmsg/forward.cc:64:25: note: Shadowed declaration linpac-0.28/src/applications/mailmsg/forward.cc:233:16: note: Shadow variable linpac-0.28/src/applications/mailmsg/forward.cc:323:8: style: Local variable 'size' shadows outer variable [shadowVariable] linpac-0.28/src/applications/mailmsg/forward.cc:65:6: note: Shadowed declaration linpac-0.28/src/applications/mailmsg/forward.cc:323:8: note: Shadow variable linpac-0.28/src/applications/mailmsg/forward.cc:318:47: style: Parameter 'mid' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/mailmsg/forward.cc:318:58: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/mailmsg/forward.cc:318:70: style: Parameter 'to' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/mailmsg/getmsg.cc:80:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_APP_MESSAGE [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailmsg/getmsg.cc:100:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_APP_MESSAGE [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailmsg/getmsg.cc:165:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_APP_MESSAGE [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/mailmsg/getmsg.cc:91:55: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/mailmsg/getmsg.cc:165:54: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/mailmsg/getmsg.cc:217:54: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/mailmsg/getmsg.cc:86:24: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'my_handler' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] linpac-0.28/src/applications/mailmsg/getmsg.cc:114:26: note: You might need to cast the function pointer here linpac-0.28/src/applications/mailmsg/getmsg.cc:86:24: note: Parameter 'ev' can be declared as pointer to const linpac-0.28/src/applications/mailmsg/getmsg.cc:124:11: style: Variable 'homeaddr' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/mailmsg/getmsg.cc:142:11: style: Variable 'killpers' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/mailmsg/getmsg.cc:155:13: style: Variable 'bbs_type' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/mailmsg/lzhuf.cc:170:14: warning: Member variable 'LZHufPacker::getbuf' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailmsg/lzhuf.cc:170:14: warning: Member variable 'LZHufPacker::putbuf' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailmsg/lzhuf.cc:170:14: warning: Member variable 'LZHufPacker::getlen' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailmsg/lzhuf.cc:170:14: warning: Member variable 'LZHufPacker::putlen' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailmsg/lzhuf.cc:170:14: warning: Member variable 'LZHufPacker::match_position' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailmsg/lzhuf.cc:170:14: warning: Member variable 'LZHufPacker::match_length' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailmsg/lzhuf.cc:170:14: warning: Member variable 'LZHufPacker::outLen' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/applications/mailmsg/lzhuf.cc:179:2: warning: Class 'LZHufPacker' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] linpac-0.28/src/applications/mailmsg/lzhuf.cc:179:2: warning: Class 'LZHufPacker' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] linpac-0.28/src/applications/mailmsg/lzhuf.cc:208:3: error: Common realloc mistake: 'dataOut' nulled but not freed upon failure [memleakOnRealloc] linpac-0.28/src/applications/mailmsg/lzhuf.cc:208:13: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/mailmsg/lzhuf.cc:548:24: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/mailmsg/lzhuf.cc:555:13: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/mailmsg/lzhuf.cc:557:11: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/mailmsg/lzhuf.cc:612:24: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/mailmsg/lzhuf.cc:623:13: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/mailmsg/lzhuf.cc:625:11: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/mailmsg/lzhuf.cc:397:24: style: The scope of the variable 'f' can be reduced. [variableScope] linpac-0.28/src/applications/mailmsg/lzhuf.cc:397:27: style: The scope of the variable 'l' can be reduced. [variableScope] linpac-0.28/src/applications/mailmsg/lzhuf.cc:436:25: style: The scope of the variable 'l' can be reduced. [variableScope] linpac-0.28/src/applications/mailmsg/lzhuf.cc:437:18: style: The scope of the variable 'k' can be reduced. [variableScope] linpac-0.28/src/applications/mailmsg/lzhuf.cc:547:30: style: The scope of the variable 'last_match_length' can be reduced. [variableScope] linpac-0.28/src/applications/mailmsg/lzhuf.cc:613:26: style: The scope of the variable 'c' can be reduced. [variableScope] linpac-0.28/src/applications/mailmsg/lzhuf.cc:560:17: style: Local variable 'i' shadows outer variable [shadowVariable] linpac-0.28/src/applications/mailmsg/lzhuf.cc:547:14: note: Shadowed declaration linpac-0.28/src/applications/mailmsg/lzhuf.cc:560:17: note: Shadow variable linpac-0.28/src/applications/mailmsg/lzhuf.cc:627:17: style: Local variable 'i' shadows outer variable [shadowVariable] linpac-0.28/src/applications/mailmsg/lzhuf.cc:613:14: note: Shadowed declaration linpac-0.28/src/applications/mailmsg/lzhuf.cc:627:17: note: Shadow variable linpac-0.28/src/applications/mailmsg/lzhuf.cc:236:25: style: Variable 'key' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/mailmsg/lzhuf.cc:548:18: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/mailmsg/lzhuf.cc:612:18: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/md2.cc:89:6: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/md2.cc:104:15: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/md2.cc:105:15: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/md2.cc:119:15: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/md2.cc:129:15: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/md2.cc:137:15: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/md2.cc:138:15: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/md2.cc:160:17: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/md2.cc:161:13: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/md2.cc:173:15: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/md2.cc:174:11: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/md2.cc:195:15: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/md2.cc:199:15: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/md2.cc:147:41: style:inconclusive: Function 'MD2Update' argument 3 names different: declaration 'InputLen' definition 'inputLen'. [funcArgNamesDifferent] linpac-0.28/src/applications/md2.h:30:69: note: Function 'MD2Update' argument 3 names different: declaration 'InputLen' definition 'inputLen'. linpac-0.28/src/applications/md2.cc:147:41: note: Function 'MD2Update' argument 3 names different: declaration 'InputLen' definition 'inputLen'. linpac-0.28/src/applications/md2.cc:73:40: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/md2pwd.cc:26:11: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/md2pwd.cc:29:16: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/md2pwd.cc:38:13: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/md2pwd.cc:39:19: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/md2pwd.cc:18:22: style: Parameter 'passwd' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/md2pwd.cc:18:36: style: Parameter 'prompt' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/md5.cc:113:51: style: Parameter 'inBuf' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/md5.cc:188:42: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/md5pwd.cc:26:11: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/md5pwd.cc:29:16: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/md5pwd.cc:38:13: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/md5pwd.cc:39:19: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/md5pwd.cc:50:23: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/md5pwd.cc:51:23: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/md5pwd.cc:58:13: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/md5pwd.cc:59:19: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/md5pwd.cc:19:22: style: Parameter 'passwd' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/md5pwd.cc:19:36: style: Parameter 'prompt' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/name.cc:241:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/name.cc:327:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/name.cc:53:13: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/name.cc:63:13: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/name.cc:126:11: style: The scope of the variable 'p' can be reduced. [variableScope] linpac-0.28/src/applications/name.cc:93:21: style: Parameter 'stn' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/name.cc:150:24: style: Parameter 'stn' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/name.cc:184:23: style: Parameter 'call' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/name.cc:234:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/rawio.cc:147:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/rawio.cc:35:55: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/rawio.cc:38:55: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/rawio.cc:57:11: style: The scope of the variable 'r' can be reduced. [variableScope] linpac-0.28/src/applications/rawio.cc:119:19: style: The scope of the variable 'r' can be reduced. [variableScope] linpac-0.28/src/applications/rawio.cc:161:10: style: The scope of the variable 'p' can be reduced. [variableScope] linpac-0.28/src/applications/rawio.cc:30:24: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'my_handler' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] linpac-0.28/src/applications/rawio.cc:121:24: note: You might need to cast the function pointer here linpac-0.28/src/applications/rawio.cc:30:24: note: Parameter 'ev' can be declared as pointer to const linpac-0.28/src/applications/rawio.cc:113:21: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/rawio.cc:118:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/save7pl.cc:68:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/save7pl.cc:79:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/save7pl.cc:130:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/save7pl.cc:145:5: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] linpac-0.28/src/applications/save7pl.cc:143:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] linpac-0.28/src/applications/save7pl.cc:155:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] linpac-0.28/src/applications/save7pl.cc:44:55: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/save7pl.cc:113:8: style: The scope of the variable 'buf' can be reduced. [variableScope] linpac-0.28/src/applications/save7pl.cc:113:17: style: The scope of the variable 'tmp' can be reduced. [variableScope] linpac-0.28/src/applications/save7pl.cc:39:24: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'my_handler' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] linpac-0.28/src/applications/save7pl.cc:221:27: note: You might need to cast the function pointer here linpac-0.28/src/applications/save7pl.cc:39:24: note: Parameter 'ev' can be declared as pointer to const linpac-0.28/src/applications/save7pl.cc:88:22: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/save7pl.cc:88:34: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/save7pl.cc:115:9: style: Variable 'path_var' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/save7pl.cc:211:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/save7pl.cc:188:67: error: Uninitialized variable: lines [legacyUninitvar] linpac-0.28/src/applications/telnet/ipcontrol.cc:54:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/telnet/ipcontrol.cc:131:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/telnet/ipcontrol.cc:139:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/telnet/ipcontrol.cc:157:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/telnet/ipcontrol.cc:178:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_DISC [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/telnet/ipcontrol.cc:189:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/telnet/ipcontrol.cc:210:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_DISC [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/telnet/ipcontrol.cc:242:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/telnet/ipcontrol.cc:375:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/telnet/ipcontrol.cc:160:7: error: Resource leak: sock [resourceLeak] linpac-0.28/src/applications/telnet/ipcontrol.cc:169:7: error: Resource leak: sock [resourceLeak] linpac-0.28/src/applications/telnet/ipcontrol.cc:66:15: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/telnet/ipcontrol.cc:157:19: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/telnet/ipcontrol.cc:243:40: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/telnet/ipcontrol.cc:332:47: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/telnet/ipcontrol.cc:341:36: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/telnet/ipcontrol.cc:147:7: style: Local variable 'sock' shadows outer variable [shadowVariable] linpac-0.28/src/applications/telnet/ipcontrol.cc:36:6: note: Shadowed declaration linpac-0.28/src/applications/telnet/ipcontrol.cc:147:7: note: Shadow variable linpac-0.28/src/applications/telnet/ipcontrol.cc:263:22: style: Variable 'sorry' can be declared as const array [constVariable] linpac-0.28/src/applications/telnet/ipcontrol.cc:326:24: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'my_handler' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] linpac-0.28/src/applications/telnet/ipcontrol.cc:399:28: note: You might need to cast the function pointer here linpac-0.28/src/applications/telnet/ipcontrol.cc:326:24: note: Parameter 'ev' can be declared as pointer to const linpac-0.28/src/applications/testapp.c:59:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/testapp.c:112:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/testapp.c:25:26: style: Variable 'state' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/testapp.c:31:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/testapp.c:40:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/testapp.c:48:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/tnpwd.cc:34:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/tnpwd.cc:98:53: warning: Either the condition 'p==NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] linpac-0.28/src/applications/tnpwd.cc:96:12: note: Assuming that condition 'p==NULL' is not redundant linpac-0.28/src/applications/tnpwd.cc:98:53: note: Null pointer dereference linpac-0.28/src/applications/tnpwd.cc:98:53: error: Null pointer dereference [nullPointer] linpac-0.28/src/applications/tnpwd.cc:53:36: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/tnpwd.cc:58:35: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/tnpwd.cc:113:19: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/tnpwd.cc:40:34: style: Parameter 'passwd' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/tnpwd.cc:40:47: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/yapp.cc:105:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/yapp.cc:156:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/yapp.cc:304:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/yapp.cc:479:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] linpac-0.28/src/applications/yapp.cc:250:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] linpac-0.28/src/applications/yapp.cc:619:31: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] linpac-0.28/src/applications/yapp.cc:469:10: style: Condition '!eot' is always true [knownConditionTrueFalse] linpac-0.28/src/applications/yapp.cc:463:9: note: Assignment 'eot=0', assigned value is 0 linpac-0.28/src/applications/yapp.cc:469:10: note: Condition '!eot' is always true linpac-0.28/src/applications/yapp.cc:81:55: style: C-style pointer casting [cstyleCast] linpac-0.28/src/applications/yapp.cc:217:7: style: The scope of the variable 'buflen' can be reduced. [variableScope] linpac-0.28/src/applications/yapp.cc:220:7: style: The scope of the variable 'timeout' can be reduced. [variableScope] linpac-0.28/src/applications/yapp.cc:220:16: style: The scope of the variable 'eofrm' can be reduced. [variableScope] linpac-0.28/src/applications/yapp.cc:444:7: style: The scope of the variable 'buflen' can be reduced. [variableScope] linpac-0.28/src/applications/yapp.cc:446:7: style: The scope of the variable 'timeout' can be reduced. [variableScope] linpac-0.28/src/applications/yapp.cc:446:16: style: The scope of the variable 'eofrm' can be reduced. [variableScope] linpac-0.28/src/applications/yapp.cc:560:35: style: Local variable 'p' shadows outer variable [shadowVariable] linpac-0.28/src/applications/yapp.cc:443:32: note: Shadowed declaration linpac-0.28/src/applications/yapp.cc:560:35: note: Shadow variable linpac-0.28/src/applications/yapp.cc:76:24: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'my_handler' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] linpac-0.28/src/applications/yapp.cc:461:24: note: You might need to cast the function pointer here linpac-0.28/src/applications/yapp.cc:76:24: note: Parameter 'ev' can be declared as pointer to const linpac-0.28/src/applications/yapp.cc:140:20: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/yapp.cc:152:20: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/applications/yapp.cc:229:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/applications/yapp.cc:443:32: style: Variable 'p' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/calls.cc:83:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_ax25 [valueFlowBailoutIncompleteVar] linpac-0.28/src/calls.cc:27:7: style: The scope of the variable 'c' can be reduced. [variableScope] linpac-0.28/src/calls.cc:24:48: style:inconclusive: Function 'norm_call' argument 2 names different: declaration 'addr' definition 'a'. [funcArgNamesDifferent] linpac-0.28/src/calls.h:20:48: note: Function 'norm_call' argument 2 names different: declaration 'addr' definition 'a'. linpac-0.28/src/calls.cc:24:48: note: Function 'norm_call' argument 2 names different: declaration 'addr' definition 'a'. linpac-0.28/src/calls.cc:73:24: style: Parameter 'call' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/commands.cc:166:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] linpac-0.28/src/commands.cc:1618:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] linpac-0.28/src/commands.cc:42:25: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] linpac-0.28/src/commands.cc:1212:8: warning: Member variable 'Macro::s' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/commands.cc:1212:8: warning: Member variable 'Object::oid' is not initialized in the constructor. Maybe it should be initialized directly in the class Object? [uninitDerivedMemberVar] linpac-0.28/src/commands.cc:135:12: warning: Member variable 'Commander::pos' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/commands.cc:135:12: warning: Member variable 'Commander::result' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/commands.cc:135:12: warning: Member variable 'Commander::lang_name' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/commands.cc:135:12: warning: Member variable 'Commander::remote' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/commands.cc:135:12: warning: Member variable 'Commander::secure' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/commands.cc:135:12: warning: Member variable 'Commander::send_res' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/commands.cc:135:12: warning: Member variable 'Commander::ext' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/commands.cc:135:12: warning: Member variable 'Commander::mcm' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/commands.cc:135:12: warning: Member variable 'Commander::res_hnd' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/commands.cc:135:12: warning: Member variable 'Object::oid' is not initialized in the constructor. Maybe it should be initialized directly in the class Object? [uninitDerivedMemberVar] linpac-0.28/src/t_queue.h:34:3: warning: Member variable 'Queue < Event >::error_val' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/t_stack.h:29:3: warning: Member variable 'Stack < int >::error_val' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/data.h:208:10: style:inconclusive: Technically the member function 'Arguments::length' can be const. [functionConst] linpac-0.28/src/data.h:209:10: style:inconclusive: Technically the member function 'Arguments::argc' can be const. [functionConst] linpac-0.28/src/evqueue.h:40:9: style:inconclusive: Technically the member function 'EventQueue::max_length' can be const. [functionConst] linpac-0.28/src/sources.h:173:9: style:inconclusive: Technically the member function 'EventGate::get_sock' can be const. [functionConst] linpac-0.28/src/sources.h:175:9: style:inconclusive: Technically the member function 'EventGate::get_pid' can be const. [functionConst] linpac-0.28/src/commands.h:57:9: performance:inconclusive: Technically the member function 'Macro::compare' can be static (but you may consider moving to unnamed namespace). [functionStatic] linpac-0.28/src/commands.cc:1630:12: note: Technically the member function 'Macro::compare' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/commands.h:57:9: note: Technically the member function 'Macro::compare' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/commands.h:92:10: performance:inconclusive: Technically the member function 'Commander::com_is' can be static (but you may consider moving to unnamed namespace). [functionStatic] linpac-0.28/src/commands.cc:329:17: note: Technically the member function 'Commander::com_is' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/commands.h:92:10: note: Technically the member function 'Commander::com_is' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/commands.h:98:10: performance:inconclusive: Technically the member function 'Commander::command_channel' can be static (but you may consider moving to unnamed namespace). [functionStatic] linpac-0.28/src/commands.cc:1102:17: note: Technically the member function 'Commander::command_channel' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/commands.h:98:10: note: Technically the member function 'Commander::command_channel' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/commands.h:107:10: performance:inconclusive: Technically the member function 'Commander::version' can be static (but you may consider moving to unnamed namespace). [functionStatic] linpac-0.28/src/commands.cc:1195:17: note: Technically the member function 'Commander::version' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/commands.h:107:10: note: Technically the member function 'Commander::version' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/t_queue.h:60:8: style:inconclusive: Technically the member function 'Queue < Event >::isEmpty' can be const. [functionConst] linpac-0.28/src/t_queue.h:63:8: style:inconclusive: Technically the member function 'Queue < Event >::size' can be const. [functionConst] linpac-0.28/src/t_stack.h:40:8: style:inconclusive: Technically the member function 'Stack < int >::isEmpty' can be const. [functionConst] linpac-0.28/src/t_stack.h:45:5: style:inconclusive: Technically the member function 'Stack < int >::top' can be const. [functionConst] linpac-0.28/src/data.h:143:5: style: Class 'RCommand' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] linpac-0.28/src/sources.h:73:5: style: Class 'Ax25io' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] linpac-0.28/src/sources.h:168:5: style: Class 'EventGate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] linpac-0.28/src/t_queue.h:34:3: style: Class 'Queue < Event >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] linpac-0.28/src/data.h:238:10: style: The function 'handle_event' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:32:18: note: Virtual function in base class linpac-0.28/src/data.h:238:10: note: Function in derived class linpac-0.28/src/data.h:240:14: style: The destructor '~Cooker' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/data.h:240:14: note: Destructor in derived class linpac-0.28/src/sources.h:74:14: style: The destructor '~Ax25io' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/sources.h:74:14: note: Destructor in derived class linpac-0.28/src/sources.h:75:18: style: The function 'handle_event' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:32:18: note: Virtual function in base class linpac-0.28/src/sources.h:75:18: note: Function in derived class linpac-0.28/src/sources.h:103:14: style: The destructor '~ExternCmd' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/sources.h:103:14: note: Destructor in derived class linpac-0.28/src/sources.h:104:18: style: The function 'handle_event' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:32:18: note: Virtual function in base class linpac-0.28/src/sources.h:104:18: note: Function in derived class linpac-0.28/src/sources.h:169:14: style: The destructor '~EventGate' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/sources.h:169:14: note: Destructor in derived class linpac-0.28/src/sources.h:170:18: style: The function 'handle_event' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:32:18: note: Virtual function in base class linpac-0.28/src/sources.h:170:18: note: Function in derived class linpac-0.28/src/commands.h:53:18: style: The function 'handle_event' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:32:18: note: Virtual function in base class linpac-0.28/src/commands.h:53:18: note: Function in derived class linpac-0.28/src/commands.h:60:14: style: The destructor '~Macro' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/commands.h:60:14: note: Destructor in derived class linpac-0.28/src/commands.h:85:14: style: The destructor '~Commander' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/commands.h:85:14: note: Destructor in derived class linpac-0.28/src/commands.h:86:18: style: The function 'handle_event' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:32:18: note: Virtual function in base class linpac-0.28/src/commands.h:86:18: note: Function in derived class linpac-0.28/src/watch.h:51:14: style: The destructor '~Watch' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/watch.h:51:14: note: Destructor in derived class linpac-0.28/src/watch.h:52:18: style: The function 'handle_event' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:32:18: note: Virtual function in base class linpac-0.28/src/watch.h:52:18: note: Function in derived class linpac-0.28/src/commands.cc:1638:12: style: Condition 'i1>i2' is always true [knownConditionTrueFalse] linpac-0.28/src/commands.cc:1636:12: note: Assuming that condition 'i1==i2' is not redundant linpac-0.28/src/commands.cc:1637:12: note: Assuming condition is false linpac-0.28/src/commands.cc:1638:12: note: Condition 'i1>i2' is always true linpac-0.28/src/commands.cc:161:17: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] linpac-0.28/src/commands.cc:182:17: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] linpac-0.28/src/commands.cc:211:17: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] linpac-0.28/src/commands.cc:229:16: style: C-style pointer casting [cstyleCast] linpac-0.28/src/commands.cc:247:16: style: C-style pointer casting [cstyleCast] linpac-0.28/src/commands.cc:261:10: style: C-style pointer casting [cstyleCast] linpac-0.28/src/commands.cc:269:26: style: C-style pointer casting [cstyleCast] linpac-0.28/src/commands.cc:278:10: style: C-style pointer casting [cstyleCast] linpac-0.28/src/commands.cc:286:26: style: C-style pointer casting [cstyleCast] linpac-0.28/src/commands.cc:294:24: style: C-style pointer casting [cstyleCast] linpac-0.28/src/commands.cc:304:24: style: C-style pointer casting [cstyleCast] linpac-0.28/src/commands.cc:312:46: style: C-style pointer casting [cstyleCast] linpac-0.28/src/commands.cc:318:18: style: C-style pointer casting [cstyleCast] linpac-0.28/src/commands.cc:1358:39: style: C-style pointer casting [cstyleCast] linpac-0.28/src/commands.cc:1359:23: style: C-style pointer casting [cstyleCast] linpac-0.28/src/commands.cc:478:43: style: The scope of the variable 'adr' can be reduced. [variableScope] linpac-0.28/src/commands.cc:730:38: style: The scope of the variable 'len' can be reduced. [variableScope] linpac-0.28/src/commands.cc:779:40: style: The scope of the variable 's' can be reduced. [variableScope] linpac-0.28/src/commands.cc:779:47: style: The scope of the variable 't' can be reduced. [variableScope] linpac-0.28/src/commands.cc:855:37: style: The scope of the variable 'p1' can be reduced. [variableScope] linpac-0.28/src/commands.cc:872:37: style: The scope of the variable 'p1' can be reduced. [variableScope] linpac-0.28/src/commands.cc:1277:9: style: The scope of the variable 'p' can be reduced. [variableScope] linpac-0.28/src/t_queue.h:78:15: style: The scope of the variable 'tmp' can be reduced. [variableScope] linpac-0.28/src/t_stack.h:57:15: style: The scope of the variable 'tmp' can be reduced. [variableScope] linpac-0.28/src/t_stack.h:86:15: style: The scope of the variable 'tmp' can be reduced. [variableScope] linpac-0.28/src/commands.cc:424:43: style:inconclusive: Function 'do_command' argument 2 names different: declaration 'cmd' definition 'cmds'. [funcArgNamesDifferent] linpac-0.28/src/commands.h:95:36: note: Function 'do_command' argument 2 names different: declaration 'cmd' definition 'cmds'. linpac-0.28/src/commands.cc:424:43: note: Function 'do_command' argument 2 names different: declaration 'cmd' definition 'cmds'. linpac-0.28/src/commands.cc:1212:42: style:inconclusive: Function 'Macro' argument 3 names different: declaration 'argc' definition 'm_argc'. [funcArgNamesDifferent] linpac-0.28/src/commands.h:51:39: note: Function 'Macro' argument 3 names different: declaration 'argc' definition 'm_argc'. linpac-0.28/src/commands.cc:1212:42: note: Function 'Macro' argument 3 names different: declaration 'argc' definition 'm_argc'. linpac-0.28/src/commands.cc:1212:57: style:inconclusive: Function 'Macro' argument 4 names different: declaration 'argv' definition 'm_argv'. [funcArgNamesDifferent] linpac-0.28/src/commands.h:51:52: note: Function 'Macro' argument 4 names different: declaration 'argv' definition 'm_argv'. linpac-0.28/src/commands.cc:1212:57: note: Function 'Macro' argument 4 names different: declaration 'argv' definition 'm_argv'. linpac-0.28/src/commands.cc:1398:33: style:inconclusive: Function 'macro_command' argument 1 names different: declaration 'cmd' definition 's'. [funcArgNamesDifferent] linpac-0.28/src/commands.h:55:30: note: Function 'macro_command' argument 1 names different: declaration 'cmd' definition 's'. linpac-0.28/src/commands.cc:1398:33: note: Function 'macro_command' argument 1 names different: declaration 'cmd' definition 's'. linpac-0.28/src/commands.cc:411:13: style: Local variable 'q' shadows outer variable [shadowVariable] linpac-0.28/src/commands.cc:402:11: note: Shadowed declaration linpac-0.28/src/commands.cc:411:13: note: Shadow variable linpac-0.28/src/commands.cc:1241:12: style: Local variable 's' shadows outer variable [shadowVariable] linpac-0.28/src/commands.h:42:10: note: Shadowed declaration linpac-0.28/src/commands.cc:1241:12: note: Shadow variable linpac-0.28/src/commands.cc:1261:10: style: Local variable 's' shadows outer variable [shadowVariable] linpac-0.28/src/commands.h:42:10: note: Shadowed declaration linpac-0.28/src/commands.cc:1261:10: note: Shadow variable linpac-0.28/src/commands.cc:1298:14: style: Local variable 'pos' shadows outer variable [shadowVariable] linpac-0.28/src/commands.h:39:9: note: Shadowed declaration linpac-0.28/src/commands.cc:1298:14: note: Shadow variable linpac-0.28/src/commands.cc:1497:8: style: Local variable 's' shadows outer variable [shadowVariable] linpac-0.28/src/commands.h:42:10: note: Shadowed declaration linpac-0.28/src/commands.cc:1497:8: note: Shadow variable linpac-0.28/src/commands.cc:1646:12: style: Local variable 'pos' shadows outer variable [shadowVariable] linpac-0.28/src/commands.h:39:9: note: Shadowed declaration linpac-0.28/src/commands.cc:1646:12: note: Shadow variable linpac-0.28/src/t_queue.h:66:24: performance: Function parameter 'v' should be passed by const reference. [passedByValue] linpac-0.28/src/t_queue.h:88:31: style: Parameter 'v' can be declared as reference to const [constParameterReference] linpac-0.28/src/t_queue.h:105:30: style: Parameter 'v' can be declared as reference to const [constParameterReference] linpac-0.28/src/commands.cc:28:23: style: Parameter 'cmdline' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/commands.cc:329:30: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/commands.cc:424:43: style: Parameter 'cmds' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/commands.cc:513:35: style: Variable 'p' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/commands.cc:522:35: style: Variable 'p' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/commands.cc:567:42: style: Variable 'lang' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/commands.cc:844:44: style: Variable 'p' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/commands.cc:882:42: style: Variable 'p' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/commands.cc:902:40: style: Variable 'p' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/commands.cc:1053:41: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/commands.cc:1067:41: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/commands.cc:1067:66: style: Parameter 'lang' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/commands.cc:1102:39: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/commands.cc:1171:12: style: Variable 'def' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/commands.cc:1212:31: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/commands.cc:1384:29: style: Parameter 'label' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/commands.cc:236:45: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] linpac-0.28/src/commands.cc:254:9: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] linpac-0.28/src/commands.cc:978:7: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] linpac-0.28/src/commands.cc:1001:48: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] linpac-0.28/src/commands.cc:1012:48: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] linpac-0.28/src/commands.cc:117:12: style: Variable 'bslash' is assigned a value that is never used. [unreadVariable] linpac-0.28/src/commands.cc:235:45: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/commands.cc:252:45: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/commands.cc:355:68: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/commands.cc:935:42: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/commands.cc:976:44: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/commands.cc:1000:48: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/commands.cc:1011:46: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/commands.cc:1025:44: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/commands.cc:1264:16: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/commands.cc:1388:42: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/commands.cc:1499:42: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/commands.cc:1620:50: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/commands.cc:1667:42: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/comp.cc:302:33: style:inconclusive: Function 'decstathuf' argument 2 names different: declaration 'desc' definition 'dest'. [funcArgNamesDifferent] linpac-0.28/src/comp.h:37:33: note: Function 'decstathuf' argument 2 names different: declaration 'desc' definition 'dest'. linpac-0.28/src/comp.cc:302:33: note: Function 'decstathuf' argument 2 names different: declaration 'desc' definition 'dest'. linpac-0.28/src/data.cc:155:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pname [valueFlowBailoutIncompleteVar] linpac-0.28/src/data.cc:164:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pname [valueFlowBailoutIncompleteVar] linpac-0.28/src/data.cc:177:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pname [valueFlowBailoutIncompleteVar] linpac-0.28/src/data.cc:423:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCAX25GETINFO [valueFlowBailoutIncompleteVar] linpac-0.28/src/data.cc:43:7: warning: Member variable 'Hash::chn' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/data.cc:545:9: warning: Member variable 'Cooker::expr' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/data.cc:545:9: warning: Member variable 'Cooker::lastline' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/data.cc:545:9: warning: Member variable 'Object::oid' is not initialized in the constructor. Maybe it should be initialized directly in the class Object? [uninitDerivedMemberVar] linpac-0.28/src/data.cc:640:21: warning: %li in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] linpac-0.28/src/data.cc:368:17: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] linpac-0.28/src/data.cc:387:17: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] linpac-0.28/src/data.cc:110:35: style: C-style pointer casting [cstyleCast] linpac-0.28/src/data.cc:745:28: style: C-style pointer casting [cstyleCast] linpac-0.28/src/data.cc:751:27: style: C-style pointer casting [cstyleCast] linpac-0.28/src/data.cc:784:71: style: C-style pointer casting [cstyleCast] linpac-0.28/src/data.cc:348:8: style: The scope of the variable 'dama' can be reduced. [variableScope] linpac-0.28/src/data.cc:350:8: style: The scope of the variable 'source_addr' can be reduced. [variableScope] linpac-0.28/src/data.cc:351:8: style: The scope of the variable 'dummy' can be reduced. [variableScope] linpac-0.28/src/data.cc:681:36: style: The scope of the variable 'ex2' can be reduced. [variableScope] linpac-0.28/src/data.cc:172:35: style:inconclusive: Function 'set_var' argument 2 names different: declaration 'pname' definition 'name'. [funcArgNamesDifferent] linpac-0.28/src/data.h:107:35: note: Function 'set_var' argument 2 names different: declaration 'pname' definition 'name'. linpac-0.28/src/data.cc:172:35: note: Function 'set_var' argument 2 names different: declaration 'pname' definition 'name'. linpac-0.28/src/data.cc:172:53: style:inconclusive: Function 'set_var' argument 3 names different: declaration 'contents' definition 'content'. [funcArgNamesDifferent] linpac-0.28/src/data.h:107:54: note: Function 'set_var' argument 3 names different: declaration 'contents' definition 'content'. linpac-0.28/src/data.cc:172:53: note: Function 'set_var' argument 3 names different: declaration 'contents' definition 'content'. linpac-0.28/src/data.cc:95:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/data.cc:102:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/data.cc:304:26: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/data.cc:315:39: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/data.cc:523:46: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/data.cc:556:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/data.cc:781:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] linpac-0.28/src/data.cc:579:28: error: Undefined behavior: Variable 't' is used as parameter and destination in sprintf(). [sprintfOverlappingData] linpac-0.28/src/data.cc:780:48: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/data.cc:812:46: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/editor.h:33:9: style:inconclusive: Technically the member function 'Edline::lastpos' can be const. [functionConst] linpac-0.28/src/editor.cc:50:13: note: Technically the member function 'Edline::lastpos' can be const. linpac-0.28/src/editor.h:33:9: note: Technically the member function 'Edline::lastpos' can be const. linpac-0.28/src/editor.h:80:10: style:inconclusive: Technically the member function 'Editor::convert_charset' can be const. [functionConst] linpac-0.28/src/editor.cc:409:14: note: Technically the member function 'Editor::convert_charset' can be const. linpac-0.28/src/editor.h:80:10: note: Technically the member function 'Editor::convert_charset' can be const. linpac-0.28/src/editor.cc:34:3: warning: Class 'Edline' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] linpac-0.28/src/editor.cc:100:3: warning: Class 'Editor' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] linpac-0.28/src/editor.cc:100:3: warning: Class 'Editor' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] linpac-0.28/src/screen.h:48:14: style: The destructor '~Screen' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/screen.h:48:14: note: Destructor in derived class linpac-0.28/src/screen.h:54:18: style: The function 'handle_event' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:32:18: note: Virtual function in base class linpac-0.28/src/screen.h:54:18: note: Function in derived class linpac-0.28/src/editor.h:62:10: style: The function 'handle_event' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:32:18: note: Virtual function in base class linpac-0.28/src/editor.h:62:10: note: Function in derived class linpac-0.28/src/editor.h:63:10: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/screen.h:33:18: note: Virtual function in base class linpac-0.28/src/editor.h:63:10: note: Function in derived class linpac-0.28/src/editor.h:81:14: style: The destructor '~Editor' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/editor.h:81:14: note: Destructor in derived class linpac-0.28/src/editor.cc:185:24: style: C-style pointer casting [cstyleCast] linpac-0.28/src/editor.cc:191:48: style: C-style pointer casting [cstyleCast] linpac-0.28/src/editor.cc:379:8: style: The scope of the variable 'next_line' can be reduced. [variableScope] linpac-0.28/src/editor.cc:68:27: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/editor.cc:185:15: style: Variable 'buffer' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/t_stack.h:29:3: warning: Member variable 'Stack < char >::error_val' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/t_stack.h:40:8: style:inconclusive: Technically the member function 'Stack < char >::isEmpty' can be const. [functionConst] linpac-0.28/src/t_stack.h:45:5: style:inconclusive: Technically the member function 'Stack < char >::top' can be const. [functionConst] linpac-0.28/src/evaluate.cc:46:8: style: The scope of the variable 'unar' can be reduced. [variableScope] linpac-0.28/src/evaluate.cc:47:8: style: The scope of the variable 'end' can be reduced. [variableScope] linpac-0.28/src/evaluate.cc:116:8: style: The scope of the variable 'opr' can be reduced. [variableScope] linpac-0.28/src/evaluate.cc:91:24: style: Local variable 'o' shadows outer variable [shadowVariable] linpac-0.28/src/evaluate.cc:79:22: note: Shadowed declaration linpac-0.28/src/evaluate.cc:91:24: note: Shadow variable linpac-0.28/src/evaluate.cc:107:9: style: Variable 'start' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/event.cc:312:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] linpac-0.28/src/event.cc:94:10: warning: Member variable 'Obj_man::quit' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/event.cc:319:5: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] linpac-0.28/src/event.cc:233:34: error: Null pointer dereference: p [nullPointer] linpac-0.28/src/event.cc:233:27: note: Assignment 'p=NULL', assigned value is 0 linpac-0.28/src/event.cc:233:34: note: Null pointer dereference linpac-0.28/src/event.cc:271:40: style: C-style pointer casting [cstyleCast] linpac-0.28/src/event.cc:272:40: style: C-style pointer casting [cstyleCast] linpac-0.28/src/event.cc:273:45: style: C-style pointer casting [cstyleCast] linpac-0.28/src/event.cc:274:42: style: C-style pointer casting [cstyleCast] linpac-0.28/src/event.cc:367:29: style: C-style pointer casting [cstyleCast] linpac-0.28/src/event.cc:368:12: style: C-style pointer casting [cstyleCast] linpac-0.28/src/event.cc:410:33: style: C-style pointer casting [cstyleCast] linpac-0.28/src/event.cc:411:16: style: C-style pointer casting [cstyleCast] linpac-0.28/src/event.cc:447:16: style: C-style pointer casting [cstyleCast] linpac-0.28/src/event.cc:462:35: style: C-style pointer casting [cstyleCast] linpac-0.28/src/event.cc:463:14: style: C-style pointer casting [cstyleCast] linpac-0.28/src/event.cc:123:30: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/event.cc:324:32: style: Parameter 'obj_name' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/event.cc:337:30: style: Parameter 'obj_name' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/event.cc:111:35: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] linpac-0.28/src/event.cc:127:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] linpac-0.28/src/event.cc:135:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] linpac-0.28/src/event.cc:147:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] linpac-0.28/src/event.cc:156:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] linpac-0.28/src/event.cc:329:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] linpac-0.28/src/event.cc:110:52: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/event.cc:127:50: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/event.cc:135:46: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/event.cc:146:50: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/event.cc:155:46: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/event.cc:298:50: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/event.cc:317:50: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/event.cc:328:47: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/event.cc:344:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/event.cc:345:26: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/evqueue.cc:24:3: performance: Variable 'last' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] linpac-0.28/src/evqueue.h:41:12: style:inconclusive: Technically the member function 'EventQueue::last_pop' can be const. [functionConst] linpac-0.28/src/evqueue.cc:94:20: note: Technically the member function 'EventQueue::last_pop' can be const. linpac-0.28/src/evqueue.h:41:12: note: Technically the member function 'EventQueue::last_pop' can be const. linpac-0.28/src/evqueue.cc:40:31: style: C-style pointer casting [cstyleCast] linpac-0.28/src/evqueue.cc:41:14: style: C-style pointer casting [cstyleCast] linpac-0.28/src/evqueue.cc:66:31: style: C-style pointer casting [cstyleCast] linpac-0.28/src/evqueue.cc:67:14: style: C-style pointer casting [cstyleCast] linpac-0.28/src/infoline.h:23:5: warning: Member variable 'info_line::id' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/infoline.h:23:5: warning: Member variable 'info_line::content' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/keyboard.cc:51:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] linpac-0.28/src/keyboard.cc:30:10: warning: Member variable 'Object::oid' is not initialized in the constructor. Maybe it should be initialized directly in the class Object? [uninitDerivedMemberVar] linpac-0.28/src/keyboard.h:26:14: style: The destructor '~Keyscan' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/keyboard.h:26:14: note: Destructor in derived class linpac-0.28/src/keyboard.h:27:18: style: The function 'handle_event' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:32:18: note: Virtual function in base class linpac-0.28/src/keyboard.h:27:18: note: Function in derived class linpac-0.28/src/linpac.cc:67:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] linpac-0.28/src/linpac.cc:237:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _maxy [valueFlowBailoutIncompleteVar] linpac-0.28/src/linpac.cc:299:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] linpac-0.28/src/linpac.cc:348:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] linpac-0.28/src/linpac.cc:402:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] linpac-0.28/src/windows.h:77:10: style:inconclusive: Technically the member function 'LineStack::size' can be const. [functionConst] linpac-0.28/src/windows.h:82:10: style:inconclusive: Technically the member function 'LineStack::trunc' can be const. [functionConst] linpac-0.28/src/names.h:27:5: style: Class 'StnDB' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] linpac-0.28/src/names.h:28:14: style: The destructor '~StnDB' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/names.h:28:14: note: Destructor in derived class linpac-0.28/src/names.h:29:18: style: The function 'handle_event' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:32:18: note: Virtual function in base class linpac-0.28/src/names.h:29:18: note: Function in derived class linpac-0.28/src/windows.h:114:10: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/screen.h:33:18: note: Virtual function in base class linpac-0.28/src/windows.h:114:10: note: Function in derived class linpac-0.28/src/windows.h:129:14: style: The destructor '~Window' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/windows.h:129:14: note: Destructor in derived class linpac-0.28/src/windows.h:138:10: style: The function 'handle_event' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:32:18: note: Virtual function in base class linpac-0.28/src/windows.h:138:10: note: Function in derived class linpac-0.28/src/windows.h:139:14: style: The destructor '~QSOWindow' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/windows.h:129:14: note: Virtual destructor in base class linpac-0.28/src/windows.h:139:14: note: Destructor in derived class linpac-0.28/src/windows.h:161:10: style: The function 'handle_event' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:32:18: note: Virtual function in base class linpac-0.28/src/windows.h:161:10: note: Function in derived class linpac-0.28/src/windows.h:168:14: style: The destructor '~MonWindow' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/windows.h:129:14: note: Virtual destructor in base class linpac-0.28/src/windows.h:168:14: note: Destructor in derived class linpac-0.28/src/windows.h:186:10: style: The function 'handle_event' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:32:18: note: Virtual function in base class linpac-0.28/src/windows.h:186:10: note: Function in derived class linpac-0.28/src/windows.h:187:10: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/screen.h:33:18: note: Virtual function in base class linpac-0.28/src/windows.h:187:10: note: Function in derived class linpac-0.28/src/windows.h:206:10: style: The function 'handle_event' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:32:18: note: Virtual function in base class linpac-0.28/src/windows.h:206:10: note: Function in derived class linpac-0.28/src/windows.h:207:10: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/screen.h:33:18: note: Virtual function in base class linpac-0.28/src/windows.h:207:10: note: Function in derived class linpac-0.28/src/windows.h:224:14: style: The destructor '~StatLines' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/windows.h:224:14: note: Destructor in derived class linpac-0.28/src/windows.h:226:10: style: The function 'handle_event' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:32:18: note: Virtual function in base class linpac-0.28/src/windows.h:226:10: note: Function in derived class linpac-0.28/src/windows.h:227:10: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/screen.h:33:18: note: Virtual function in base class linpac-0.28/src/windows.h:227:10: note: Function in derived class linpac-0.28/src/status.h:33:14: style: The destructor '~StatusServer' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/status.h:33:14: note: Destructor in derived class linpac-0.28/src/status.h:34:18: style: The function 'handle_event' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:32:18: note: Virtual function in base class linpac-0.28/src/status.h:34:18: note: Function in derived class linpac-0.28/src/sounds.h:30:14: style: The destructor '~Sound' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/sounds.h:30:14: note: Destructor in derived class linpac-0.28/src/sounds.h:31:18: style: The function 'handle_event' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:32:18: note: Virtual function in base class linpac-0.28/src/sounds.h:31:18: note: Function in derived class linpac-0.28/src/windows.h:129:14: style: The destructor '~Window' overrides a destructor in a base class but is identical to the overridden function [uselessOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/windows.h:129:14: note: Destructor in derived class linpac-0.28/src/linpac.cc:273:9: warning: %x in format string (no. 3) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] linpac-0.28/src/linpac.cc:61:15: style: The scope of the variable 'childpid' can be reduced. [variableScope] linpac-0.28/src/linpac.cc:61:25: style: The scope of the variable 'fd' can be reduced. [variableScope] linpac-0.28/src/linpac.cc:108:14: style: The scope of the variable 'win' can be reduced. [variableScope] linpac-0.28/src/linpac.cc:109:11: style: The scope of the variable 'ed' can be reduced. [variableScope] linpac-0.28/src/linpac.cc:108:14: style: Local variable 'win' shadows outer variable [shadowVariable] linpac-0.28/src/linpac.cc:46:12: note: Shadowed declaration linpac-0.28/src/linpac.cc:108:14: note: Shadow variable linpac-0.28/src/linpac.cc:264:8: style: Local variable 'keyfile' shadows outer variable [shadowVariable] linpac-0.28/src/linpac.cc:52:6: note: Shadowed declaration linpac-0.28/src/linpac.cc:264:8: note: Shadow variable linpac-0.28/src/names.cc:31:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] linpac-0.28/src/names.cc:21:8: warning: Member variable 'Object::oid' is not initialized in the constructor. Maybe it should be initialized directly in the class Object? [uninitDerivedMemberVar] linpac-0.28/src/names.cc:29:5: warning: Class 'StnDB' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] linpac-0.28/src/names.cc:29:5: warning: Class 'StnDB' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] linpac-0.28/src/names.cc:55:31: style: Variable 'name' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/names.cc:55:38: style: Variable 'loc' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/names.cc:70:29: style: Parameter 'stn' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/screen.cc:59:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_NORMAL [valueFlowBailoutIncompleteVar] linpac-0.28/src/screen.cc:149:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_BLACK [valueFlowBailoutIncompleteVar] linpac-0.28/src/screen.cc:178:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_NORMAL [valueFlowBailoutIncompleteVar] linpac-0.28/src/screen.cc:47:9: warning: Member variable 'Object::oid' is not initialized in the constructor. Maybe it should be initialized directly in the class Object? [uninitDerivedMemberVar] linpac-0.28/src/screen.h:52:10: performance:inconclusive: Technically the member function 'Screen::stop' can be static (but you may consider moving to unnamed namespace). [functionStatic] linpac-0.28/src/screen.cc:133:14: note: Technically the member function 'Screen::stop' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/screen.h:52:10: note: Technically the member function 'Screen::stop' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/screen.cc:147:23: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/screen.cc:169:22: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/screen.cc:192:24: style: Parameter 'code' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/screen.cc:43:48: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/sounds.cc:33:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] linpac-0.28/src/sounds.cc:67:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KIOCSOUND [valueFlowBailoutIncompleteVar] linpac-0.28/src/sounds.cc:76:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KIOCSOUND [valueFlowBailoutIncompleteVar] linpac-0.28/src/sounds.cc:30:8: warning: Member variable 'Object::oid' is not initialized in the constructor. Maybe it should be initialized directly in the class Object? [uninitDerivedMemberVar] linpac-0.28/src/sounds.h:36:10: performance:inconclusive: Technically the member function 'Sound::wait' can be static (but you may consider moving to unnamed namespace). [functionStatic] linpac-0.28/src/sounds.cc:80:13: note: Technically the member function 'Sound::wait' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/sounds.h:36:10: note: Technically the member function 'Sound::wait' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/sources.cc:82:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] linpac-0.28/src/sources.cc:107:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] linpac-0.28/src/sources.cc:168:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] linpac-0.28/src/sources.cc:218:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCAX25GETINFO [valueFlowBailoutIncompleteVar] linpac-0.28/src/sources.cc:332:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] linpac-0.28/src/sources.cc:568:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIONBIO [valueFlowBailoutIncompleteVar] linpac-0.28/src/sources.cc:642:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] linpac-0.28/src/sources.cc:683:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] linpac-0.28/src/sources.cc:762:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] linpac-0.28/src/sources.cc:793:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] linpac-0.28/src/sources.cc:888:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] linpac-0.28/src/sources.cc:954:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] linpac-0.28/src/sources.cc:992:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] linpac-0.28/src/sources.cc:1114:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] linpac-0.28/src/sources.cc:1287:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] linpac-0.28/src/sources.cc:1460:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] linpac-0.28/src/sources.cc:1496:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd_set [valueFlowBailoutIncompleteVar] linpac-0.28/src/sources.cc:1008:11: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] linpac-0.28/src/sources.cc:1016:14: portability: Assigning a pointer to an integer is not portable. [AssignmentAddressToInteger] linpac-0.28/src/sources.cc:1267:9: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] linpac-0.28/src/sources.cc:1270:12: portability: Assigning a pointer to an integer is not portable. [AssignmentAddressToInteger] linpac-0.28/src/sources.cc:1497:58: portability: Assigning a pointer to an integer is not portable. [AssignmentAddressToInteger] linpac-0.28/src/sources.cc:1031:25: error: Deallocation of a global variable results in undefined behaviour. [autovarInvalidDeallocation] linpac-0.28/src/sources.cc:1724:11: error: Deallocation of a global variable results in undefined behaviour. [autovarInvalidDeallocation] linpac-0.28/src/sources.cc:169:60: warning: Either the condition 'len==-1' is redundant or bind() argument nr 3 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] linpac-0.28/src/sources.cc:167:19: note: Assuming that condition 'len==-1' is not redundant linpac-0.28/src/sources.cc:169:60: note: Invalid argument linpac-0.28/src/sources.cc:399:57: warning: Either the condition 'len==-1' is redundant or bind() argument nr 3 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] linpac-0.28/src/sources.cc:397:16: note: Assuming that condition 'len==-1' is not redundant linpac-0.28/src/sources.cc:399:57: note: Invalid argument linpac-0.28/src/sources.cc:767:41: warning: Either the condition 'len==-1' is redundant or bind() argument nr 3 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] linpac-0.28/src/sources.cc:765:11: note: Assuming that condition 'len==-1' is not redundant linpac-0.28/src/sources.cc:767:41: note: Invalid argument linpac-0.28/src/sources.cc:772:64: warning: Either the condition 'len==-1' is redundant or sendto() argument nr 6 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] linpac-0.28/src/sources.cc:770:11: note: Assuming that condition 'len==-1' is not redundant linpac-0.28/src/sources.cc:772:64: note: Invalid argument linpac-0.28/src/sources.cc:1295:14: warning: Either the condition 'newsock==-1' is redundant or FD_SET() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] linpac-0.28/src/sources.cc:1289:19: note: Assuming that condition 'newsock==-1' is not redundant linpac-0.28/src/sources.cc:1295:14: note: Invalid argument linpac-0.28/src/sources.cc:100:9: warning: Member variable 'Ax25io::descript' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/sources.cc:100:9: warning: Member variable 'Ax25io::s' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/sources.cc:100:9: warning: Member variable 'Ax25io::sline' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/sources.cc:100:9: warning: Member variable 'Ax25io::buffer' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/sources.cc:100:9: warning: Member variable 'Ax25io::obuffer' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/sources.cc:100:9: warning: Member variable 'Object::oid' is not initialized in the constructor. Maybe it should be initialized directly in the class Object? [uninitDerivedMemberVar] linpac-0.28/src/sources.cc:965:12: warning: Member variable 'EventGate::sock' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/sources.cc:965:12: warning: Member variable 'EventGate::data' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/sources.cc:965:12: warning: Member variable 'EventGate::write_error' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/sources.cc:965:12: warning: Member variable 'Object::oid' is not initialized in the constructor. Maybe it should be initialized directly in the class Object? [uninitDerivedMemberVar] linpac-0.28/src/sources.h:65:9: style: Unused private function: 'Ax25io::socket_state' [unusedPrivateFunction] linpac-0.28/src/sources.h:68:10: performance:inconclusive: Technically the member function 'Ax25io::ChangeStatus' can be static (but you may consider moving to unnamed namespace). [functionStatic] linpac-0.28/src/sources.cc:521:14: note: Technically the member function 'Ax25io::ChangeStatus' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/sources.h:68:10: note: Technically the member function 'Ax25io::ChangeStatus' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/sources.h:69:10: style:inconclusive: Technically the member function 'Ax25io::InputEnabled' can be const. [functionConst] linpac-0.28/src/sources.cc:534:14: note: Technically the member function 'Ax25io::InputEnabled' can be const. linpac-0.28/src/sources.h:69:10: note: Technically the member function 'Ax25io::InputEnabled' can be const. linpac-0.28/src/sources.h:70:10: style:inconclusive: Technically the member function 'Ax25io::WaitingApp' can be const. [functionConst] linpac-0.28/src/sources.cc:527:14: note: Technically the member function 'Ax25io::WaitingApp' can be const. linpac-0.28/src/sources.h:70:10: note: Technically the member function 'Ax25io::WaitingApp' can be const. linpac-0.28/src/sources.h:164:10: performance:inconclusive: Technically the member function 'EventGate::serialize' can be static (but you may consider moving to unnamed namespace). [functionStatic] linpac-0.28/src/sources.cc:1205:17: note: Technically the member function 'EventGate::serialize' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/sources.h:164:10: note: Technically the member function 'EventGate::serialize' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/sources.cc:112:3: warning: Class 'Ax25io' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] linpac-0.28/src/sources.cc:112:3: warning: Class 'Ax25io' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] linpac-0.28/src/sources.cc:989:6: warning: Class 'EventGate' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] linpac-0.28/src/sources.cc:989:6: warning: Class 'EventGate' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] linpac-0.28/src/sources.cc:202:17: warning: %i in format string (no. 3) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] linpac-0.28/src/sources.cc:202:17: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] linpac-0.28/src/sources.cc:169:35: style: C-style pointer casting [cstyleCast] linpac-0.28/src/sources.cc:267:11: style: C-style pointer casting [cstyleCast] linpac-0.28/src/sources.cc:271:39: style: C-style pointer casting [cstyleCast] linpac-0.28/src/sources.cc:272:23: style: C-style pointer casting [cstyleCast] linpac-0.28/src/sources.cc:359:19: style: C-style pointer casting [cstyleCast] linpac-0.28/src/sources.cc:360:28: style: C-style pointer casting [cstyleCast] linpac-0.28/src/sources.cc:361:49: style: C-style pointer casting [cstyleCast] linpac-0.28/src/sources.cc:399:32: style: C-style pointer casting [cstyleCast] linpac-0.28/src/sources.cc:403:35: style: C-style pointer casting [cstyleCast] linpac-0.28/src/sources.cc:570:49: style: C-style pointer casting [cstyleCast] linpac-0.28/src/sources.cc:767:16: style: C-style pointer casting [cstyleCast] linpac-0.28/src/sources.cc:772:39: style: C-style pointer casting [cstyleCast] linpac-0.28/src/sources.cc:1000:22: style: C-style pointer casting [cstyleCast] linpac-0.28/src/sources.cc:1116:17: style: C-style pointer casting [cstyleCast] linpac-0.28/src/sources.cc:1124:17: style: C-style pointer casting [cstyleCast] linpac-0.28/src/sources.cc:1213:53: style: C-style pointer casting [cstyleCast] linpac-0.28/src/sources.cc:1288:35: style: C-style pointer casting [cstyleCast] linpac-0.28/src/sources.cc:1467:20: style: C-style pointer casting [cstyleCast] linpac-0.28/src/sources.cc:1476:20: style: C-style pointer casting [cstyleCast] linpac-0.28/src/sources.cc:1644:29: style: C-style pointer casting [cstyleCast] linpac-0.28/src/sources.cc:149:7: style: The scope of the variable 'i' can be reduced. [variableScope] linpac-0.28/src/sources.cc:149:10: style: The scope of the variable 'j' can be reduced. [variableScope] linpac-0.28/src/sources.cc:149:13: style: The scope of the variable 'len' can be reduced. [variableScope] linpac-0.28/src/sources.cc:150:8: style: The scope of the variable 'path' can be reduced. [variableScope] linpac-0.28/src/sources.cc:224:14: style: The scope of the variable 'count' can be reduced. [variableScope] linpac-0.28/src/sources.cc:410:13: style: Local variable 's' shadows outer variable [shadowVariable] linpac-0.28/src/sources.h:46:10: note: Shadowed declaration linpac-0.28/src/sources.cc:410:13: note: Shadow variable linpac-0.28/src/sources.cc:465:12: style: Local variable 's' shadows outer variable [shadowVariable] linpac-0.28/src/sources.h:46:10: note: Shadowed declaration linpac-0.28/src/sources.cc:465:12: note: Shadow variable linpac-0.28/src/sources.cc:473:10: style: Local variable 's' shadows outer variable [shadowVariable] linpac-0.28/src/sources.h:46:10: note: Shadowed declaration linpac-0.28/src/sources.cc:473:10: note: Shadow variable linpac-0.28/src/sources.cc:580:24: style: Local variable 'ii' shadows outer variable [shadowVariable] linpac-0.28/src/sources.cc:568:17: note: Shadowed declaration linpac-0.28/src/sources.cc:580:24: note: Shadow variable linpac-0.28/src/sources.cc:756:7: style: Local variable 's' shadows outer variable [shadowVariable] linpac-0.28/src/sources.h:46:10: note: Shadowed declaration linpac-0.28/src/sources.cc:756:7: note: Shadow variable linpac-0.28/src/sources.cc:1180:17: style: Local variable 'data' shadows outer variable [shadowVariable] linpac-0.28/src/sources.h:127:10: note: Shadowed declaration linpac-0.28/src/sources.cc:1180:17: note: Shadow variable linpac-0.28/src/sources.cc:1422:13: style: Local variable 'ev' shadows outer argument [shadowArgument] linpac-0.28/src/sources.cc:1325:47: note: Shadowed declaration linpac-0.28/src/sources.cc:1422:13: note: Shadow variable linpac-0.28/src/sources.cc:454:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/sources.cc:754:56: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/sources.cc:780:77: style: Parameter 'flags' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/sources.cc:1116:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/sources.cc:1434:23: style: Variable 'name' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/sources.cc:1436:19: style: Variable 'value' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/sources.cc:1468:13: style: Variable 'value' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/sources.cc:1476:13: style: Variable 'name' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/sources.cc:1684:43: style: Parameter 'child' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/sources.cc:1340:10: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] linpac-0.28/src/sources.cc:1581:29: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] linpac-0.28/src/sources.cc:1707:7: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] linpac-0.28/src/sources.cc:837:12: style: Variable 'res' is assigned a value that is never used. [unreadVariable] linpac-0.28/src/sources.cc:1337:50: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/sources.cc:1357:54: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/sources.cc:1503:60: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/sources.cc:1557:48: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/sources.cc:1580:48: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/sources.cc:1697:10: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/sources.cc:1705:53: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/status.cc:21:15: warning: Member variable 'Object::oid' is not initialized in the constructor. Maybe it should be initialized directly in the class Object? [uninitDerivedMemberVar] linpac-0.28/src/status.h:37:9: performance:inconclusive: Technically the member function 'StatusServer::check_proc_format' can be static (but you may consider moving to unnamed namespace). [functionStatic] linpac-0.28/src/status.cc:56:19: note: Technically the member function 'StatusServer::check_proc_format' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/status.h:37:9: note: Technically the member function 'StatusServer::check_proc_format' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/tools.cc:40:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] linpac-0.28/src/tools.cc:87:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tzname [valueFlowBailoutIncompleteVar] linpac-0.28/src/tools.cc:265:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] linpac-0.28/src/tools.cc:63:18: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] linpac-0.28/src/tools.cc:64:18: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] linpac-0.28/src/tools.cc:77:18: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] linpac-0.28/src/tools.cc:78:18: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] linpac-0.28/src/tools.cc:248:17: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] linpac-0.28/src/tools.cc:110:38: style: C-style pointer casting [cstyleCast] linpac-0.28/src/tools.cc:210:18: style: C-style pointer casting [cstyleCast] linpac-0.28/src/tools.cc:212:19: style: C-style pointer casting [cstyleCast] linpac-0.28/src/tools.cc:61:14: style: Variable 'cas' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/tools.cc:75:14: style: Variable 'cas' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/tools.cc:116:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/tools.cc:199:43: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/watch.cc:27:8: warning: Member variable 'Watch::csent' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/watch.cc:27:8: warning: Member variable 'Object::oid' is not initialized in the constructor. Maybe it should be initialized directly in the class Object? [uninitDerivedMemberVar] linpac-0.28/src/watch.h:46:9: performance:inconclusive: Technically the member function 'Watch::com_is' can be static (but you may consider moving to unnamed namespace). [functionStatic] linpac-0.28/src/watch.cc:163:12: note: Technically the member function 'Watch::com_is' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/watch.h:46:9: note: Technically the member function 'Watch::com_is' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/watch.cc:82:38: style: C-style pointer casting [cstyleCast] linpac-0.28/src/watch.cc:89:52: style: C-style pointer casting [cstyleCast] linpac-0.28/src/watch.cc:91:23: style: C-style pointer casting [cstyleCast] linpac-0.28/src/watch.cc:182:11: style: Local variable 'buf' shadows outer variable [shadowVariable] linpac-0.28/src/watch.h:36:10: note: Shadowed declaration linpac-0.28/src/watch.cc:182:11: note: Shadow variable linpac-0.28/src/watch.cc:46:11: style: Variable 'data' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/watch.cc:135:38: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/watch.cc:163:25: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/watch.cc:59:48: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/windows.cc:58:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_PAIRS [valueFlowBailoutIncompleteVar] linpac-0.28/src/windows.cc:72:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable typ [valueFlowBailoutIncompleteVar] linpac-0.28/src/windows.cc:138:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] linpac-0.28/src/windows.cc:149:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] linpac-0.28/src/windows.cc:192:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ch [valueFlowBailoutIncompleteVar] linpac-0.28/src/windows.cc:230:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] linpac-0.28/src/windows.cc:268:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] linpac-0.28/src/windows.cc:296:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] linpac-0.28/src/windows.cc:376:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACS_DARROW [valueFlowBailoutIncompleteVar] linpac-0.28/src/windows.cc:434:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] linpac-0.28/src/windows.cc:498:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_BLACK [valueFlowBailoutIncompleteVar] linpac-0.28/src/windows.cc:586:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_WHITE [valueFlowBailoutIncompleteVar] linpac-0.28/src/windows.cc:776:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_WHITE [valueFlowBailoutIncompleteVar] linpac-0.28/src/windows.cc:990:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] linpac-0.28/src/windows.cc:1039:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] linpac-0.28/src/windows.cc:1155:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BLINK [valueFlowBailoutIncompleteVar] linpac-0.28/src/windows.cc:1252:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACS_VLINE [valueFlowBailoutIncompleteVar] linpac-0.28/src/windows.cc:1493:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] linpac-0.28/src/windows.cc:1302:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] linpac-0.28/src/windows.cc:153:21: warning: Either the condition 'f==-1' is redundant or lseek() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] linpac-0.28/src/windows.cc:150:8: note: Assuming that condition 'f==-1' is not redundant linpac-0.28/src/windows.cc:153:21: note: Invalid argument linpac-0.28/src/windows.cc:118:16: warning: Member variable 'TLine::void_ch' is not assigned a value in 'TLine::operator='. [operatorEqVarError] linpac-0.28/src/windows.cc:118:16: warning: Member variable 'TLine::length' is not assigned a value in 'TLine::operator='. [operatorEqVarError] linpac-0.28/src/windows.cc:574:12: warning: Member variable 'Window::colorset' is not initialized in the constructor. Maybe it should be initialized directly in the class Window? [uninitDerivedMemberVar] linpac-0.28/src/windows.cc:574:12: warning: Member variable 'Window::in_seq' is not initialized in the constructor. Maybe it should be initialized directly in the class Window? [uninitDerivedMemberVar] linpac-0.28/src/windows.cc:574:12: warning: Member variable 'Window::a_seq' is not initialized in the constructor. Maybe it should be initialized directly in the class Window? [uninitDerivedMemberVar] linpac-0.28/src/windows.cc:574:12: warning: Member variable 'Window::atr' is not initialized in the constructor. Maybe it should be initialized directly in the class Window? [uninitDerivedMemberVar] linpac-0.28/src/windows.cc:574:12: warning: Member variable 'Object::oid' is not initialized in the constructor. Maybe it should be initialized directly in the class Object? [uninitDerivedMemberVar] linpac-0.28/src/windows.cc:1123:14: warning: Member variable 'Object::oid' is not initialized in the constructor. Maybe it should be initialized directly in the class Object? [uninitDerivedMemberVar] linpac-0.28/src/windows.cc:1225:11: warning: Member variable 'InfoLine::last_time' is not initialized in the constructor. [uninitMemberVar] linpac-0.28/src/windows.cc:1225:11: warning: Member variable 'Object::oid' is not initialized in the constructor. Maybe it should be initialized directly in the class Object? [uninitDerivedMemberVar] linpac-0.28/src/windows.cc:1391:12: warning: Member variable 'Object::oid' is not initialized in the constructor. Maybe it should be initialized directly in the class Object? [uninitDerivedMemberVar] linpac-0.28/src/windows.h:163:9: performance:inconclusive: Technically the member function 'MonWindow::detect_format' can be static (but you may consider moving to unnamed namespace). [functionStatic] linpac-0.28/src/windows.cc:979:16: note: Technically the member function 'MonWindow::detect_format' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/windows.h:163:9: note: Technically the member function 'MonWindow::detect_format' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/windows.h:166:10: performance:inconclusive: Technically the member function 'MonWindow::binary' can be static (but you may consider moving to unnamed namespace). [functionStatic] linpac-0.28/src/windows.cc:1072:17: note: Technically the member function 'MonWindow::binary' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/windows.h:166:10: note: Technically the member function 'MonWindow::binary' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/windows.h:167:10: style:inconclusive: Technically the member function 'MonWindow::filter' can be const. [functionConst] linpac-0.28/src/windows.cc:1093:17: note: Technically the member function 'MonWindow::filter' can be const. linpac-0.28/src/windows.h:167:10: note: Technically the member function 'MonWindow::filter' can be const. linpac-0.28/src/windows.h:210:9: performance:inconclusive: Technically the member function 'InfoLine::check_proc_format' can be static (but you may consider moving to unnamed namespace). [functionStatic] linpac-0.28/src/windows.cc:1352:15: note: Technically the member function 'InfoLine::check_proc_format' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/windows.h:210:9: note: Technically the member function 'InfoLine::check_proc_format' can be static (but you may consider moving to unnamed namespace). linpac-0.28/src/windows.cc:104:3: warning: Class 'TLine' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] linpac-0.28/src/windows.cc:162:3: warning: Class 'LineStack' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] linpac-0.28/src/windows.cc:162:3: warning: Class 'LineStack' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] linpac-0.28/src/windows.cc:531:16: style: Condition 'a<0' is always false [knownConditionTrueFalse] linpac-0.28/src/windows.cc:524:11: note: Assuming that condition 'poz>(y2-y1)' is not redundant linpac-0.28/src/windows.cc:529:5: note: poz is decremented', new value is symbolic=y2-y1-1 linpac-0.28/src/windows.cc:530:16: note: Assignment 'a=poz-(y2-y1)', assigned value is greater than -1 linpac-0.28/src/windows.cc:531:16: note: Condition 'a<0' is always false linpac-0.28/src/windows.cc:306:7: error: Resource leak: newfile [resourceLeak] linpac-0.28/src/windows.cc:637:22: style: C-style pointer casting [cstyleCast] linpac-0.28/src/windows.cc:638:70: style: C-style pointer casting [cstyleCast] linpac-0.28/src/windows.cc:648:41: style: C-style pointer casting [cstyleCast] linpac-0.28/src/windows.cc:653:41: style: C-style pointer casting [cstyleCast] linpac-0.28/src/windows.cc:658:41: style: C-style pointer casting [cstyleCast] linpac-0.28/src/windows.cc:664:22: style: C-style pointer casting [cstyleCast] linpac-0.28/src/windows.cc:665:62: style: C-style pointer casting [cstyleCast] linpac-0.28/src/windows.cc:672:22: style: C-style pointer casting [cstyleCast] linpac-0.28/src/windows.cc:673:67: style: C-style pointer casting [cstyleCast] linpac-0.28/src/windows.cc:680:22: style: C-style pointer casting [cstyleCast] linpac-0.28/src/windows.cc:681:62: style: C-style pointer casting [cstyleCast] linpac-0.28/src/windows.cc:688:22: style: C-style pointer casting [cstyleCast] linpac-0.28/src/windows.cc:689:67: style: C-style pointer casting [cstyleCast] linpac-0.28/src/windows.cc:695:30: style: C-style pointer casting [cstyleCast] linpac-0.28/src/windows.cc:1000:23: style: C-style pointer casting [cstyleCast] linpac-0.28/src/windows.cc:1429:36: style: C-style pointer casting [cstyleCast] linpac-0.28/src/windows.cc:1445:35: style: C-style pointer casting [cstyleCast] linpac-0.28/src/windows.cc:68:9: style: The scope of the variable 'cp' can be reduced. [variableScope] linpac-0.28/src/windows.cc:220:8: style: The scope of the variable 'phsize' can be reduced. [variableScope] linpac-0.28/src/windows.cc:400:7: style: The scope of the variable 'cp' can be reduced. [variableScope] linpac-0.28/src/windows.cc:483:7: style: The scope of the variable 'cofs' can be reduced. [variableScope] linpac-0.28/src/windows.cc:484:8: style: The scope of the variable 'par' can be reduced. [variableScope] linpac-0.28/src/windows.cc:916:8: style: The scope of the variable 'src' can be reduced. [variableScope] linpac-0.28/src/windows.cc:430:21: style: Local variable 'atr' shadows outer variable [shadowVariable] linpac-0.28/src/windows.h:107:9: note: Shadowed declaration linpac-0.28/src/windows.cc:430:21: note: Shadow variable linpac-0.28/src/windows.cc:65:41: style: Parameter 'lin' can be declared as reference to const [constParameterReference] linpac-0.28/src/windows.cc:218:30: style: Parameter 'line' can be declared as reference to const [constParameterReference] linpac-0.28/src/windows.cc:574:73: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/windows.cc:1072:30: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/windows.cc:1093:30: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] linpac-0.28/src/windows.cc:1101:10: style: Variable 'conf' can be declared as pointer to const [constVariablePointer] linpac-0.28/src/windows.cc:1424:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] linpac-0.28/src/windows.cc:1454:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] linpac-0.28/src/windows.cc:1423:52: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/windows.cc:1453:53: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] linpac-0.28/src/applications/mailer/mail_edit.h:22:1: error: The one definition rule is violated, different classes/structs have the same name 'Edline' [ctuOneDefinitionRuleViolation] linpac-0.28/src/editor.h:24:1: note: The one definition rule is violated, different classes/structs have the same name 'Edline' linpac-0.28/src/applications/mailer/mail_edit.h:22:1: note: The one definition rule is violated, different classes/structs have the same name 'Edline' diff: head linpac-0.28/src/applications/autobin.cc:158:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/autobin.cc:324:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/autobin.cc:80:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/bell.cc:32:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KIOCSOUND [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/bell.cc:75:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/compose.cc:260:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/libaxmail/axmail.cc:748:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/libaxmail/axmail.cc:772:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/liblinpac/lpapp.c:114:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/liblinpac/lpapp.c:124:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/liblinpac/lpapp.c:135:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/liblinpac/lpapp.c:142:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/liblinpac/lpapp.c:241:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/liblinpac/lpapp.c:355:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/liblinpac/lpapp.c:447:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/liblinpac/lpapp.c:473:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/liblinpac/lpapp.c:790:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/logbook.cc:121:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/logbook.cc:63:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/mailer/mail_edit.cc:1008:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/mailer/mail_edit.cc:590:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/mailer/mail_edit.cc:793:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/mailer/mail_edit.cc:990:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/mailer/mail_filt.cc:118:1: error: Memory leak: none [memleak] head linpac-0.28/src/applications/mailer/mail_filt.cc:136:1: error: Memory leak: none [memleak] head linpac-0.28/src/applications/mailer/mail_filt.cc:188:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/mailer/mail_filt.cc:267:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/mailer/mail_filt.cc:378:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_DOWN [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/mailer/mail_help.cc:170:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_NPAGE [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/mailer/mail_help.cc:60:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/mailer/mail_list.cc:1115:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_DOWN [valueFlowBailoutIncompleteVar] 2.13.0 linpac-0.28/src/applications/mailer/mail_list.cc:450:28: style: Consider using std::any_of, std::all_of, std::none_of algorithm instead of a raw loop. [useStlAlgorithm] head linpac-0.28/src/applications/mailer/mail_list.cc:571:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/mailer/mail_list.cc:620:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/mailer/mail_list.cc:666:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_DOWN [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/mailer/mail_list.cc:960:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/mailer/mail_list.cc:983:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] 2.13.0 linpac-0.28/src/applications/mailer/mail_route.cc:128:41: style: Consider using std::any_of, std::all_of, std::none_of algorithm instead of a raw loop. [useStlAlgorithm] head linpac-0.28/src/applications/mailer/mail_screen.cc:70:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/mailmsg/bbs.cc:42:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DISC_LOC [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/mailmsg/bbs.cc:74:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.13.0 linpac-0.28/src/applications/mailmsg/bbs_fbb.cc:109:11: style: Condition 'abort_all' is always false [knownConditionTrueFalse] linpac-0.28/src/applications/mailmsg/bbs_fbb.cc:70:7: note: Assuming that condition 'abort_all' is not redundant linpac-0.28/src/applications/mailmsg/bbs_fbb.cc:109:11: note: Condition 'abort_all' is always false head linpac-0.28/src/applications/mailmsg/bbs_fbb.cc:125:13: style: Condition 'abort_all' is always false [knownConditionTrueFalse] linpac-0.28/src/applications/mailmsg/bbs_fbb.cc:109:11: note: Assuming that condition 'abort_all' is not redundant linpac-0.28/src/applications/mailmsg/bbs_fbb.cc:125:13: note: Condition 'abort_all' is always false 2.13.0 linpac-0.28/src/applications/mailmsg/bbs_fbb.cc:125:13: style: Condition 'abort_all' is always false [knownConditionTrueFalse] linpac-0.28/src/applications/mailmsg/bbs_fbb.cc:70:7: note: Assuming that condition 'abort_all' is not redundant linpac-0.28/src/applications/mailmsg/bbs_fbb.cc:125:13: note: Condition 'abort_all' is always false head linpac-0.28/src/applications/mailmsg/bbs_fbb.cc:173:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/mailmsg/bbs_fbb.cc:190:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LPAPP_VERSION [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/mailmsg/bbs_fbb.h:14:18: style: The destructor '~FBB' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailmsg/bbs.h:26:18: note: Virtual destructor in base class linpac-0.28/src/applications/mailmsg/bbs_fbb.h:14:18: note: Destructor in derived class head linpac-0.28/src/applications/mailmsg/bbs_pbbs.cc:140:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/mailmsg/bbs_pbbs.h:14:18: style: The destructor '~PBBS' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/applications/mailmsg/bbs.h:26:18: note: Virtual destructor in base class linpac-0.28/src/applications/mailmsg/bbs_pbbs.h:14:18: note: Destructor in derived class head linpac-0.28/src/applications/mailmsg/forward.cc:149:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/mailmsg/forward.cc:162:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DO_COMMAND [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/mailmsg/forward.cc:178:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DISC_LOC [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/mailmsg/forward.cc:278:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/mailmsg/forward.cc:331:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/mailmsg/forward.cc:440:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DISC_LOC [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/mailmsg/getmsg.cc:100:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_APP_MESSAGE [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/mailmsg/getmsg.cc:165:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_APP_MESSAGE [valueFlowBailoutIncompleteVar] 2.13.0 linpac-0.28/src/applications/name.cc:243:12: warning: Uninitialized variable: p [uninitvar] linpac-0.28/src/applications/name.cc:238:26: note: Assuming condition is false linpac-0.28/src/applications/name.cc:243:12: note: Uninitialized variable: p head linpac-0.28/src/applications/name.cc:327:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/save7pl.cc:130:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/save7pl.cc:79:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/telnet/ipcontrol.cc:131:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/telnet/ipcontrol.cc:139:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/telnet/ipcontrol.cc:157:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/telnet/ipcontrol.cc:178:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_DISC [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/telnet/ipcontrol.cc:189:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/telnet/ipcontrol.cc:210:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_DISC [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/telnet/ipcontrol.cc:242:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/telnet/ipcontrol.cc:375:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/testapp.c:112:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/tnpwd.cc:40:47: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] head linpac-0.28/src/applications/yapp.cc:156:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/yapp.cc:304:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] head linpac-0.28/src/applications/yapp.cc:479:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] head linpac-0.28/src/commands.cc:1053:41: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] head linpac-0.28/src/commands.cc:1618:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head linpac-0.28/src/commands.h:60:14: style: The destructor '~Macro' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/commands.h:60:14: note: Destructor in derived class head linpac-0.28/src/commands.h:85:14: style: The destructor '~Commander' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/commands.h:85:14: note: Destructor in derived class head linpac-0.28/src/data.cc:164:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pname [valueFlowBailoutIncompleteVar] head linpac-0.28/src/data.cc:177:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pname [valueFlowBailoutIncompleteVar] head linpac-0.28/src/data.cc:423:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCAX25GETINFO [valueFlowBailoutIncompleteVar] head linpac-0.28/src/data.h:240:14: style: The destructor '~Cooker' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/data.h:240:14: note: Destructor in derived class head linpac-0.28/src/editor.h:81:14: style: The destructor '~Editor' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/editor.h:81:14: note: Destructor in derived class head linpac-0.28/src/keyboard.h:26:14: style: The destructor '~Keyscan' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/keyboard.h:26:14: note: Destructor in derived class head linpac-0.28/src/linpac.cc:237:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _maxy [valueFlowBailoutIncompleteVar] head linpac-0.28/src/linpac.cc:299:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] head linpac-0.28/src/linpac.cc:348:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head linpac-0.28/src/linpac.cc:402:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] head linpac-0.28/src/names.cc:55:31: style: Variable 'name' can be declared as pointer to const [constVariablePointer] head linpac-0.28/src/names.cc:55:38: style: Variable 'loc' can be declared as pointer to const [constVariablePointer] head linpac-0.28/src/names.h:28:14: style: The destructor '~StnDB' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/names.h:28:14: note: Destructor in derived class head linpac-0.28/src/screen.cc:149:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_BLACK [valueFlowBailoutIncompleteVar] head linpac-0.28/src/screen.cc:178:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_NORMAL [valueFlowBailoutIncompleteVar] head linpac-0.28/src/screen.h:48:14: style: The destructor '~Screen' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/screen.h:48:14: note: Destructor in derived class head linpac-0.28/src/sounds.cc:67:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KIOCSOUND [valueFlowBailoutIncompleteVar] head linpac-0.28/src/sounds.cc:76:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KIOCSOUND [valueFlowBailoutIncompleteVar] head linpac-0.28/src/sounds.h:30:14: style: The destructor '~Sound' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/sounds.h:30:14: note: Destructor in derived class head linpac-0.28/src/sources.cc:107:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head linpac-0.28/src/sources.cc:1114:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head linpac-0.28/src/sources.cc:1287:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] head linpac-0.28/src/sources.cc:1460:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head linpac-0.28/src/sources.cc:1496:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd_set [valueFlowBailoutIncompleteVar] head linpac-0.28/src/sources.cc:1684:43: style: Parameter 'child' can be declared as pointer to const [constParameterPointer] head linpac-0.28/src/sources.cc:168:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head linpac-0.28/src/sources.cc:218:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCAX25GETINFO [valueFlowBailoutIncompleteVar] head linpac-0.28/src/sources.cc:332:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head linpac-0.28/src/sources.cc:568:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIONBIO [valueFlowBailoutIncompleteVar] head linpac-0.28/src/sources.cc:642:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head linpac-0.28/src/sources.cc:683:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head linpac-0.28/src/sources.cc:762:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head linpac-0.28/src/sources.cc:793:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] head linpac-0.28/src/sources.cc:888:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] head linpac-0.28/src/sources.cc:954:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head linpac-0.28/src/sources.cc:992:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head linpac-0.28/src/sources.h:103:14: style: The destructor '~ExternCmd' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/sources.h:103:14: note: Destructor in derived class head linpac-0.28/src/sources.h:169:14: style: The destructor '~EventGate' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/sources.h:169:14: note: Destructor in derived class head linpac-0.28/src/sources.h:74:14: style: The destructor '~Ax25io' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/sources.h:74:14: note: Destructor in derived class head linpac-0.28/src/status.h:33:14: style: The destructor '~StatusServer' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/status.h:33:14: note: Destructor in derived class head linpac-0.28/src/tools.cc:265:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head linpac-0.28/src/tools.cc:87:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tzname [valueFlowBailoutIncompleteVar] head linpac-0.28/src/watch.h:51:14: style: The destructor '~Watch' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/watch.h:51:14: note: Destructor in derived class head linpac-0.28/src/windows.cc:1039:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head linpac-0.28/src/windows.cc:1155:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BLINK [valueFlowBailoutIncompleteVar] head linpac-0.28/src/windows.cc:1252:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACS_VLINE [valueFlowBailoutIncompleteVar] head linpac-0.28/src/windows.cc:138:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] head linpac-0.28/src/windows.cc:1493:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] head linpac-0.28/src/windows.cc:149:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] head linpac-0.28/src/windows.cc:192:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ch [valueFlowBailoutIncompleteVar] head linpac-0.28/src/windows.cc:230:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head linpac-0.28/src/windows.cc:268:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head linpac-0.28/src/windows.cc:296:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] head linpac-0.28/src/windows.cc:376:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACS_DARROW [valueFlowBailoutIncompleteVar] head linpac-0.28/src/windows.cc:434:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] head linpac-0.28/src/windows.cc:498:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_BLACK [valueFlowBailoutIncompleteVar] head linpac-0.28/src/windows.cc:586:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_WHITE [valueFlowBailoutIncompleteVar] head linpac-0.28/src/windows.cc:72:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable typ [valueFlowBailoutIncompleteVar] head linpac-0.28/src/windows.cc:776:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_WHITE [valueFlowBailoutIncompleteVar] head linpac-0.28/src/windows.cc:990:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] head linpac-0.28/src/windows.h:129:14: style: The destructor '~Window' overrides a destructor in a base class but is identical to the overridden function [uselessOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/windows.h:129:14: note: Destructor in derived class head linpac-0.28/src/windows.h:129:14: style: The destructor '~Window' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/windows.h:129:14: note: Destructor in derived class head linpac-0.28/src/windows.h:139:14: style: The destructor '~QSOWindow' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/windows.h:129:14: note: Virtual destructor in base class linpac-0.28/src/windows.h:139:14: note: Destructor in derived class head linpac-0.28/src/windows.h:168:14: style: The destructor '~MonWindow' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/windows.h:129:14: note: Virtual destructor in base class linpac-0.28/src/windows.h:168:14: note: Destructor in derived class head linpac-0.28/src/windows.h:224:14: style: The destructor '~StatLines' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] linpac-0.28/src/event.h:33:14: note: Virtual destructor in base class linpac-0.28/src/windows.h:224:14: note: Destructor in derived class DONE