2024-04-09 20:08 ftp://ftp.de.debian.org/debian/pool/main/m/mgdiff/mgdiff_1.0+debian1.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 -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-102-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.55 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.13.0 head-info: 3ad4533 (2024-04-09 19:29:20 +0200) count: 103 50 elapsed-time: 4.5 3.1 head-timing-info: old-timing-info: head results: mgdiff-1.0+debian1/files.c:90:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/files.c:112:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/files.c:150:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmSTRING_DEFAULT_CHARSET [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/files.c:195:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNmessageString [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/files.c:211:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmSTRING_DEFAULT_CHARSET [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/files.c:233:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmSTRING_DEFAULT_CHARSET [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/files.c:326:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/files.c:414:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmSTRING_DEFAULT_CHARSET [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/files.c:436:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNdirectory [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/files.c:467:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmSTRING_DEFAULT_CHARSET [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/files.c:489:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNdirectory [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/files.c:533:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmSTRING_DEFAULT_CHARSET [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/files.c:583:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNdirectory [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/files.c:616:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/files.c:674:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/files.c:713:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/files.c:300:14: style: Condition 'end==val' is always false [knownConditionTrueFalse] mgdiff-1.0+debian1/files.c:690:46: style:inconclusive: Function 'save_as_filename' argument 2 names different: declaration 'b' definition 'closure'. [funcArgNamesDifferent] mgdiff-1.0+debian1/externs.h:64:53: note: Function 'save_as_filename' argument 2 names different: declaration 'b' definition 'closure'. mgdiff-1.0+debian1/files.c:690:46: note: Function 'save_as_filename' argument 2 names different: declaration 'b' definition 'closure'. mgdiff-1.0+debian1/files.c:690:61: style:inconclusive: Function 'save_as_filename' argument 3 names different: declaration 'name' definition 'filename'. [funcArgNamesDifferent] mgdiff-1.0+debian1/externs.h:64:62: note: Function 'save_as_filename' argument 3 names different: declaration 'name' definition 'filename'. mgdiff-1.0+debian1/files.c:690:61: note: Function 'save_as_filename' argument 3 names different: declaration 'name' definition 'filename'. mgdiff-1.0+debian1/files.c:85:33: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] mgdiff-1.0+debian1/files.c:142:48: style: Parameter 'msg1' can be declared as pointer to const [constParameterPointer] mgdiff-1.0+debian1/files.c:142:60: style: Parameter 'msg2' can be declared as pointer to const [constParameterPointer] mgdiff-1.0+debian1/files.c:286:29: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] mgdiff-1.0+debian1/files.c:609:36: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] mgdiff-1.0+debian1/files.c:668:44: style: Parameter 'chunk' can be declared as pointer to const [constParameterPointer] mgdiff-1.0+debian1/files.c:489:42: style: Variable 'i' is assigned a value that is never used. [unreadVariable] mgdiff-1.0+debian1/legend.c:88:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmPanedWindowWidgetClass [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/manual.c:63:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/manual.c:119:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable String [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/manual.c:71:3: error: Common realloc mistake: 'retval' nulled but not freed upon failure [memleakOnRealloc] mgdiff-1.0+debian1/mgdiff.c:240:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Expose [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:277:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ConfigureNotify [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:291:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:322:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Font [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:428:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNwidth [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:738:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNheight [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:768:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNforeground [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:840:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Font [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:901:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNchildren [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:914:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNchildren [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:980:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:1018:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:1028:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:1053:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:1063:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable String [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:1569:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNwidth [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:1624:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNwidth [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:1713:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmCR_PAGE_DECREMENT [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:1750:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNwidth [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:1772:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNwidth [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:1928:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNmaximum [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:1961:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNmaximum [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:1984:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmCR_VALUE_CHANGED [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:2005:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmCR_VALUE_CHANGED [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:2046:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmDIALOG_CANCEL_BUTTON [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:2076:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNvalue [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:2244:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNmaximum [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:2307:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:2325:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:2433:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonPress [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:2676:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/mgdiff.c:2374:3: warning: %li in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] mgdiff-1.0+debian1/mgdiff.c:2684:37: style:inconclusive: Function 'mgdiff_basename' argument 1 names different: declaration 'name' definition 'path'. [funcArgNamesDifferent] mgdiff-1.0+debian1/mgdiff.c:114:37: note: Function 'mgdiff_basename' argument 1 names different: declaration 'name' definition 'path'. mgdiff-1.0+debian1/mgdiff.c:2684:37: note: Function 'mgdiff_basename' argument 1 names different: declaration 'name' definition 'path'. mgdiff-1.0+debian1/mgdiff.c:2043:9: style: Local variable 'bitmap' shadows outer variable [shadowVariable] mgdiff-1.0+debian1/mgdiff.c:150:15: note: Shadowed declaration mgdiff-1.0+debian1/mgdiff.c:2043:9: note: Shadow variable mgdiff-1.0+debian1/mgdiff.c:220:80: style: Parameter 'continue_to_dispatch' can be declared as pointer to const. However it seems that 'Visible' is a callback function, if 'continue_to_dispatch' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mgdiff-1.0+debian1/mgdiff.c:1550:60: note: You might need to cast the function pointer here mgdiff-1.0+debian1/mgdiff.c:220:80: note: Parameter 'continue_to_dispatch' can be declared as pointer to const mgdiff-1.0+debian1/mgdiff.c:222:23: style: Variable 'e' can be declared as pointer to const [constVariablePointer] mgdiff-1.0+debian1/mgdiff.c:238:69: style: Parameter 'event' can be declared as pointer to const. However it seems that 'adjust_label' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mgdiff-1.0+debian1/mgdiff.c:1555:53: note: You might need to cast the function pointer here mgdiff-1.0+debian1/mgdiff.c:238:69: note: Parameter 'event' can be declared as pointer to const mgdiff-1.0+debian1/mgdiff.c:422:12: style: Variable 'curr_x_block' can be declared as pointer to const [constVariablePointer] mgdiff-1.0+debian1/mgdiff.c:919:48: style: Parameter 'event' can be declared as pointer to const. However it seems that 'do_nothing' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mgdiff-1.0+debian1/mgdiff.c:981:22: note: You might need to cast the function pointer here mgdiff-1.0+debian1/mgdiff.c:919:48: note: Parameter 'event' can be declared as pointer to const mgdiff-1.0+debian1/mgdiff.c:919:63: style: Parameter 'params' can be declared as pointer to const. However it seems that 'do_nothing' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mgdiff-1.0+debian1/mgdiff.c:981:22: note: You might need to cast the function pointer here mgdiff-1.0+debian1/mgdiff.c:919:63: note: Parameter 'params' can be declared as pointer to const mgdiff-1.0+debian1/mgdiff.c:919:81: style: Parameter 'num_params' can be declared as pointer to const. However it seems that 'do_nothing' is a callback function, if 'num_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mgdiff-1.0+debian1/mgdiff.c:981:22: note: You might need to cast the function pointer here mgdiff-1.0+debian1/mgdiff.c:919:81: note: Parameter 'num_params' can be declared as pointer to const mgdiff-1.0+debian1/mgdiff.c:1675:32: style: Variable 'cbs' can be declared as pointer to const [constVariablePointer] mgdiff-1.0+debian1/mgdiff.c:1700:32: style: Variable 'cbs' can be declared as pointer to const [constVariablePointer] mgdiff-1.0+debian1/mgdiff.c:1996:32: style: Variable 'cbs' can be declared as pointer to const [constVariablePointer] mgdiff-1.0+debian1/mgdiff.c:2125:32: style: Parameter 'file1' can be declared as pointer to const [constParameterPointer] mgdiff-1.0+debian1/mgdiff.c:2125:45: style: Parameter 'name1' can be declared as pointer to const [constParameterPointer] mgdiff-1.0+debian1/mgdiff.c:2125:58: style: Parameter 'file2' can be declared as pointer to const [constParameterPointer] mgdiff-1.0+debian1/mgdiff.c:2125:71: style: Parameter 'name2' can be declared as pointer to const [constParameterPointer] mgdiff-1.0+debian1/mgdiff.c:2168:31: style: Parameter 'file1' can be declared as pointer to const [constParameterPointer] mgdiff-1.0+debian1/mgdiff.c:2168:44: style: Parameter 'name1' can be declared as pointer to const [constParameterPointer] mgdiff-1.0+debian1/mgdiff.c:2203:32: style: Parameter 'file2' can be declared as pointer to const [constParameterPointer] mgdiff-1.0+debian1/mgdiff.c:2203:45: style: Parameter 'name2' can be declared as pointer to const [constParameterPointer] mgdiff-1.0+debian1/mgdiff.c:2312:69: style: Parameter 'target' can be declared as pointer to const. However it seems that 'do_selection' is a callback function, if 'target' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mgdiff-1.0+debian1/mgdiff.c:2556:53: note: You might need to cast the function pointer here mgdiff-1.0+debian1/mgdiff.c:2312:69: note: Parameter 'target' can be declared as pointer to const mgdiff-1.0+debian1/mgdiff.c:2319:11: style: Variable 'line' can be declared as pointer to const [constVariablePointer] mgdiff-1.0+debian1/mgdiff.c:2414:44: style: Parameter 'event' can be declared as pointer to const. However it seems that 'Select' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mgdiff-1.0+debian1/mgdiff.c:996:22: note: You might need to cast the function pointer here mgdiff-1.0+debian1/mgdiff.c:2414:44: note: Parameter 'event' can be declared as pointer to const mgdiff-1.0+debian1/mgdiff.c:2431:16: style: Variable 'curr_x_block' can be declared as pointer to const [constVariablePointer] mgdiff-1.0+debian1/mgdiff.c:2567:59: style: Parameter 'params' can be declared as pointer to const. However it seems that 'Scroll' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mgdiff-1.0+debian1/mgdiff.c:994:22: note: You might need to cast the function pointer here mgdiff-1.0+debian1/mgdiff.c:2567:59: note: Parameter 'params' can be declared as pointer to const mgdiff-1.0+debian1/mgdiff.c:2567:77: style: Parameter 'num_params' can be declared as pointer to const. However it seems that 'Scroll' is a callback function, if 'num_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mgdiff-1.0+debian1/mgdiff.c:994:22: note: You might need to cast the function pointer here mgdiff-1.0+debian1/mgdiff.c:2567:77: note: Parameter 'num_params' can be declared as pointer to const mgdiff-1.0+debian1/mgdiff.c:421:22: style: Variable 'x_selection' is assigned a value that is never used. [unreadVariable] mgdiff-1.0+debian1/mgdiff.c:425:14: style: Variable 'x_selection' is assigned a value that is never used. [unreadVariable] mgdiff-1.0+debian1/misc.c:77:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/misc.c:113:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XC_watch [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/misc.c:169:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNchildren [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/modal.c:87:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmDIALOG_HELP_BUTTON [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/rundiff.c:210:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/rundiff.c:672:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/rundiff.c:556:9: style: Local variable 'ch' shadows outer variable [shadowVariable] mgdiff-1.0+debian1/rundiff.c:525:37: note: Shadowed declaration mgdiff-1.0+debian1/rundiff.c:556:9: note: Shadow variable mgdiff-1.0+debian1/rundiff.c:523:31: style: Parameter 's' can be declared as pointer to const [constParameterPointer] mgdiff-1.0+debian1/rundiff.c:600:40: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] mgdiff-1.0+debian1/spawn.c:60:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mgdiff-1.0+debian1/spawn.c:97:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mgdiff-1.0+debian1/spawn.c:99:3: error: Common realloc mistake: 'argv' nulled but not freed upon failure [memleakOnRealloc] mgdiff-1.0+debian1/spawn.c:106:6: error: Common realloc mistake: 'argv' nulled but not freed upon failure [memleakOnRealloc] diff: head mgdiff-1.0+debian1/files.c:112:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/files.c:150:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmSTRING_DEFAULT_CHARSET [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/files.c:195:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNmessageString [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/files.c:211:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmSTRING_DEFAULT_CHARSET [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/files.c:233:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmSTRING_DEFAULT_CHARSET [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/files.c:326:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/files.c:414:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmSTRING_DEFAULT_CHARSET [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/files.c:436:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNdirectory [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/files.c:467:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmSTRING_DEFAULT_CHARSET [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/files.c:489:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNdirectory [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/files.c:533:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmSTRING_DEFAULT_CHARSET [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/files.c:583:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNdirectory [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/files.c:616:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/files.c:674:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/files.c:713:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/manual.c:119:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable String [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:1018:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:1028:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:1053:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:1063:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable String [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:1569:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNwidth [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:1624:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNwidth [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:1713:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmCR_PAGE_DECREMENT [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:1750:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNwidth [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:1772:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNwidth [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:1928:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNmaximum [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:1961:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNmaximum [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:1984:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmCR_VALUE_CHANGED [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:2005:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmCR_VALUE_CHANGED [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:2046:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmDIALOG_CANCEL_BUTTON [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:2076:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNvalue [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:220:80: style: Parameter 'continue_to_dispatch' can be declared as pointer to const. However it seems that 'Visible' is a callback function, if 'continue_to_dispatch' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mgdiff-1.0+debian1/mgdiff.c:1550:60: note: You might need to cast the function pointer here mgdiff-1.0+debian1/mgdiff.c:220:80: note: Parameter 'continue_to_dispatch' can be declared as pointer to const head mgdiff-1.0+debian1/mgdiff.c:2244:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNmaximum [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:2307:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:2325:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:2433:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonPress [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:2676:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:277:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ConfigureNotify [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:291:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:322:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Font [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:428:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNwidth [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:738:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNheight [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:768:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNforeground [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:840:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Font [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:901:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNchildren [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:914:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNchildren [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/mgdiff.c:919:48: style: Parameter 'event' can be declared as pointer to const. However it seems that 'do_nothing' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mgdiff-1.0+debian1/mgdiff.c:981:22: note: You might need to cast the function pointer here mgdiff-1.0+debian1/mgdiff.c:919:48: note: Parameter 'event' can be declared as pointer to const head mgdiff-1.0+debian1/mgdiff.c:919:63: style: Parameter 'params' can be declared as pointer to const. However it seems that 'do_nothing' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mgdiff-1.0+debian1/mgdiff.c:981:22: note: You might need to cast the function pointer here mgdiff-1.0+debian1/mgdiff.c:919:63: note: Parameter 'params' can be declared as pointer to const head mgdiff-1.0+debian1/mgdiff.c:919:81: style: Parameter 'num_params' can be declared as pointer to const. However it seems that 'do_nothing' is a callback function, if 'num_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mgdiff-1.0+debian1/mgdiff.c:981:22: note: You might need to cast the function pointer here mgdiff-1.0+debian1/mgdiff.c:919:81: note: Parameter 'num_params' can be declared as pointer to const head mgdiff-1.0+debian1/mgdiff.c:980:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/misc.c:113:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XC_watch [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/misc.c:169:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNchildren [valueFlowBailoutIncompleteVar] head mgdiff-1.0+debian1/rundiff.c:672:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] DONE