2024-04-13 21:48 ftp://ftp.de.debian.org/debian/pool/main/w/w3m/w3m_0.5.3+git20230121.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openssl --library=zlib --library=motif --library=gtk --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-18-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.56 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.13.0 head-info: 01c049d (2024-04-13 21:28:19 +0200) count: 667 549 elapsed-time: 9.9 16.9 head-timing-info: old-timing-info: head results: w3m-0.5.3+git20230121/Str.c:594:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/Str.c:605:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/Str.c:618:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/alloc.h:17:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/backend.c:127:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/backend.c:266:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/backend.c:321:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/Str.c:92:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] w3m-0.5.3+git20230121/Str.c:133:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] w3m-0.5.3+git20230121/Str.c:172:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] w3m-0.5.3+git20230121/Str.c:196:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] w3m-0.5.3+git20230121/Str.c:220:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] w3m-0.5.3+git20230121/Str.c:251:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] w3m-0.5.3+git20230121/Str.c:284:13: style:inconclusive: Function 'Strgrow' argument 1 names different: declaration 's' definition 'x'. [funcArgNamesDifferent] w3m-0.5.3+git20230121/Str.h:68:18: note: Function 'Strgrow' argument 1 names different: declaration 's' definition 'x'. w3m-0.5.3+git20230121/Str.c:284:13: note: Function 'Strgrow' argument 1 names different: declaration 's' definition 'x'. w3m-0.5.3+git20230121/Str.c:275:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/Str.c:526:9: style: Variable 'vs' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/Str.c:540:10: style: Variable 'vi' is assigned a value that is never used. [unreadVariable] w3m-0.5.3+git20230121/Str.c:553:10: style: Variable 'vi' is assigned a value that is never used. [unreadVariable] w3m-0.5.3+git20230121/backend.c:103:16: style: Redundant assignment of 'p->ptr->line' to itself. [selfAssignment] w3m-0.5.3+git20230121/backend.c:108:19: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/backend.c:232:16: style: Parameter 'argv' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/backend.c:243:16: style: Parameter 'argv' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/backend.c:255:22: style: Parameter 'argv' can be declared as pointer to const. However it seems that 'set_column' is a callback function, if 'argv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] w3m-0.5.3+git20230121/backend.c:60:16: note: You might need to cast the function pointer here w3m-0.5.3+git20230121/backend.c:255:22: note: Parameter 'argv' can be declared as pointer to const w3m-0.5.3+git20230121/backend.c:318:16: style: Parameter 'prompt' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/buffer.c:32:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] w3m-0.5.3+git20230121/buffer.c:617:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] w3m-0.5.3+git20230121/buffer.c:176:9: style: Condition 'delbuf' is always true [knownConditionTrueFalse] w3m-0.5.3+git20230121/buffer.c:123:34: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/buffer.c:621:35: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/entity.c:37:26: style:inconclusive: Function 'conv_entity' argument 1 names different: declaration 'ch' definition 'c'. [funcArgNamesDifferent] w3m-0.5.3+git20230121/indep.h:44:39: note: Function 'conv_entity' argument 1 names different: declaration 'ch' definition 'c'. w3m-0.5.3+git20230121/entity.c:37:26: note: Function 'conv_entity' argument 1 names different: declaration 'ch' definition 'c'. w3m-0.5.3+git20230121/display.c:1250:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/etc.c:1162:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable length [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/etc.c:1206:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXG [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/etc.c:1354:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/etc.c:1401:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/etc.c:1450:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/etc.c:1482:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/anchor.c:468:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] w3m-0.5.3+git20230121/anchor.c:777:11: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/anchor.c:799:11: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/anchor.c:823:11: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/anchor.c:853:27: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/anchor.c:525:33: style:inconclusive: Function 'shiftAnchorPosition' argument 1 names different: declaration 'a' definition 'al'. [funcArgNamesDifferent] w3m-0.5.3+git20230121/proto.h:610:45: note: Function 'shiftAnchorPosition' argument 1 names different: declaration 'a' definition 'al'. w3m-0.5.3+git20230121/anchor.c:525:33: note: Function 'shiftAnchorPosition' argument 1 names different: declaration 'a' definition 'al'. w3m-0.5.3+git20230121/anchor.c:103:18: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/anchor.c:170:36: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/anchor.c:213:36: style: Parameter 'p1' can be declared as pointer to const. However it seems that '_put_anchor_all' is a callback function, if 'p1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] w3m-0.5.3+git20230121/anchor.c:386:33: note: You might need to cast the function pointer here w3m-0.5.3+git20230121/anchor.c:213:36: note: Parameter 'p1' can be declared as pointer to const w3m-0.5.3+git20230121/anchor.c:213:46: style: Parameter 'p2' can be declared as pointer to const. However it seems that '_put_anchor_all' is a callback function, if 'p2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] w3m-0.5.3+git20230121/anchor.c:386:33: note: You might need to cast the function pointer here w3m-0.5.3+git20230121/anchor.c:213:46: note: Parameter 'p2' can be declared as pointer to const w3m-0.5.3+git20230121/anchor.c:225:38: style: Parameter 'seqmap' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/anchor.c:705:15: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/anchor.c:831:12: style: Variable 'ml' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/anchor.c:111:9: error: Uninitialized variable: (bp).line [legacyUninitvar] w3m-0.5.3+git20230121/display.c:246:36: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/display.c:1219:27: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/display.c:1245:72: style:inconclusive: Function 'disp_message_nsec' argument 5 names different: declaration 'mouse' definition 'nulcmd'. [funcArgNamesDifferent] w3m-0.5.3+git20230121/proto.h:333:14: note: Function 'disp_message_nsec' argument 5 names different: declaration 'mouse' definition 'nulcmd'. w3m-0.5.3+git20230121/display.c:1245:72: note: Function 'disp_message_nsec' argument 5 names different: declaration 'mouse' definition 'nulcmd'. w3m-0.5.3+git20230121/display.c:612:6: style: Local variable 'l' shadows outer variable [shadowVariable] w3m-0.5.3+git20230121/display.c:595:11: note: Shadowed declaration w3m-0.5.3+git20230121/display.c:612:6: note: Shadow variable w3m-0.5.3+git20230121/display.c:1141:10: style: Local variable 'graph_symbol' shadows outer variable [shadowVariable] w3m-0.5.3+git20230121/fm.h:1131:14: note: Shadowed declaration w3m-0.5.3+git20230121/display.c:1141:10: note: Shadow variable w3m-0.5.3+git20230121/display.c:1149:13: style: Local variable 'symbol' shadows outer variable [shadowVariable] w3m-0.5.3+git20230121/display.c:1123:9: note: Shadowed declaration w3m-0.5.3+git20230121/display.c:1149:13: note: Shadow variable w3m-0.5.3+git20230121/display.c:561:13: style: Variable 'an' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/display.c:678:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/display.c:679:15: style: Variable 'pr' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/display.c:906:26: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/display.c:910:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/display.c:911:15: style: Variable 'pr' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/display.c:1192:26: style: Parameter 's' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/display.c:1286:27: style: Parameter 's' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/display.c:1307:11: style: Variable 'l' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/display.c:1339:11: style: Variable 'l' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/display.c:1148:13: style: Variable 'symbol' is assigned a value that is never used. [unreadVariable] w3m-0.5.3+git20230121/form.c:781:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/frame.c:413:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_ARG [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/file.c:194:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_RETURN [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/file.c:393:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/file.c:439:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_SEPARATOR [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/file.c:1551:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/file.c:1711:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_ARG [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/file.c:6161:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNCNAME_gorURL [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/file.c:7275:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_ARG [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/file.c:7451:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_ARG [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/file.c:7666:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_ARG [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/file.c:8084:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_ARG [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/file.c:8193:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_ARG [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/file.c:8367:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/file.c:8477:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/file.c:8593:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/file.c:8686:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/file.c:8698:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUNZIP_CMDNAME [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/file.c:8831:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/file.c:8881:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEF_SAVE_FILE [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/frame.c:88:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] w3m-0.5.3+git20230121/frame.c:114:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] w3m-0.5.3+git20230121/frame.c:172:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] w3m-0.5.3+git20230121/frame.c:184:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] w3m-0.5.3+git20230121/frame.c:186:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] w3m-0.5.3+git20230121/frame.c:189:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] w3m-0.5.3+git20230121/frame.c:285:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] w3m-0.5.3+git20230121/frame.c:570:42: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/frame.c:593:28: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/frame.c:626:10: style: Local variable 'q' shadows outer variable [shadowVariable] w3m-0.5.3+git20230121/frame.c:546:13: note: Shadowed declaration w3m-0.5.3+git20230121/frame.c:626:10: note: Shadow variable w3m-0.5.3+git20230121/form.c:327:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] w3m-0.5.3+git20230121/form.c:328:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] w3m-0.5.3+git20230121/form.c:405:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] w3m-0.5.3+git20230121/form.c:407:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] w3m-0.5.3+git20230121/form.c:485:8: warning: Either the condition 'l==NULL' is redundant or there is possible null pointer dereference: l. [nullPointerRedundantCheck] w3m-0.5.3+git20230121/form.c:487:12: note: Assuming that condition 'l==NULL' is not redundant w3m-0.5.3+git20230121/form.c:485:8: note: Null pointer dereference w3m-0.5.3+git20230121/form.c:187:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/form.c:190:55: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/form.c:192:34: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/form.c:208:56: style:inconclusive: Function 'formRecheckRadio' argument 3 names different: declaration 'form' definition 'fi'. [funcArgNamesDifferent] w3m-0.5.3+git20230121/proto.h:421:68: note: Function 'formRecheckRadio' argument 3 names different: declaration 'form' definition 'fi'. w3m-0.5.3+git20230121/form.c:208:56: note: Function 'formRecheckRadio' argument 3 names different: declaration 'form' definition 'fi'. w3m-0.5.3+git20230121/form.c:42:19: style: Parameter 'action' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/form.c:42:33: style: Parameter 'method' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/form.c:42:62: style: Parameter 'enctype' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/form.c:197:16: style: Parameter 'typestr' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/form.c:645:19: style: Parameter 'action' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/form.c:751:33: style: Parameter 'boundary' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/form.c:751:49: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/form.c:751:61: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/form.c:759:38: style: Parameter 'boundary' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/form.c:759:54: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/form.c:765:11: style: Variable 'type' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/form.c:834:36: style: Parameter 'checked' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/form.c:985:15: style: Variable 'fl' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/etc.c:1104:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] w3m-0.5.3+git20230121/etc.c:1125:6: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] w3m-0.5.3+git20230121/etc.c:1586:30: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] w3m-0.5.3+git20230121/etc.c:1599:13: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] w3m-0.5.3+git20230121/etc.c:1603:13: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] w3m-0.5.3+git20230121/etc.c:301:10: style: Condition 'bs' is always true [knownConditionTrueFalse] w3m-0.5.3+git20230121/etc.c:1531:48: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/etc.c:1533:40: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/etc.c:1570:31: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/etc.c:1609:32: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/etc.c:245:54: style: Variable 'bs' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/etc.c:297:12: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/etc.c:297:23: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/etc.c:515:25: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/etc.c:515:38: style: Parameter 'pr' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/etc.c:540:18: style: Variable 'prevl' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/etc.c:601:15: style: Variable 'q' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/etc.c:1001:28: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/etc.c:1001:50: style: Parameter 'realm' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/etc.c:1001:63: style: Parameter 'uname' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/etc.c:1039:33: style: Parameter 'pu' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/etc.c:1039:43: style: Parameter 'realm' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/etc.c:1107:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/etc.c:1586:20: style: Variable 'passent' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/etc.c:1695:25: style: Parameter 'url' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/ftp.c:52:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_RETURN [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/ftp.c:240:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/ftp.c:485:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_ARG [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/fuzz/fuzz-conv.c:8:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/fuzz/fuzz-conv.c:21:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GC_oom_fn [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/fuzz/fuzz-conv.c:47:12: style: Unused variable: old [unusedVariable] w3m-0.5.3+git20230121/func.c:70:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNCNAME_multimap [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/func.c:130:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable old [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/func.c:186:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEYMAP_FILE [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/func.c:202:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable functable [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/history.c:143:16: style: Parameter 'hist' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/history.c:157:31: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/history.c:176:28: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/ftp.c:162:18: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] w3m-0.5.3+git20230121/ftp.c:301:17: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] w3m-0.5.3+git20230121/ftp.c:302:17: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] w3m-0.5.3+git20230121/ftp.c:426:24: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] w3m-0.5.3+git20230121/ftp.c:292:31: style: Redundant condition: The condition '*p' is redundant since '*p == ' '' is sufficient. [redundantCondition] w3m-0.5.3+git20230121/ftp.c:405:7: style: Redundant assignment of 'pwd' to itself. [selfAssignment] w3m-0.5.3+git20230121/ftp.c:168:11: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/ftp.c:533:20: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/ftp.c:612:42: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/ftp.c:621:58: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/ftp.c:641:37: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/ftp.c:161:19: style: Variable 'sockent' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/ftp.c:356:11: style: Variable 'user' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/ftp.c:357:11: style: Variable 'pass' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/ftp.c:426:17: style: Variable 'mypw' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/ftp.c:684:23: style: Variable 'p' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/inflate.c:25:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/func.c:371:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/indep.c:111:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/indep.c:485:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entity [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/indep.c:731:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/indep.c:845:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUXBIN_DIR [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/indep.c:852:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CGIBIN_DIR [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/indep.c:858:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETC_DIR [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/indep.c:864:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONF_DIR [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/indep.c:870:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HELP_DIR [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/libwc/big5.c:66:15: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/istream.c:194:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/istream.c:59:2: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] w3m-0.5.3+git20230121/istream.c:300:45: style:inconclusive: Function 'ISread_n' argument 3 names different: declaration 'bufsize' definition 'count'. [funcArgNamesDifferent] w3m-0.5.3+git20230121/istream.h:129:49: note: Function 'ISread_n' argument 3 names different: declaration 'bufsize' definition 'count'. w3m-0.5.3+git20230121/istream.c:300:45: note: Function 'ISread_n' argument 3 names different: declaration 'bufsize' definition 'count'. w3m-0.5.3+git20230121/istream.c:66:36: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/istream.c:647:17: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'basic_read' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] w3m-0.5.3+git20230121/istream.c:105:36: note: You might need to cast the function pointer here w3m-0.5.3+git20230121/istream.c:647:17: note: Parameter 'handle' can be declared as pointer to const w3m-0.5.3+git20230121/istream.c:670:28: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'str_read' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] w3m-0.5.3+git20230121/istream.c:140:35: note: You might need to cast the function pointer here w3m-0.5.3+git20230121/istream.c:670:28: note: Parameter 'buf' can be declared as pointer to const w3m-0.5.3+git20230121/libwc/combining.c:20:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iso88596_combining_map [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/indep.c:224:30: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] w3m-0.5.3+git20230121/indep.c:236:13: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] w3m-0.5.3+git20230121/indep.c:240:13: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] w3m-0.5.3+git20230121/indep.c:84:6: style: Consider using memcpy instead of loop. [useStandardLibrary] w3m-0.5.3+git20230121/indep.c:424:22: style:inconclusive: Function 'getescapechar' argument 1 names different: declaration 's' definition 'str'. [funcArgNamesDifferent] w3m-0.5.3+git20230121/indep.h:45:33: note: Function 'getescapechar' argument 1 names different: declaration 's' definition 'str'. w3m-0.5.3+git20230121/indep.c:424:22: note: Function 'getescapechar' argument 1 names different: declaration 's' definition 'str'. w3m-0.5.3+git20230121/indep.c:224:20: style: Variable 'passent' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/indep.c:491:11: style: Variable 'save' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/indep.c:510:15: style: Variable 'q' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/indep.c:533:15: style: Variable 'q' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/indep.c:642:24: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/indep.c:672:24: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/indep.c:426:15: style: Variable 'dummy' is assigned a value that is never used. [unreadVariable] w3m-0.5.3+git20230121/libwc/conv.c:47:15: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/libwc/gb18030.c:164:15: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/libwc/gbk.c:95:15: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/libwc/hz.c:15:15: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/libwc/hkscs.c:77:15: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/libwc/jis.c:15:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jisx0201k_jisx0208_map [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/libwc/johab.c:146:26: style:inconclusive: Function 'wc_johab1_to_N' argument 1 names different: declaration 'cc' definition 'code'. [funcArgNamesDifferent] w3m-0.5.3+git20230121/libwc/johab.h:55:44: note: Function 'wc_johab1_to_N' argument 1 names different: declaration 'cc' definition 'code'. w3m-0.5.3+git20230121/libwc/johab.c:146:26: note: Function 'wc_johab1_to_N' argument 1 names different: declaration 'cc' definition 'code'. w3m-0.5.3+git20230121/libwc/johab.c:159:26: style:inconclusive: Function 'wc_N_to_johab1' argument 1 names different: declaration 'ucs' definition 'code'. [funcArgNamesDifferent] w3m-0.5.3+git20230121/libwc/johab.h:56:44: note: Function 'wc_N_to_johab1' argument 1 names different: declaration 'ucs' definition 'code'. w3m-0.5.3+git20230121/libwc/johab.c:159:26: note: Function 'wc_N_to_johab1' argument 1 names different: declaration 'ucs' definition 'code'. w3m-0.5.3+git20230121/libwc/johab.c:255:15: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/libwc/priv.c:10:15: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/libwc/priv.c:32:48: style: Parameter 'st' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/libwc/priv.c:48:15: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/libwc/putc.c:24:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/libwc/iso2022.c:476:17: style: Local variable 'cc2' shadows outer variable [shadowVariable] w3m-0.5.3+git20230121/libwc/iso2022.c:401:16: note: Shadowed declaration w3m-0.5.3+git20230121/libwc/iso2022.c:476:17: note: Shadow variable w3m-0.5.3+git20230121/libwc/iso2022.c:76:15: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/libwc/iso2022.c:790:15: style: Variable 'gset_ext' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/libwc/iso2022.c:401:16: style: Unused variable: cc2 [unusedVariable] w3m-0.5.3+git20230121/libwc/search.c:28:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/libwc/search.c:39:39: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/libwc/search.c:46:53: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/libwc/search.c:54:45: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/libwc/search.c:61:46: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/libwc/search.c:68:47: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/libwc/sjis.c:90:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sjis1_jisx02132_map [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/libwc/sjis.c:105:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jisx02132_sjis_map [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/libwc/sjis.c:334:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sjis1_jisx02132_map [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/libwc/sjis.c:443:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jisx02132_sjis_map [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/libwc/sjis.c:587:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sjis1_jisx02132_map [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/libwc/status.c:167:14: style: Variable 'gset' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/libwc/test.c:14:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/libwc/test.c:9:9: style: Variable 's' is assigned a value that is never used. [unreadVariable] w3m-0.5.3+git20230121/libwc/sjis.c:151:29: style:inconclusive: Function 'wc_sjis_ext1_to_N' argument 1 names different: declaration 'cc' definition 'c'. [funcArgNamesDifferent] w3m-0.5.3+git20230121/libwc/sjis.h:30:47: note: Function 'wc_sjis_ext1_to_N' argument 1 names different: declaration 'cc' definition 'c'. w3m-0.5.3+git20230121/libwc/sjis.c:151:29: note: Function 'wc_sjis_ext1_to_N' argument 1 names different: declaration 'cc' definition 'c'. w3m-0.5.3+git20230121/libwc/sjis.c:173:29: style:inconclusive: Function 'wc_sjis_ext2_to_N' argument 1 names different: declaration 'cc' definition 'c'. [funcArgNamesDifferent] w3m-0.5.3+git20230121/libwc/sjis.h:31:47: note: Function 'wc_sjis_ext2_to_N' argument 1 names different: declaration 'cc' definition 'c'. w3m-0.5.3+git20230121/libwc/sjis.c:173:29: note: Function 'wc_sjis_ext2_to_N' argument 1 names different: declaration 'cc' definition 'c'. w3m-0.5.3+git20230121/libwc/sjis.c:197:15: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/libwc/sjis.c:277:15: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/libwc/uhc.c:78:15: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/libwc/viet.c:88:13: style: Variable 'map' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/libwc/viet.c:115:15: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/libwc/viet.c:119:15: style: Variable 'map' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/libwc/viet.c:158:15: style: Variable 'map' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/libwc/viet.c:219:47: style: Parameter 'st' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/libwc/viet.c:222:15: style: Variable 'map' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/libwc/detect.c:80:15: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/libwc/wtf.c:123:15: style: Variable 'q' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/libwc/wtf.c:149:15: style: Variable 'strz' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/libwc/wtf.c:496:15: style: Unused variable: ucs [unusedVariable] w3m-0.5.3+git20230121/libwc/wtf.c:496:20: style: Unused variable: ucs2 [unusedVariable] w3m-0.5.3+git20230121/local.c:45:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/local.c:198:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IXUSR [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/local.c:410:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/local.c:410:6: warning: Return value of function freopen() is not used. [ignoredReturnValue] w3m-0.5.3+git20230121/local.c:416:6: warning: Return value of function freopen() is not used. [ignoredReturnValue] w3m-0.5.3+git20230121/local.c:422:2: warning: Return value of function freopen() is not used. [ignoredReturnValue] w3m-0.5.3+git20230121/local.c:94:19: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] w3m-0.5.3+git20230121/local.c:440:5: error: Resource leak: fw [resourceLeak] w3m-0.5.3+git20230121/local.c:91:20: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/local.c:147:61: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/local.c:150:60: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/local.c:212:45: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/local.c:376:37: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/local.c:60:20: style:inconclusive: Function 'loadLocalDir' argument 1 names different: declaration 'dirname' definition 'dname'. [funcArgNamesDifferent] w3m-0.5.3+git20230121/proto.h:646:31: note: Function 'loadLocalDir' argument 1 names different: declaration 'dirname' definition 'dname'. w3m-0.5.3+git20230121/local.c:60:20: note: Function 'loadLocalDir' argument 1 names different: declaration 'dirname' definition 'dname'. w3m-0.5.3+git20230121/local.c:64:16: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/mailcap.c:121:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] w3m-0.5.3+git20230121/mailcap.c:217:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] w3m-0.5.3+git20230121/mailcap.c:75:33: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/mailcap.c:78:11: style: Variable 'q' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/mailcap.c:246:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/mailcap.c:352:64: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/linein.c:943:12: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] w3m-0.5.3+git20230121/linein.c:495:12: style: Redundant initialization for 'i'. The initialized value is overwritten before it is read. [redundantInitialization] w3m-0.5.3+git20230121/linein.c:486:11: note: i is initialized w3m-0.5.3+git20230121/linein.c:495:12: note: i is overwritten w3m-0.5.3+git20230121/linein.c:905:6: style: Redundant assignment of 'ifn' to itself. [selfAssignment] w3m-0.5.3+git20230121/linein.c:693:68: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/linein.c:317:47: style:inconclusive: Function 'addPasswd' argument 4 names different: declaration 'pos' definition 'offset'. [funcArgNamesDifferent] w3m-0.5.3+git20230121/linein.c:66:59: note: Function 'addPasswd' argument 4 names different: declaration 'pos' definition 'offset'. w3m-0.5.3+git20230121/linein.c:317:47: note: Function 'addPasswd' argument 4 names different: declaration 'pos' definition 'offset'. w3m-0.5.3+git20230121/linein.c:333:44: style:inconclusive: Function 'addStr' argument 4 names different: declaration 'pos' definition 'offset'. [funcArgNamesDifferent] w3m-0.5.3+git20230121/linein.c:67:56: note: Function 'addStr' argument 4 names different: declaration 'pos' definition 'offset'. w3m-0.5.3+git20230121/linein.c:333:44: note: Function 'addStr' argument 4 names different: declaration 'pos' definition 'offset'. w3m-0.5.3+git20230121/linein.c:83:41: style: Parameter 'def_str' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/linein.c:276:8: style: Variable 'q' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/linein.c:898:11: style: Variable 'fn' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/linein.c:900:16: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/map.c:287:23: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/linein.c:1013:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/map.c:413:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/linein.c:1039:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/map.c:424:29: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/linein.c:1063:26: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/map.c:449:65: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/map.c:459:34: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/map.c:461:58: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/map.c:489:46: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/map.c:499:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/map.c:556:36: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/map.c:576:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/map.c:589:29: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/map.c:602:29: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/map.c:611:11: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/map.c:627:21: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/map.c:9:34: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/map.c:187:19: style: Variable 'fi' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/matrix.c:122:24: style: Parameter 'indexarray' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/mktable.c:41:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/mimehead.c:238:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/mimehead.c:304:31: style: Variable 'endp' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/parsetag.c:8:46: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/parsetag.c:18:43: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/rc.c:1463:43: error: There is an unknown macro here somewhere. Configuration is required. If W3MHELPERPANEL_CMDNAME is a macro then please configure it. [unknownMacro] w3m-0.5.3+git20230121/regex.c:162:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/regex.c:511:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/regex.c:659:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/regex.c:285:54: style:inconclusive: Function 'newRegex' argument 4 names different: declaration 'error_msg' definition 'msg'. [funcArgNamesDifferent] w3m-0.5.3+git20230121/regex.h:31:61: note: Function 'newRegex' argument 4 names different: declaration 'error_msg' definition 'msg'. w3m-0.5.3+git20230121/regex.c:285:54: note: Function 'newRegex' argument 4 names different: declaration 'error_msg' definition 'msg'. w3m-0.5.3+git20230121/regex.c:79:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/regex.c:682:27: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/regex.c:707:33: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/regex.c:707:47: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/regex.c:233:8: style: Variable 're' is assigned a value that is never used. [unreadVariable] w3m-0.5.3+git20230121/regex.c:255:8: style: Variable 're' is assigned a value that is never used. [unreadVariable] w3m-0.5.3+git20230121/scrsize.c:59:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PBaseSize [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/scrsize.c:42:11: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/parsetagx.c:147:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] w3m-0.5.3+git20230121/parsetagx.c:43:16: style: Parameter 'oval' can be declared as pointer to const. However it seems that 'toNumber' is a callback function, if 'oval' is declared with const you might also need to cast function pointer(s). [constParameterCallback] w3m-0.5.3+git20230121/parsetagx.c:23:5: note: You might need to cast the function pointer here w3m-0.5.3+git20230121/parsetagx.c:43:16: note: Parameter 'oval' can be declared as pointer to const w3m-0.5.3+git20230121/parsetagx.c:59:16: style: Parameter 'oval' can be declared as pointer to const. However it seems that 'toLength' is a callback function, if 'oval' is declared with const you might also need to cast function pointer(s). [constParameterCallback] w3m-0.5.3+git20230121/parsetagx.c:24:5: note: You might need to cast the function pointer here w3m-0.5.3+git20230121/parsetagx.c:59:16: note: Parameter 'oval' can be declared as pointer to const w3m-0.5.3+git20230121/parsetagx.c:77:15: style: Parameter 'oval' can be declared as pointer to const. However it seems that 'toAlign' is a callback function, if 'oval' is declared with const you might also need to cast function pointer(s). [constParameterCallback] w3m-0.5.3+git20230121/parsetagx.c:25:5: note: You might need to cast the function pointer here w3m-0.5.3+git20230121/parsetagx.c:77:15: note: Parameter 'oval' can be declared as pointer to const w3m-0.5.3+git20230121/parsetagx.c:97:16: style: Parameter 'oval' can be declared as pointer to const. However it seems that 'toVAlign' is a callback function, if 'oval' is declared with const you might also need to cast function pointer(s). [constParameterCallback] w3m-0.5.3+git20230121/parsetagx.c:26:5: note: You might need to cast the function pointer here w3m-0.5.3+git20230121/parsetagx.c:97:16: note: Parameter 'oval' can be declared as pointer to const w3m-0.5.3+git20230121/parsetagx.c:274:59: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/symbol.c:167:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable alt_symbol [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/symbol.c:182:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable alt_symbol [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/symbol.c:188:22: warning: Uninitialized variable: buf [uninitvar] w3m-0.5.3+git20230121/symbol.c:183:23: note: Assuming condition is false w3m-0.5.3+git20230121/symbol.c:188:22: note: Uninitialized variable: buf w3m-0.5.3+git20230121/main.c:337:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/main.c:400:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/main.c:443:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GC_oom_fn [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/main.c:1328:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/main.c:1388:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hseq [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/main.c:1394:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_ARG [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/main.c:1598:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_RETURN [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/main.c:1607:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_RETURN [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/main.c:1629:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_RETURN [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/main.c:2249:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/main.c:2290:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HELP_FILE [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/main.c:2670:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/search.c:195:15: style: Variable 'begin' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/terms.c:963:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEV_TTY_PATH [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/terms.c:1013:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/terms.c:1034:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/terms.c:1051:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/terms.c:1099:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_RETURN [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/terms.c:1105:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_ARGLIST [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/terms.c:1111:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_ARGLIST [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/terms.c:1117:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/terms.c:1170:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_TERM [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/terms.c:1681:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable highIntensityColors [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/terms.c:2202:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISIG [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/terms.c:2219:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICANON [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/terms.c:2235:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECHO [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/terms.c:2241:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECHO [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/terms.c:2253:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISIG [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/terms.c:2276:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISIG [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/terms.c:2330:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/terms.c:2474:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/table.c:1544:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nitem [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/table.c:1899:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nitem [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/terms.c:961:9: portability: Non reentrant function 'ttyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ttyname_r'. [prohibitedttynameCalled] w3m-0.5.3+git20230121/terms.c:1069:12: portability: Non reentrant function 'ttyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ttyname_r'. [prohibitedttynameCalled] w3m-0.5.3+git20230121/terms.c:1325:19: style: Condition 'set_tty()<0' is always false [knownConditionTrueFalse] w3m-0.5.3+git20230121/terms.c:1325:16: note: Calling function 'set_tty' returns 0 w3m-0.5.3+git20230121/terms.c:1325:19: note: Condition 'set_tty()<0' is always false w3m-0.5.3+git20230121/terms.c:1120:5: style: Statements following noreturn function 'abort()' will never be executed. [unreachableCode] w3m-0.5.3+git20230121/terms.c:1401:12: style:inconclusive: Function 'addch' argument 1 names different: declaration 'c' definition 'pc'. [funcArgNamesDifferent] w3m-0.5.3+git20230121/proto.h:480:24: note: Function 'addch' argument 1 names different: declaration 'c' definition 'pc'. w3m-0.5.3+git20230121/terms.c:1401:12: note: Function 'addch' argument 1 names different: declaration 'c' definition 'pc'. w3m-0.5.3+git20230121/terms.c:958:11: style: Variable 'ttyn' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/terms.c:1166:11: style: Variable 'suc' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/terms.c:1241:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/terms.c:1720:11: style: Variable 'pc' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/terms.c:2135:14: style: Parameter 's' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/terms.c:2152:15: style: Parameter 's' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/terms.c:2174:19: style: Parameter 's' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/terms.c:2298:18: style: Parameter 's' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/url.c:247:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_RETURN [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/url.c:513:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/url.c:556:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_ARG [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/url.c:2126:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_ARG [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/file.c:7922:12: error: Returning pointer to local variable 'uf' that will be invalid when returning. [returnDanglingLifetime] w3m-0.5.3+git20230121/file.c:7920:20: note: Address of variable taken here. w3m-0.5.3+git20230121/file.c:7920:20: note: Passed to initializer list. w3m-0.5.3+git20230121/file.c:7912:13: note: Variable created here. w3m-0.5.3+git20230121/file.c:7922:12: note: Returning pointer to local variable 'uf' that will be invalid when returning. w3m-0.5.3+git20230121/file.c:379:12: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] w3m-0.5.3+git20230121/file.c:1475:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] w3m-0.5.3+git20230121/file.c:2506:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] w3m-0.5.3+git20230121/file.c:2524:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] w3m-0.5.3+git20230121/file.c:2850:6: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] w3m-0.5.3+git20230121/file.c:3140:2: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] w3m-0.5.3+git20230121/file.c:3177:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] w3m-0.5.3+git20230121/file.c:3183:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] w3m-0.5.3+git20230121/file.c:3195:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] w3m-0.5.3+git20230121/file.c:3202:2: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] w3m-0.5.3+git20230121/file.c:3216:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] w3m-0.5.3+git20230121/file.c:3225:2: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] w3m-0.5.3+git20230121/file.c:6863:2: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] w3m-0.5.3+git20230121/file.c:7085:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] w3m-0.5.3+git20230121/file.c:8203:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] w3m-0.5.3+git20230121/file.c:8248:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] w3m-0.5.3+git20230121/file.c:4476:12: style: Redundant condition: The condition '*q' is redundant since '*q == ' '' is sufficient. [redundantCondition] w3m-0.5.3+git20230121/file.c:1082:11: style: Condition 'quoted' is always true [knownConditionTrueFalse] w3m-0.5.3+git20230121/file.c:7174:24: style: Condition 'obuf->table_level>=tmp' is always true [knownConditionTrueFalse] w3m-0.5.3+git20230121/file.c:7170:10: note: tmp is assigned 'obuf->table_level' here. w3m-0.5.3+git20230121/file.c:7174:24: note: Condition 'obuf->table_level>=tmp' is always true w3m-0.5.3+git20230121/file.c:594:18: warning: Either the condition 't_buf' is redundant or there is possible null pointer dereference: newBuf. [nullPointerRedundantCheck] w3m-0.5.3+git20230121/file.c:8017:6: note: Assuming that condition 't_buf' is not redundant w3m-0.5.3+git20230121/file.c:8013:18: note: Calling function 'readHeader', 2nd argument 't_buf' value is 0 w3m-0.5.3+git20230121/file.c:594:18: note: Null pointer dereference w3m-0.5.3+git20230121/file.c:8010:5: warning: Either the condition 't_buf' is redundant or there is possible null pointer dereference: t_buf. [nullPointerRedundantCheck] w3m-0.5.3+git20230121/file.c:8017:6: note: Assuming that condition 't_buf' is not redundant w3m-0.5.3+git20230121/file.c:8010:5: note: Null pointer dereference w3m-0.5.3+git20230121/file.c:8011:5: warning: Either the condition 't_buf' is redundant or there is possible null pointer dereference: t_buf. [nullPointerRedundantCheck] w3m-0.5.3+git20230121/file.c:8017:6: note: Assuming that condition 't_buf' is not redundant w3m-0.5.3+git20230121/file.c:8011:5: note: Null pointer dereference w3m-0.5.3+git20230121/file.c:7875:6: style: Redundant assignment of 'tmp' to itself. [selfAssignment] w3m-0.5.3+git20230121/file.c:7982:18: style: Redundant assignment of 'buf->buffername' to itself. [selfAssignment] w3m-0.5.3+git20230121/file.c:8279:9: style: Redundant assignment of 'header' to itself. [selfAssignment] w3m-0.5.3+git20230121/file.c:8429:5: style: Redundant assignment of 'p' to itself. [selfAssignment] w3m-0.5.3+git20230121/file.c:8542:8: style: Redundant assignment of 'p' to itself. [selfAssignment] w3m-0.5.3+git20230121/file.c:1185:74: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/file.c:1628:42: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/file.c:3260:38: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/file.c:5043:62: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/file.c:5295:52: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/file.c:6496:42: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/file.c:6507:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/file.c:6540:36: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/file.c:7190:37: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/file.c:6429:21: style:inconclusive: Function 'HTMLlineproc0' argument 1 names different: declaration 'istr' definition 'line'. [funcArgNamesDifferent] w3m-0.5.3+git20230121/proto.h:249:33: note: Function 'HTMLlineproc0' argument 1 names different: declaration 'istr' definition 'line'. w3m-0.5.3+git20230121/file.c:6429:21: note: Function 'HTMLlineproc0' argument 1 names different: declaration 'istr' definition 'line'. w3m-0.5.3+git20230121/file.c:8642:41: style:inconclusive: Function 'checkSaveFile' argument 2 names different: declaration 'path' definition 'path2'. [funcArgNamesDifferent] w3m-0.5.3+git20230121/proto.h:292:52: note: Function 'checkSaveFile' argument 2 names different: declaration 'path' definition 'path2'. w3m-0.5.3+git20230121/file.c:8642:41: note: Function 'checkSaveFile' argument 2 names different: declaration 'path' definition 'path2'. w3m-0.5.3+git20230121/file.c:8896:36: style:inconclusive: Function 'guess_save_name' argument 2 names different: declaration 'file' definition 'path'. [funcArgNamesDifferent] w3m-0.5.3+git20230121/proto.h:810:49: note: Function 'guess_save_name' argument 2 names different: declaration 'file' definition 'path'. w3m-0.5.3+git20230121/file.c:8896:36: note: Function 'guess_save_name' argument 2 names different: declaration 'file' definition 'path'. w3m-0.5.3+git20230121/file.c:3636:8: style: Local variable 's' shadows outer variable [shadowVariable] w3m-0.5.3+git20230121/file.c:3630:28: note: Shadowed declaration w3m-0.5.3+git20230121/file.c:3636:8: note: Shadow variable w3m-0.5.3+git20230121/file.c:4328:9: style: Local variable 'align' shadows outer function [shadowFunction] w3m-0.5.3+git20230121/proto.h:397:13: note: Shadowed declaration w3m-0.5.3+git20230121/file.c:4328:9: note: Shadow variable w3m-0.5.3+git20230121/file.c:6591:11: style: Local variable 'indent' shadows outer variable [shadowVariable] w3m-0.5.3+git20230121/file.c:6434:9: note: Shadowed declaration w3m-0.5.3+git20230121/file.c:6591:11: note: Shadow variable w3m-0.5.3+git20230121/file.c:6601:11: style: Local variable 'indent' shadows outer variable [shadowVariable] w3m-0.5.3+git20230121/file.c:6434:9: note: Shadowed declaration w3m-0.5.3+git20230121/file.c:6601:11: note: Shadow variable w3m-0.5.3+git20230121/file.c:6653:13: style: Local variable 'p' shadows outer variable [shadowVariable] w3m-0.5.3+git20230121/file.c:6469:14: note: Shadowed declaration w3m-0.5.3+git20230121/file.c:6653:13: note: Shadow variable w3m-0.5.3+git20230121/file.c:6686:13: style: Local variable 'p' shadows outer variable [shadowVariable] w3m-0.5.3+git20230121/file.c:6469:14: note: Shadowed declaration w3m-0.5.3+git20230121/file.c:6686:13: note: Shadow variable w3m-0.5.3+git20230121/file.c:6757:11: style: Local variable 'line' shadows outer argument [shadowArgument] w3m-0.5.3+git20230121/file.c:6429:21: note: Shadowed declaration w3m-0.5.3+git20230121/file.c:6757:11: note: Shadow variable w3m-0.5.3+git20230121/file.c:270:21: style: Variable 'mcap' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/file.c:293:20: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/file.c:424:21: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/file.c:426:18: style: Variable 'path' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/file.c:428:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/file.c:459:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/file.c:503:26: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/file.c:506:11: style: Variable 'q' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/file.c:925:21: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/file.c:925:32: style: Parameter 'field' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/file.c:946:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/file.c:1168:47: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/file.c:1468:53: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/file.c:1468:64: style: Parameter 'auth_field' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/file.c:1514:46: style: Parameter 'auth_header' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/file.c:1570:12: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/file.c:2372:31: style: Parameter 'ch' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/file.c:2392:34: style: Parameter 'ch' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/file.c:2407:29: style: Parameter 'ch' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/file.c:2575:41: style: Parameter 'cmdname' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/file.c:2587:12: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/file.c:3056:12: style: Variable 'c' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/file.c:3240:34: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/file.c:3613:46: style: Parameter 'tagbuf' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/file.c:4311:16: style: Variable 'clear_flag_cmd' can be declared as const array [constVariable] w3m-0.5.3+git20230121/file.c:5610:11: style: Variable 'endp' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/file.c:6392:42: style: Parameter 'h_env' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/file.c:6748:9: style: Variable 'bp' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/file.c:6749:9: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/file.c:6777:8: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/file.c:7814:28: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/file.c:8189:28: style: Parameter 'tmpf' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/file.c:8358:17: style: Parameter 'path1' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/file.c:8900:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/file.c:1145:22: style: Variable 'token_type' is assigned a value that is never used. [unreadVariable] w3m-0.5.3+git20230121/file.c:1500:23: style: Variable 'token_type' is assigned a value that is never used. [unreadVariable] w3m-0.5.3+git20230121/file.c:3583:6: style: Variable 'n' is assigned a value that is never used. [unreadVariable] w3m-0.5.3+git20230121/url.c:170:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] w3m-0.5.3+git20230121/url.c:172:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] w3m-0.5.3+git20230121/url.c:174:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] w3m-0.5.3+git20230121/url.c:186:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] w3m-0.5.3+git20230121/url.c:190:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] w3m-0.5.3+git20230121/url.c:637:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] w3m-0.5.3+git20230121/url.c:638:18: portability: Non reentrant function 'getprotobyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getprotobyname_r'. [prohibitedgetprotobynameCalled] w3m-0.5.3+git20230121/url.c:653:2: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] w3m-0.5.3+git20230121/url.c:677:15: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] w3m-0.5.3+git20230121/url.c:687:6: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] w3m-0.5.3+git20230121/url.c:2153:7: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] w3m-0.5.3+git20230121/util.c:17:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/util.c:10:16: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/url.c:1441:9: warning: Either the condition '!target' is redundant or there is possible null pointer dereference: target. [nullPointerRedundantCheck] w3m-0.5.3+git20230121/url.c:1453:7: note: Assuming that condition '!target' is not redundant w3m-0.5.3+git20230121/url.c:1441:9: note: Null pointer dereference w3m-0.5.3+git20230121/url.c:1430:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/url.c:1431:66: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/url.c:1432:62: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/url.c:1742:36: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/url.c:2019:55: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/url.c:2227:26: style:inconclusive: Function 'filename_extension' argument 1 names different: declaration 'patch' definition 'path'. [funcArgNamesDifferent] w3m-0.5.3+git20230121/proto.h:165:39: note: Function 'filename_extension' argument 1 names different: declaration 'patch' definition 'path'. w3m-0.5.3+git20230121/url.c:2227:26: note: Function 'filename_extension' argument 1 names different: declaration 'patch' definition 'path'. w3m-0.5.3+git20230121/url.c:158:15: style: Variable 'type' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/w3mbookmark.c:28:43: error: There is an unknown macro here somewhere. Configuration is required. If W3MBOOKMARK_CMDNAME is a macro then please configure it. [unknownMacro] w3m-0.5.3+git20230121/url.c:506:33: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/url.c:550:21: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/url.c:761:50: style: Parameter 'current' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/url.c:997:8: style: Variable 'cgi' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/url.c:1379:22: style: Variable 'q' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/url.c:1412:56: style: Parameter 'referer' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/url.c:1488:29: style: Parameter 'hr' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/url.c:1507:41: style: Parameter 'hr' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/url.c:1625:11: style: Parameter 'ouf' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/w3mhelperpanel.c:93:55: error: There is an unknown macro here somewhere. Configuration is required. If W3MHELPERPANEL_CMDNAME is a macro then please configure it. [unknownMacro] w3m-0.5.3+git20230121/w3mimg/fb/fb.c:120:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FB_DEFDEV [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/w3mimg/fb/fb.c:255:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cmap [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/w3mimg/fb/fb.c:592:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cmap [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/main.c:2070:13: style: Condition 'column==buf->currentColumn' is always true [knownConditionTrueFalse] w3m-0.5.3+git20230121/main.c:2068:9: note: column is assigned 'buf->currentColumn' here. w3m-0.5.3+git20230121/main.c:2070:13: note: Condition 'column==buf->currentColumn' is always true w3m-0.5.3+git20230121/main.c:5173:26: style: Condition 'display_ok' is always false [knownConditionTrueFalse] w3m-0.5.3+git20230121/w3mimg/fb/fb_gdkpixbuf.c:167:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bg_r [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/main.c:4634:2: error: Mismatching allocation and deallocation: f [mismatchAllocDealloc] w3m-0.5.3+git20230121/main.c:4609:6: note: Mismatching allocation and deallocation: f w3m-0.5.3+git20230121/main.c:4634:2: note: Mismatching allocation and deallocation: f w3m-0.5.3+git20230121/w3mimg/fb/fb_gdkpixbuf.c:299:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_HYPER [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/main.c:3917:10: warning: Either the condition 'an' is redundant or there is possible null pointer dereference: an. [nullPointerRedundantCheck] w3m-0.5.3+git20230121/main.c:3919:29: note: Assuming that condition 'an' is not redundant w3m-0.5.3+git20230121/main.c:3917:10: note: Null pointer dereference w3m-0.5.3+git20230121/main.c:3918:10: warning: Either the condition 'an' is redundant or there is possible null pointer dereference: an. [nullPointerRedundantCheck] w3m-0.5.3+git20230121/main.c:3919:29: note: Assuming that condition 'an' is not redundant w3m-0.5.3+git20230121/main.c:3918:10: note: Null pointer dereference w3m-0.5.3+git20230121/main.c:3425:7: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] w3m-0.5.3+git20230121/main.c:3427:7: note: Found duplicate branches for 'if' and 'else'. w3m-0.5.3+git20230121/main.c:3425:7: note: Found duplicate branches for 'if' and 'else'. w3m-0.5.3+git20230121/main.c:2131:6: style: Redundant assignment of 'cmd' to itself. [selfAssignment] w3m-0.5.3+git20230121/main.c:2175:6: style: Redundant assignment of 'cmd' to itself. [selfAssignment] w3m-0.5.3+git20230121/main.c:2207:6: style: Redundant assignment of 'cmd' to itself. [selfAssignment] w3m-0.5.3+git20230121/main.c:2242:6: style: Redundant assignment of 'cmd' to itself. [selfAssignment] w3m-0.5.3+git20230121/main.c:2267:5: style: Redundant assignment of 'fn' to itself. [selfAssignment] w3m-0.5.3+git20230121/main.c:4614:11: style: Redundant assignment of 'file' to itself. [selfAssignment] w3m-0.5.3+git20230121/main.c:5221:11: style: Redundant assignment of 'browser' to itself. [selfAssignment] w3m-0.5.3+git20230121/main.c:5225:10: style: Redundant assignment of 'browser' to itself. [selfAssignment] w3m-0.5.3+git20230121/main.c:983:75: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/main.c:3032:40: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/main.c:6629:45: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] w3m-0.5.3+git20230121/main.c:2295:20: style:inconclusive: Function 'cmd_loadfile' argument 1 names different: declaration 'path' definition 'fn'. [funcArgNamesDifferent] w3m-0.5.3+git20230121/main.c:95:32: note: Function 'cmd_loadfile' argument 1 names different: declaration 'path' definition 'fn'. w3m-0.5.3+git20230121/main.c:2295:20: note: Function 'cmd_loadfile' argument 1 names different: declaration 'path' definition 'fn'. w3m-0.5.3+git20230121/main.c:1319:21: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/main.c:1335:19: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/main.c:1419:9: style: Variable 'url' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:1448:43: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/main.c:1641:32: style: Variable 'cur' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:1904:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:2022:11: style: Variable 'l' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:2062:11: style: Variable 'l' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:2080:11: style: Variable 'l' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:2450:11: style: Variable 'lb' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:2518:11: style: Variable 'lb' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:2687:15: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/main.c:3088:11: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:3656:18: style: Variable 'hl' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:3657:18: style: Variable 'po' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:3658:13: style: Variable 'an' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:3689:18: style: Variable 'hl' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:3690:18: style: Variable 'po' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:3691:13: style: Variable 'an' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:3724:18: style: Variable 'hl' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:3725:15: style: Variable 'po' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:3726:10: style: Variable 'an' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:3777:18: style: Variable 'po' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:3860:18: style: Variable 'hl' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:3861:18: style: Variable 'po' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:3944:18: style: Variable 'hl' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:4000:18: style: Variable 'hl' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:4001:18: style: Variable 'pan' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:4117:13: style: Variable 'fbuf' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:4233:13: style: Variable 'cur_buf' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:4306:17: style: Variable 'cur_buf' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:5112:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:5833:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:5953:11: style: Variable 'data' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:5971:11: style: Variable 'd' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:6244:11: style: Variable 'data' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/main.c:6463:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/w3mimg/fb/fb_gdkpixbuf.c:114:49: style:inconclusive: Function 'fb_image_load' argument 4 names different: declaration 'n' definition 'max_anim'. [funcArgNamesDifferent] w3m-0.5.3+git20230121/w3mimg/fb/fb_img.h:7:60: note: Function 'fb_image_load' argument 4 names different: declaration 'n' definition 'max_anim'. w3m-0.5.3+git20230121/w3mimg/fb/fb_gdkpixbuf.c:114:49: note: Function 'fb_image_load' argument 4 names different: declaration 'n' definition 'max_anim'. w3m-0.5.3+git20230121/w3mimg/fb/fb_gdkpixbuf.c:264:13: style: Variable 'pixels' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/w3mimg/fb/fb.c:466:0: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] w3m-0.5.3+git20230121/w3mimg/fb/fb.c:479:0: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] w3m-0.5.3+git20230121/w3mimg/fb/fb.c:567:5: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] w3m-0.5.3+git20230121/w3mimg/fb/fb.c:514:10: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] w3m-0.5.3+git20230121/w3mimg/fb/fb.c:508:13: note: outer condition: tmp==NULL w3m-0.5.3+git20230121/w3mimg/fb/fb.c:514:10: note: identical inner condition: tmp==NULL w3m-0.5.3+git20230121/w3mimg/fb/fb.c:264:13: style: The statement 'if (buf!=NULL) buf=NULL' is logically equivalent to 'buf=NULL'. [duplicateConditionalAssign] w3m-0.5.3+git20230121/w3mimg/fb/fb.c:270:6: note: Assignment 'buf=NULL' w3m-0.5.3+git20230121/w3mimg/fb/fb.c:264:13: note: Condition 'buf!=NULL' is redundant w3m-0.5.3+git20230121/w3mimg/fb/fb.c:415:32: style:inconclusive: Function 'fb_frame_new' argument 3 names different: declaration 'num' definition 'n'. [funcArgNamesDifferent] w3m-0.5.3+git20230121/w3mimg/fb/fb.h:29:43: note: Function 'fb_frame_new' argument 3 names different: declaration 'num' definition 'n'. w3m-0.5.3+git20230121/w3mimg/fb/fb.c:415:32: note: Function 'fb_frame_new' argument 3 names different: declaration 'num' definition 'n'. w3m-0.5.3+git20230121/w3mimg/fb/fb.c:120:11: style: Variable 'fbdev' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/w3mimg/fb/fb.c:329:26: style: Parameter 'image' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/w3mimg/fb/fb.c:359:26: style: Parameter 'image' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/w3mimg/fb/fb.c:401:43: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/w3mimg/fb/fb.c:388:15: error: Uninitialized variable: offset_fb [uninitvar] w3m-0.5.3+git20230121/w3mimg/fb/fb.c:362:12: style: Variable 'offset_fb' is not assigned a value. [unassignedVariable] w3m-0.5.3+git20230121/w3mimg/fb/fb.c:491:12: style: Variable 'offset_fb' is not assigned a value. [unassignedVariable] w3m-0.5.3+git20230121/w3mimg/fb/fb_img.c:17:0: error: #error no Imlib2 and GdkPixbuf support [preprocessorErrorDirective] w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:84:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:104:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable id [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:175:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w3mimg_op [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/w3mimg/fb/fb_imlib2.c:79:13: style: Variable 'data' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/w3mimg/fb/fb_imlib2.c:78:26: style: Variable 'a' is assigned a value that is never used. [unreadVariable] w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:47:6: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:47:6: warning: %x in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:47:6: warning: %x in format string (no. 3) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:16:24: style: Parameter 'self' can be declared as pointer to const. However it seems that 'w3mfb_init' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:193:17: note: You might need to cast the function pointer here w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:16:24: note: Parameter 'self' can be declared as pointer to const w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:25:26: style: Parameter 'self' can be declared as pointer to const. However it seems that 'w3mfb_finish' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:194:19: note: You might need to cast the function pointer here w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:25:26: note: Parameter 'self' can be declared as pointer to const w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:33:26: style: Parameter 'self' can be declared as pointer to const. However it seems that 'w3mfb_active' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:195:19: note: You might need to cast the function pointer here w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:33:26: note: Parameter 'self' can be declared as pointer to const w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:41:34: style: Parameter 'self' can be declared as pointer to const. However it seems that 'w3mfb_set_background' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:196:27: note: You might need to cast the function pointer here w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:41:34: note: Parameter 'self' can be declared as pointer to const w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:41:46: style: Parameter 'background' can be declared as pointer to const. However it seems that 'w3mfb_set_background' is a callback function, if 'background' is declared with const you might also need to cast function pointer(s). [constParameterCallback] w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:196:27: note: You might need to cast the function pointer here w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:41:46: note: Parameter 'background' can be declared as pointer to const w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:53:24: style: Parameter 'self' can be declared as pointer to const. However it seems that 'w3mfb_sync' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:197:17: note: You might need to cast the function pointer here w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:53:24: note: Parameter 'self' can be declared as pointer to const w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:59:25: style: Parameter 'self' can be declared as pointer to const. However it seems that 'w3mfb_close' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:198:18: note: You might need to cast the function pointer here w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:59:25: note: Parameter 'self' can be declared as pointer to const w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:65:25: style: Parameter 'self' can be declared as pointer to const. However it seems that 'w3mfb_clear' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:199:18: note: You might need to cast the function pointer here w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:65:25: note: Parameter 'self' can be declared as pointer to const w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:122:30: style: Parameter 'self' can be declared as pointer to const. However it seems that 'w3mfb_free_image' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:203:23: note: You might need to cast the function pointer here w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:122:30: note: Parameter 'self' can be declared as pointer to const w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:135:34: style: Parameter 'self' can be declared as pointer to const. However it seems that 'w3mfb_get_image_size' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:204:27: note: You might need to cast the function pointer here w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:135:34: note: Parameter 'self' can be declared as pointer to const w3m-0.5.3+git20230121/w3mimg/x11/x11_w3mimg.c:23:0: error: #error no Imlib and GdkPixbuf support [preprocessorErrorDirective] w3m-0.5.3+git20230121/w3mimgdisplay.c:41:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEV_NULL_PATH [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/w3mimgdisplay.c:285:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:122:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:276:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:354:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:403:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:427:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:479:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Black [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:540:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:597:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nothrow [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:668:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nothrow [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:686:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:849:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:883:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:898:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FORMAT_MESSAGE_ALLOCATE_BUFFER [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:917:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:100:12: warning: Member variable 'win_image::current' is not initialized in the constructor. [uninitMemberVar] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:100:12: warning: Member variable 'win_image::tick' is not initialized in the constructor. [uninitMemberVar] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:100:12: warning: Member variable 'win_image::loopcount' is not initialized in the constructor. [uninitMemberVar] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:100:12: warning: Member variable 'win_image::delay' is not initialized in the constructor. [uninitMemberVar] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:100:12: warning: Member variable 'win_image::cache' is not initialized in the constructor. [uninitMemberVar] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:903:9: style: Condition 'errbuf' is always false [knownConditionTrueFalse] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:896:20: note: Assignment 'errbuf=NULL', assigned value is 0 w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:903:9: note: Condition 'errbuf' is always false w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:915:21: style: Condition 'errbuf' is always false [knownConditionTrueFalse] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:896:20: note: Assignment 'errbuf=NULL', assigned value is 0 w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:914:40: note: Calling function 'win32_strerror_alloc' returns 0 w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:914:40: note: Assignment 'errbuf=win32_strerror_alloc(status)', assigned value is 0 w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:915:21: note: Condition 'errbuf' is always false w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:158:18: style: C-style pointer casting [cstyleCast] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:166:20: style: C-style pointer casting [cstyleCast] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:169:20: style: C-style pointer casting [cstyleCast] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:176:14: style: C-style pointer casting [cstyleCast] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:189:16: style: C-style pointer casting [cstyleCast] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:193:16: style: C-style pointer casting [cstyleCast] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:232:35: style: C-style pointer casting [cstyleCast] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:549:11: style: C-style pointer casting [cstyleCast] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:712:20: style: C-style pointer casting [cstyleCast] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:814:31: style: C-style pointer casting [cstyleCast] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:818:17: style: C-style pointer casting [cstyleCast] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:885:25: style: C-style pointer casting [cstyleCast] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:919:25: style: C-style pointer casting [cstyleCast] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:653:47: style:inconclusive: Function 'win_get_image_size' argument 2 names different: declaration 'img' definition 'img_unused'. [funcArgNamesDifferent] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:78:59: note: Function 'win_get_image_size' argument 2 names different: declaration 'img' definition 'img_unused'. w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:653:47: note: Function 'win_get_image_size' argument 2 names different: declaration 'img' definition 'img_unused'. w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:120:22: style: Local variable 'gpbitmap' shadows outer variable [shadowVariable] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:49:22: note: Shadowed declaration w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:120:22: note: Shadow variable w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:127:20: style: Local variable 'delay' shadows outer variable [shadowVariable] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:54:20: note: Shadowed declaration w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:127:20: note: Shadow variable w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:128:19: style: Local variable 'cache' shadows outer variable [shadowVariable] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:55:19: note: Shadowed declaration w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:128:19: note: Shadow variable w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:137:15: style: Local variable 'nframe' shadows outer variable [shadowVariable] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:50:18: note: Shadowed declaration w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:137:15: note: Shadow variable w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:138:16: style: Local variable 'loopcount' shadows outer variable [shadowVariable] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:53:19: note: Shadowed declaration w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:138:16: note: Shadow variable w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:313:26: style: Local variable 'newcache' shadows outer variable [shadowVariable] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:277:18: note: Shadowed declaration w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:313:26: note: Shadow variable w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:580:55: style: Parameter 'fname' can be declared as pointer to const. However it seems that 'win_load_image' is a callback function, if 'fname' is declared with const you might also need to cast function pointer(s). [constParameterCallback] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:780:20: note: You might need to cast the function pointer here w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:580:55: note: Parameter 'fname' can be declared as pointer to const w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:653:47: style: Parameter 'img_unused' can be declared as pointer to const. However it seems that 'win_get_image_size' is a callback function, if 'img_unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:783:24: note: You might need to cast the function pointer here w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:653:47: note: Parameter 'img_unused' can be declared as pointer to const w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:653:65: style: Parameter 'fname' can be declared as pointer to const. However it seems that 'win_get_image_size' is a callback function, if 'fname' is declared with const you might also need to cast function pointer(s). [constParameterCallback] w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:783:24: note: You might need to cast the function pointer here w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:653:65: note: Parameter 'fname' can be declared as pointer to const w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:189:13: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] w3m-0.5.3+git20230121/w3mimgdisplay.c:41:2: warning: Return value of function freopen() is not used. [ignoredReturnValue] w3m-0.5.3+git20230121/table.c:1407:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] w3m-0.5.3+git20230121/table.c:3393:6: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] w3m-0.5.3+git20230121/table.c:2454:29: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] w3m-0.5.3+git20230121/table.c:2452:37: note: outer condition: tbl->linfo.prev_spaces>0 w3m-0.5.3+git20230121/table.c:2454:29: note: identical inner condition: tbl->linfo.prev_spaces>0 w3m-0.5.3+git20230121/table.c:2499:16: style: Local variable 'align' shadows outer function [shadowFunction] w3m-0.5.3+git20230121/proto.h:397:13: note: Shadowed declaration w3m-0.5.3+git20230121/table.c:2499:16: note: Shadow variable w3m-0.5.3+git20230121/table.c:3011:7: style: Local variable 'tmp' shadows outer variable [shadowVariable] w3m-0.5.3+git20230121/table.c:2498:14: note: Shadowed declaration w3m-0.5.3+git20230121/table.c:3011:7: note: Shadow variable w3m-0.5.3+git20230121/table.c:104:33: style: Parameter 'ent1' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/table.c:104:56: style: Parameter 'ent2' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/table.c:105:16: style: Parameter 'indexarray' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/table.c:131:34: style: Parameter 'ent' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/table.c:131:46: style: Parameter 'indexarray' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/table.c:181:15: style: Parameter 'dv' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/table.c:221:29: style: Parameter 't' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/table.c:229:29: style: Parameter 't' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/table.c:256:34: style: Parameter 't' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/table.c:398:51: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/table.c:433:11: style: Variable 't' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/table.c:777:17: style: Variable 't' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/table.c:852:32: style: Parameter 't' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/table.c:860:40: style: Parameter 'cellheight' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/table.c:861:11: style: Parameter 'row' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/table.c:861:23: style: Parameter 'rowspan' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/table.c:862:11: style: Parameter 'indexarray' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/table.c:893:42: style: Parameter 'cellwidth' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/table.c:894:11: style: Parameter 'col' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/table.c:894:23: style: Parameter 'colspan' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/table.c:895:11: style: Parameter 'indexarray' can be declared as pointer to const [constParameterPointer] w3m-0.5.3+git20230121/table.c:3251:16: style: Variable 'r' can be declared as pointer to const [constVariablePointer] w3m-0.5.3+git20230121/table.c:431:21: style: Variable 'prev_status' is assigned a value that is never used. [unreadVariable] w3m-0.5.3+git20230121/table.c:429:18: style: Variable 'n' is not assigned a value. [unassignedVariable] diff: head w3m-0.5.3+git20230121/Str.c:605:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/Str.c:618:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/backend.c:103:16: style: Redundant assignment of 'p->ptr->line' to itself. [selfAssignment] 2.13.0 w3m-0.5.3+git20230121/backend.c:103:16: warning: Redundant assignment of 'p->ptr->line' to itself. [selfAssignment] head w3m-0.5.3+git20230121/backend.c:127:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/backend.c:232:16: style: Parameter 'argv' can be declared as pointer to const [constParameterPointer] head w3m-0.5.3+git20230121/backend.c:243:16: style: Parameter 'argv' can be declared as pointer to const [constParameterPointer] head w3m-0.5.3+git20230121/backend.c:266:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/backend.c:321:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/display.c:1250:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/etc.c:1162:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable length [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/etc.c:1206:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXG [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/etc.c:1354:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/etc.c:1401:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/etc.c:1450:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/etc.c:1482:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/file.c:1551:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/file.c:1711:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_ARG [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/file.c:194:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_RETURN [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/file.c:2407:29: style: Parameter 'ch' can be declared as pointer to const [constParameterPointer] head w3m-0.5.3+git20230121/file.c:3240:34: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] head w3m-0.5.3+git20230121/file.c:393:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/file.c:439:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_SEPARATOR [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/file.c:6161:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNCNAME_gorURL [valueFlowBailoutIncompleteVar] 2.13.0 w3m-0.5.3+git20230121/file.c:6849:1: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] head w3m-0.5.3+git20230121/file.c:7275:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_ARG [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/file.c:7451:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_ARG [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/file.c:7666:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_ARG [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/file.c:7875:6: style: Redundant assignment of 'tmp' to itself. [selfAssignment] 2.13.0 w3m-0.5.3+git20230121/file.c:7875:6: warning: Redundant assignment of 'tmp' to itself. [selfAssignment] head w3m-0.5.3+git20230121/file.c:7982:18: style: Redundant assignment of 'buf->buffername' to itself. [selfAssignment] 2.13.0 w3m-0.5.3+git20230121/file.c:7982:18: warning: Redundant assignment of 'buf->buffername' to itself. [selfAssignment] head w3m-0.5.3+git20230121/file.c:8084:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_ARG [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/file.c:8193:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_ARG [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/file.c:8279:9: style: Redundant assignment of 'header' to itself. [selfAssignment] 2.13.0 w3m-0.5.3+git20230121/file.c:8279:9: warning: Redundant assignment of 'header' to itself. [selfAssignment] head w3m-0.5.3+git20230121/file.c:8367:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/file.c:8429:5: style: Redundant assignment of 'p' to itself. [selfAssignment] 2.13.0 w3m-0.5.3+git20230121/file.c:8429:5: warning: Redundant assignment of 'p' to itself. [selfAssignment] head w3m-0.5.3+git20230121/file.c:8477:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/file.c:8542:8: style: Redundant assignment of 'p' to itself. [selfAssignment] 2.13.0 w3m-0.5.3+git20230121/file.c:8542:8: warning: Redundant assignment of 'p' to itself. [selfAssignment] head w3m-0.5.3+git20230121/file.c:8593:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/file.c:8686:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/file.c:8698:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUNZIP_CMDNAME [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/file.c:8831:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/file.c:8881:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEF_SAVE_FILE [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/form.c:781:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/frame.c:413:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_ARG [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/ftp.c:240:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/ftp.c:405:7: style: Redundant assignment of 'pwd' to itself. [selfAssignment] 2.13.0 w3m-0.5.3+git20230121/ftp.c:405:7: warning: Redundant assignment of 'pwd' to itself. [selfAssignment] head w3m-0.5.3+git20230121/ftp.c:485:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_ARG [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/ftp.c:52:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_RETURN [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/func.c:130:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable old [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/func.c:186:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEYMAP_FILE [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/func.c:202:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable functable [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/func.c:70:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNCNAME_multimap [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/fuzz/fuzz-conv.c:21:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GC_oom_fn [valueFlowBailoutIncompleteVar] 2.13.0 w3m-0.5.3+git20230121/hash.c:26:1: style: Parameter 't' can be declared as pointer to const [constParameterPointer] 2.13.0 w3m-0.5.3+git20230121/hash.c:26:1: style: Variable 'hi' can be declared as pointer to const [constVariablePointer] 2.13.0 w3m-0.5.3+git20230121/hash.c:27:1: style: Parameter 't' can be declared as pointer to const [constParameterPointer] 2.13.0 w3m-0.5.3+git20230121/hash.c:27:1: style: Variable 'hi' can be declared as pointer to const [constVariablePointer] 2.13.0 w3m-0.5.3+git20230121/hash.c:28:1: style: Parameter 't' can be declared as pointer to const [constParameterPointer] 2.13.0 w3m-0.5.3+git20230121/hash.c:28:1: style: Variable 'hi' can be declared as pointer to const [constVariablePointer] 2.13.0 w3m-0.5.3+git20230121/hash.c:29:1: style: Parameter 't' can be declared as pointer to const [constParameterPointer] 2.13.0 w3m-0.5.3+git20230121/hash.c:29:1: style: Variable 'hi' can be declared as pointer to const [constVariablePointer] head w3m-0.5.3+git20230121/indep.c:111:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/indep.c:485:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entity [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/indep.c:731:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/indep.c:845:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUXBIN_DIR [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/indep.c:852:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CGIBIN_DIR [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/indep.c:858:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETC_DIR [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/indep.c:864:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONF_DIR [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/indep.c:870:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HELP_DIR [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/istream.c:194:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/istream.c:670:28: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'str_read' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] w3m-0.5.3+git20230121/istream.c:140:35: note: You might need to cast the function pointer here w3m-0.5.3+git20230121/istream.c:670:28: note: Parameter 'buf' can be declared as pointer to const head w3m-0.5.3+git20230121/libwc/sjis.c:105:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jisx02132_sjis_map [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/libwc/sjis.c:334:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sjis1_jisx02132_map [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/libwc/sjis.c:443:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jisx02132_sjis_map [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/libwc/sjis.c:587:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sjis1_jisx02132_map [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/linein.c:905:6: style: Redundant assignment of 'ifn' to itself. [selfAssignment] 2.13.0 w3m-0.5.3+git20230121/linein.c:905:6: warning: Redundant assignment of 'ifn' to itself. [selfAssignment] head w3m-0.5.3+git20230121/local.c:198:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IXUSR [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/local.c:410:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/local.c:45:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/main.c:1328:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/main.c:1388:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hseq [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/main.c:1394:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_ARG [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/main.c:1448:43: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] head w3m-0.5.3+git20230121/main.c:1598:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_RETURN [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/main.c:1607:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_RETURN [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/main.c:1629:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_RETURN [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/main.c:2131:6: style: Redundant assignment of 'cmd' to itself. [selfAssignment] 2.13.0 w3m-0.5.3+git20230121/main.c:2131:6: warning: Redundant assignment of 'cmd' to itself. [selfAssignment] head w3m-0.5.3+git20230121/main.c:2175:6: style: Redundant assignment of 'cmd' to itself. [selfAssignment] 2.13.0 w3m-0.5.3+git20230121/main.c:2175:6: warning: Redundant assignment of 'cmd' to itself. [selfAssignment] head w3m-0.5.3+git20230121/main.c:2207:6: style: Redundant assignment of 'cmd' to itself. [selfAssignment] 2.13.0 w3m-0.5.3+git20230121/main.c:2207:6: warning: Redundant assignment of 'cmd' to itself. [selfAssignment] head w3m-0.5.3+git20230121/main.c:2242:6: style: Redundant assignment of 'cmd' to itself. [selfAssignment] 2.13.0 w3m-0.5.3+git20230121/main.c:2242:6: warning: Redundant assignment of 'cmd' to itself. [selfAssignment] head w3m-0.5.3+git20230121/main.c:2249:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/main.c:2267:5: style: Redundant assignment of 'fn' to itself. [selfAssignment] 2.13.0 w3m-0.5.3+git20230121/main.c:2267:5: warning: Redundant assignment of 'fn' to itself. [selfAssignment] head w3m-0.5.3+git20230121/main.c:2290:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HELP_FILE [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/main.c:2670:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/main.c:337:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/main.c:400:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/main.c:443:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GC_oom_fn [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/main.c:4614:11: style: Redundant assignment of 'file' to itself. [selfAssignment] 2.13.0 w3m-0.5.3+git20230121/main.c:4614:11: warning: Redundant assignment of 'file' to itself. [selfAssignment] head w3m-0.5.3+git20230121/main.c:5221:11: style: Redundant assignment of 'browser' to itself. [selfAssignment] 2.13.0 w3m-0.5.3+git20230121/main.c:5221:11: warning: Redundant assignment of 'browser' to itself. [selfAssignment] head w3m-0.5.3+git20230121/main.c:5225:10: style: Redundant assignment of 'browser' to itself. [selfAssignment] 2.13.0 w3m-0.5.3+git20230121/main.c:5225:10: warning: Redundant assignment of 'browser' to itself. [selfAssignment] 2.13.0 w3m-0.5.3+git20230121/mktable.c:25:1: style: Parameter 't' can be declared as pointer to const [constParameterPointer] 2.13.0 w3m-0.5.3+git20230121/mktable.c:25:1: style: Variable 'hi' can be declared as pointer to const [constVariablePointer] head w3m-0.5.3+git20230121/regex.c:511:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/regex.c:659:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/symbol.c:167:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable alt_symbol [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/symbol.c:182:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable alt_symbol [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/symbol.c:188:22: warning: Uninitialized variable: buf [uninitvar] w3m-0.5.3+git20230121/symbol.c:183:23: note: Assuming condition is false w3m-0.5.3+git20230121/symbol.c:188:22: note: Uninitialized variable: buf head w3m-0.5.3+git20230121/table.c:1544:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nitem [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/table.c:1899:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nitem [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/table.c:3251:16: style: Variable 'r' can be declared as pointer to const [constVariablePointer] head w3m-0.5.3+git20230121/terms.c:1013:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/terms.c:1034:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/terms.c:1051:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/terms.c:1099:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_RETURN [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/terms.c:1105:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_ARGLIST [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/terms.c:1111:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_ARGLIST [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/terms.c:1117:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/terms.c:1170:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_TERM [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/terms.c:1681:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable highIntensityColors [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/terms.c:1720:11: style: Variable 'pc' can be declared as pointer to const [constVariablePointer] head w3m-0.5.3+git20230121/terms.c:2202:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISIG [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/terms.c:2219:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICANON [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/terms.c:2235:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECHO [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/terms.c:2241:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECHO [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/terms.c:2253:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISIG [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/terms.c:2276:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISIG [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/terms.c:2330:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/terms.c:2474:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/terms.c:963:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEV_TTY_PATH [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/url.c:2126:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_ARG [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/url.c:247:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_RETURN [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/url.c:513:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/url.c:556:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNAL_ARG [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/w3mimg/fb/fb.c:255:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cmap [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/w3mimg/fb/fb.c:592:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cmap [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/w3mimg/fb/fb_gdkpixbuf.c:299:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_HYPER [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:104:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable id [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:175:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w3mimg_op [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:53:24: style: Parameter 'self' can be declared as pointer to const. However it seems that 'w3mfb_sync' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:197:17: note: You might need to cast the function pointer here w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:53:24: note: Parameter 'self' can be declared as pointer to const head w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:59:25: style: Parameter 'self' can be declared as pointer to const. However it seems that 'w3mfb_close' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:198:18: note: You might need to cast the function pointer here w3m-0.5.3+git20230121/w3mimg/fb/fb_w3mimg.c:59:25: note: Parameter 'self' can be declared as pointer to const head w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:158:18: style: C-style pointer casting [cstyleCast] head w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:176:14: style: C-style pointer casting [cstyleCast] head w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:232:35: style: C-style pointer casting [cstyleCast] head w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:276:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:354:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:403:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:427:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:479:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Black [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:540:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:597:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nothrow [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:668:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nothrow [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:686:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:849:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:883:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:898:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FORMAT_MESSAGE_ALLOCATE_BUFFER [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/w3mimg/win/win_w3mimg.cpp:917:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head w3m-0.5.3+git20230121/w3mimgdisplay.c:285:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DONE