2025-07-20 18:28 ftp://ftp.de.debian.org/debian/pool/main/a/acfax/acfax_981011.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.12-9-pve-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.18.0 head-info: 4b794ee (2025-07-20 19:56:18 +0200) count: 165 165 elapsed-time: 0.6 0.6 head-timing-info: old-timing-info: head results: acfax/Canvas.c:147:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GXcopy [valueFlowBailoutIncompleteVar] acfax/Canvas.c:187:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] acfax/Canvas.c:225:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acfax/Canvas.c:239:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] acfax/Canvas.c:292:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtPointer [valueFlowBailoutIncompleteVar] acfax/Canvas.c:310:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acfax/Canvas.c:352:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acfax/Canvas.c:466:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] acfax/Canvas.c:482:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] acfax/Canvas.c:235:19: style: Parameter 'intended' can be declared as pointer to const. However it seems that 'QueryGeometry' is a callback function, if 'intended' is declared with const you might also need to cast function pointer(s). [constParameterCallback] acfax/Canvas.c:118:27: note: You might need to cast the function pointer here acfax/Canvas.c:235:19: note: Parameter 'intended' can be declared as pointer to const acfax/Canvas.c:466:7: error: Uninitialized variable: attr [uninitvar] acfax/Canvas.c:482:7: error: Uninitialized variable: attr [uninitvar] acfax/Directory.h:49:0: debug: Failed to parse 'typedef ERROR , ONE OF THESE MUST BE DEFINED struct { DIR * filep ; char path [ MAXPATHLEN + 2 ] ; } DIRECTORY ;'. The checking continues anyway. [simplifyTypedef] acfax/DirMgr.c:122:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acfax/DirMgr.c:193:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acfax/DirMgr.c:358:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RE_SYNTAX_EGREP [valueFlowBailoutIncompleteVar] acfax/DirMgr.c:394:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acfax/DirMgr.c:431:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] acfax/DirMgr.c:443:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] acfax/DirMgr.c:455:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last_access [valueFlowBailoutIncompleteVar] acfax/DirMgr.c:463:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last_access [valueFlowBailoutIncompleteVar] acfax/DirMgr.c:206:8: style: Condition 'f_func' is always true [knownConditionTrueFalse] acfax/DirMgr.c:281:7: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] acfax/DirMgr.c:284:12: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] acfax/DirMgr.c:227:7: warning: Uninitialized variables: dm_data.file_type, dm_data.broken_link, dm_data.directory_link, dm_data.self_info, dm_data.actual_info [uninitvar] acfax/DirMgr.c:225:6: note: Assuming condition is false acfax/DirMgr.c:227:7: note: Uninitialized variables: dm_data.file_type, dm_data.broken_link, dm_data.directory_link, dm_data.self_info, dm_data.actual_info acfax/DirMgr.c:227:28: warning: Uninitialized variables: dm_ptrs.file_type, dm_ptrs.broken_link, dm_ptrs.directory_link, dm_ptrs.self_info, dm_ptrs.actual_info [uninitvar] acfax/DirMgr.c:226:6: note: Assuming condition is false acfax/DirMgr.c:227:28: note: Uninitialized variables: dm_ptrs.file_type, dm_ptrs.broken_link, dm_ptrs.directory_link, dm_ptrs.self_info, dm_ptrs.actual_info acfax/Directory.c:85:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] acfax/Directory.c:182:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] acfax/Directory.c:210:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] acfax/Directory.c:184:6: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] acfax/Directory.c:186:6: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] acfax/Directory.c:209:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] acfax/Directory.c:83:24: style: Variable '_ep' can be declared as pointer to const [constVariablePointer] acfax/Directory.c:179:7: style: Parameter 'old_path' can be declared as pointer to const [constParameterPointer] acfax/Directory.c:207:11: style: Parameter 'de' can be declared as pointer to const [constParameterPointer] acfax/FChooser.c:233:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] acfax/FChooser.c:289:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InputOutput [valueFlowBailoutIncompleteVar] acfax/FChooser.c:310:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_dir [valueFlowBailoutIncompleteVar] acfax/FChooser.c:359:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_dir [valueFlowBailoutIncompleteVar] acfax/FChooser.c:404:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGeometryYes [valueFlowBailoutIncompleteVar] acfax/FChooser.c:430:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dir_menu_button [valueFlowBailoutIncompleteVar] acfax/FChooser.c:471:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dir_menu_button [valueFlowBailoutIncompleteVar] acfax/FChooser.c:517:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dir_menu_button [valueFlowBailoutIncompleteVar] acfax/FChooser.c:598:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_dir [valueFlowBailoutIncompleteVar] acfax/FChooser.c:647:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dir_mgr [valueFlowBailoutIncompleteVar] acfax/FChooser.c:670:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dir_mgr [valueFlowBailoutIncompleteVar] acfax/FChooser.c:681:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_file [valueFlowBailoutIncompleteVar] acfax/FChooser.c:695:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_file [valueFlowBailoutIncompleteVar] acfax/FChooser.c:724:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] acfax/FChooser.c:773:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] acfax/FChooser.c:882:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_dir [valueFlowBailoutIncompleteVar] acfax/FChooser.c:897:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_dir [valueFlowBailoutIncompleteVar] acfax/FChooser.c:904:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_file [valueFlowBailoutIncompleteVar] acfax/FChooser.c:250:2: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] acfax/FChooser.c:842:24: style: Redundant condition: The condition '*start != '\0'' is redundant since '*start == '/'' is sufficient. [redundantCondition] acfax/FChooser.c:521:17: style: Variable 'menuButtonW' is reassigned a value before the old one has been used. [redundantAssignment] acfax/FChooser.c:517:17: note: menuButtonW is assigned acfax/FChooser.c:521:17: note: menuButtonW is overwritten acfax/FChooser.c:401:19: style: Parameter 'request' can be declared as pointer to const. However it seems that 'GeometryManager' is a callback function, if 'request' is declared with const you might also need to cast function pointer(s). [constParameterCallback] acfax/FChooser.c:196:29: note: You might need to cast the function pointer here acfax/FChooser.c:401:19: note: Parameter 'request' can be declared as pointer to const acfax/FChooser.c:402:19: style: Parameter 'reply' can be declared as pointer to const. However it seems that 'GeometryManager' is a callback function, if 'reply' is declared with const you might also need to cast function pointer(s). [constParameterCallback] acfax/FChooser.c:196:29: note: You might need to cast the function pointer here acfax/FChooser.c:402:19: note: Parameter 'reply' can be declared as pointer to const acfax/FChooser.c:624:26: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] acfax/FChooser.c:645:15: style: Variable 'dir_entry' can be declared as pointer to const [constVariablePointer] acfax/FChooser.c:772:15: style: Variable 'dir_entry' can be declared as pointer to const [constVariablePointer] acfax/FChooser.c:880:7: style: Parameter 'dir' can be declared as pointer to const [constParameterPointer] acfax/FChooser.c:357:39: style: Variable 'fcw_request' is assigned a value that is never used. [unreadVariable] acfax/FChooser.c:357:27: style: Variable 'fcw_request' is assigned a value that is never used. [unreadVariable] acfax/FChooser.c:500:22: style: Unused variable: parent_idea [unusedVariable] acfax/FChooser.c:500:34: style: Unused variable: child_idea [unusedVariable] acfax/RegExp.c:32:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOSUB [valueFlowBailoutIncompleteVar] acfax/RegExp.c:58:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acfax/RegExp.c:29:7: style: Parameter 'regexp' can be declared as pointer to const [constParameterPointer] acfax/RegExp.c:40:7: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] acfax/RegExp.c:41:10: style: Parameter 'fsm_ptr' can be declared as pointer to const [constParameterPointer] acfax/RegExp.c:64:7: style: Parameter 'pattern' can be declared as pointer to const [constParameterPointer] acfax/acfax.c:294:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acfax/acfax.c:380:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] acfax/acfax.c:419:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] acfax/acfax.c:438:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbitmap [valueFlowBailoutIncompleteVar] acfax/acfax.c:465:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbitmap [valueFlowBailoutIncompleteVar] acfax/acfax.c:475:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acfax/acfax.c:503:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] acfax/acfax.c:515:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] acfax/acfax.c:525:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] acfax/acfax.c:539:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] acfax/acfax.c:553:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] acfax/acfax.c:567:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] acfax/acfax.c:581:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] acfax/acfax.c:595:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] acfax/acfax.c:610:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNsensitive [valueFlowBailoutIncompleteVar] acfax/acfax.c:631:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcallback [valueFlowBailoutIncompleteVar] acfax/acfax.c:643:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNsensitive [valueFlowBailoutIncompleteVar] acfax/acfax.c:669:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] acfax/acfax.c:755:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtPointer [valueFlowBailoutIncompleteVar] acfax/acfax.c:835:12: warning: If memory allocation fails, then there is a possible null pointer dereference: save_fsa.dir_io [nullPointerOutOfMemory] acfax/acfax.c:834:27: note: Assuming allocation function fails acfax/acfax.c:834:27: note: Assignment 'save_fsa.dir_io=malloc(256)', assigned value is 0 acfax/acfax.c:835:12: note: Null pointer dereference acfax/acfax.c:292:25: style: Parameter 'prgname' can be declared as pointer to const [constParameterPointer] acfax/acfax.c:601:11: style: Variable 'xp' can be declared as pointer to const [constVariablePointer] acfax/acfax.c:623:11: style: Variable 'xp' can be declared as pointer to const [constVariablePointer] acfax/acfax.c:660:11: style: Variable 'xp' can be declared as pointer to const [constVariablePointer] acfax/fax_funcs.c:118:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acfax/fax_funcs.c:193:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acfax/fax_funcs.c:478:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PI [valueFlowBailoutIncompleteVar] acfax/fax_funcs.c:756:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PI [valueFlowBailoutIncompleteVar] acfax/fax_funcs.c:909:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acfax/fax_funcs.c:1157:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acfax/fax_funcs.c:1168:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acfax/fax_funcs.c:1177:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acfax/fax_funcs.c:1199:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acfax/fax_funcs.c:1233:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acfax/fax_funcs.c:1259:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acfax/fax_funcs.c:1266:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acfax/fax_funcs.c:1275:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acfax/fax_funcs.c:1284:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acfax/fax_funcs.c:1293:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acfax/fax_funcs.c:1449:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PI [valueFlowBailoutIncompleteVar] acfax/fax_funcs.c:692:39: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] acfax/fax_funcs.c:568:5: portability: %d in format string (no. 3) requires 'int' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] acfax/fax_funcs.c:761:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] acfax/fax_funcs.c:1199:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] acfax/fax_funcs.c:1199:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] acfax/fax_funcs.c:128:26: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] acfax/fax_funcs.c:125:20: note: Assuming allocation function fails acfax/fax_funcs.c:125:20: note: Assignment 'core_dta=malloc(4560<<10)', assigned value is 0 acfax/fax_funcs.c:128:26: note: Null pointer addition acfax/fax_funcs.c:306:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] acfax/fax_funcs.c:309:7: note: Found duplicate branches for 'if' and 'else'. acfax/fax_funcs.c:306:5: note: Found duplicate branches for 'if' and 'else'. acfax/fax_funcs.c:746:14: style: Local variable 'flip' shadows outer variable [shadowVariable] acfax/fax_funcs.c:66:5: note: Shadowed declaration acfax/fax_funcs.c:746:14: note: Shadow variable acfax/fax_funcs.c:1230:7: style: Local variable 'flip' shadows outer variable [shadowVariable] acfax/fax_funcs.c:66:5: note: Shadowed declaration acfax/fax_funcs.c:1230:7: note: Shadow variable acfax/fax_funcs.c:679:24: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] acfax/fax_funcs.c:725:34: style: Variable 'ldpend' can be declared as pointer to const [constVariablePointer] acfax/fax_funcs.c:728:16: style: Variable 'save_wptr' can be declared as pointer to const [constVariablePointer] acfax/fax_funcs.c:888:9: style: Variable 'dtaptr' can be declared as pointer to const [constVariablePointer] acfax/fax_funcs.c:1300:23: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] acfax/fax_funcs.c:175:10: style: Unused variable: old_func [unusedVariable] acfax/fax_funcs.c:1389:7: style: Unused variable: space [unusedVariable] acfax/fax_funcs.c:1433:38: style: Unused variable: idx_p0 [unusedVariable] acfax/fax_funcs.c:1560:15: style: Unused variable: msk [unusedVariable] acfax/mod_demod.c:102:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PI [valueFlowBailoutIncompleteVar] acfax/mod_demod.c:123:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PI [valueFlowBailoutIncompleteVar] acfax/mod_demod.c:205:5: error: Overlapping read/write in memcpy() is undefined behavior [overlappingWriteFunction] acfax/mod_demod.c:322:5: error: Overlapping read/write in memcpy() is undefined behavior [overlappingWriteFunction] acfax/sblaster.c:79:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acfax/sblaster.c:157:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acfax/sblaster.c:202:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acfax/sblaster.c:245:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acfax/sblaster.c:291:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SNDCTL_DSP_SPEED [valueFlowBailoutIncompleteVar] acfax/sblaster.c:65:15: style: Variable 'linevol' is assigned a value that is never used. [unreadVariable] acfax/sblaster.c:66:17: style: Variable 'mastervol' is assigned a value that is never used. [unreadVariable] acfax/sblaster.c:65:7: style: Variable 'linevol' is assigned a value that is never used. [unreadVariable] acfax/sblaster.c:66:7: style: Variable 'mastervol' is assigned a value that is never used. [unreadVariable] acfax/widgets.c:124:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable formWidgetClass [valueFlowBailoutIncompleteVar] acfax/widgets.c:258:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable formWidgetClass [valueFlowBailoutIncompleteVar] acfax/widgets.c:489:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable formWidgetClass [valueFlowBailoutIncompleteVar] acfax/widgets.c:609:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable formWidgetClass [valueFlowBailoutIncompleteVar] acfax/widgets.c:638:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable applicationShellWidgetClass [valueFlowBailoutIncompleteVar] acfax/widgets.c:668:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable transientShellWidgetClass [valueFlowBailoutIncompleteVar] acfax/widgets.c:740:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] acfax/widgets.c:750:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] acfax/widgets.c:774:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNtitle [valueFlowBailoutIncompleteVar] acfax/widgets.c:789:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable applicationShellWidgetClass [valueFlowBailoutIncompleteVar] acfax/widgets.c:876:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNtitle [valueFlowBailoutIncompleteVar] acfax/widgets.c:936:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbitmap [valueFlowBailoutIncompleteVar] acfax/widgets.c:911:12: style: Local variable 'dpy' shadows outer variable [shadowVariable] acfax/global.h:37:17: note: Shadowed declaration acfax/widgets.c:911:12: note: Shadow variable acfax/x_image.c:89:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acfax/x_image.c:145:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AllocAll [valueFlowBailoutIncompleteVar] acfax/x_image.c:266:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acfax/x_image.c:321:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] acfax/x_image.c:289:22: warning: Either the condition 'i==256' is redundant or the array 'cused[256]' is accessed at index 256, which is out of bounds. [arrayIndexOutOfBoundsCond] acfax/x_image.c:290:15: note: Assuming that condition 'i==256' is not redundant acfax/x_image.c:289:22: note: Array index out of bounds acfax/x_image.c:329:15: warning: Either the condition 'i==256' is redundant or the array 'cused[256]' is accessed at index 256, which is out of bounds. [arrayIndexOutOfBoundsCond] acfax/x_image.c:330:8: note: Assuming that condition 'i==256' is not redundant acfax/x_image.c:329:15: note: Array index out of bounds acfax/x_image.c:289:22: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] acfax/x_image.c:329:15: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] acfax/x_image.c:349:7: 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] diff: DONE