2026-07-26 14:07 ftp://ftp.de.debian.org/debian/pool/main/x/xpat2/xpat2_1.07.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --library=qt --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 -j96 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.4.0 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.21.0 head-info: 6640862 (2026-07-26 07:32:28 -0400) count: 234 232 elapsed-time: 1.2 0.2 head-timing-info: old-timing-info: head results: xpat2-1.07/src/X-pat.h:15:2: error: #error "You must define one of useXlib, useXaw, useXm, useXview" [preprocessorErrorDirective] xpat2-1.07/makecards/src/combine.c:45:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XpmSuccess [valueFlowBailoutIncompleteVar] xpat2-1.07/makecards/src/combine.c:62:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] xpat2-1.07/etc/wavplay.c:116:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] xpat2-1.07/makecards/src/combine.c:78:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpat2-1.07/etc/wavplay.c:217:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] xpat2-1.07/makecards/src/combine.c:104:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpat2-1.07/makecards/src/combine.c:134:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable panedWidgetClass [valueFlowBailoutIncompleteVar] xpat2-1.07/src/X-loadcards.c:35:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBDIR [valueFlowBailoutIncompleteVar] xpat2-1.07/src/X-loadcards.c:77:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARDBACK [valueFlowBailoutIncompleteVar] xpat2-1.07/makecards/src/rank.c:90:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DoRed [valueFlowBailoutIncompleteVar] xpat2-1.07/makecards/src/rank.c:112:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpat2-1.07/makecards/src/rank.c:164:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonPress [valueFlowBailoutIncompleteVar] xpat2-1.07/makecards/src/rank.c:185:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_BLACK_COLORS [valueFlowBailoutIncompleteVar] xpat2-1.07/src/Xm-cbstd.c:49:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGrabNone [valueFlowBailoutIncompleteVar] xpat2-1.07/makecards/src/rank.c:220:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable largerank_width [valueFlowBailoutIncompleteVar] xpat2-1.07/src/Xm-cbstd.c:85:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpat2-1.07/makecards/src/rank.c:244:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XpmSuccess [valueFlowBailoutIncompleteVar] xpat2-1.07/src/Xm-cbstd.c:94:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpat2-1.07/makecards/src/rank.c:251:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RED_COLOR [valueFlowBailoutIncompleteVar] xpat2-1.07/src/XQtCrdsDlg.cpp:119:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpat2-1.07/src/XQtCrdsDlg.cpp:148:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpat2-1.07/src/Xm-platform.c:31:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLATFORM [valueFlowBailoutIncompleteVar] xpat2-1.07/src/Xm-dialog.c:81:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmCR_OK [valueFlowBailoutIncompleteVar] xpat2-1.07/src/Xm-dialog.c:108:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNtitle [valueFlowBailoutIncompleteVar] xpat2-1.07/src/Xm-dialog.c:155:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNtitle [valueFlowBailoutIncompleteVar] xpat2-1.07/src/Xm-pixmap.c:93:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XpmCloseness [valueFlowBailoutIncompleteVar] xpat2-1.07/src/Xm-pixmap.c:135:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XpmCloseness [valueFlowBailoutIncompleteVar] xpat2-1.07/src/Xm-pixmap.c:183:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XpmCloseness [valueFlowBailoutIncompleteVar] xpat2-1.07/src/XQtArrows.cpp:117:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpat2-1.07/src/Xm-about.c:109:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmRString [valueFlowBailoutIncompleteVar] xpat2-1.07/src/Xm-about.c:142:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNtitle [valueFlowBailoutIncompleteVar] xpat2-1.07/src/XQtMarkCrd.cpp:63:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DiagCrossPattern [valueFlowBailoutIncompleteVar] xpat2-1.07/src/options.c:77:5: error: syntax error: keyword 'for' is not allowed in global scope [syntaxError] xpat2-1.07/src/loadsave.c:262:3: error: There is an unknown macro here somewhere. Configuration is required. If SCOREFILE is a macro then please configure it. [unknownMacro] xpat2-1.07/src/moc_XQtC.cpp:37:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable metaObj [valueFlowBailoutIncompleteVar] xpat2-1.07/src/mqhelpwin.cpp:37:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable metaObj [valueFlowBailoutIncompleteVar] xpat2-1.07/src/qhelpwin.cpp:33:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IO_ReadOnly [valueFlowBailoutIncompleteVar] xpat2-1.07/src/moc_XQtC.cpp:60:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable metaObj [valueFlowBailoutIncompleteVar] xpat2-1.07/src/mqhelpwin.cpp:60:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable metaObj [valueFlowBailoutIncompleteVar] xpat2-1.07/src/mqmaskedit.cpp:37:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable metaObj [valueFlowBailoutIncompleteVar] xpat2-1.07/src/moc_XQtT.cpp:37:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable metaObj [valueFlowBailoutIncompleteVar] xpat2-1.07/src/mqmaskedit.cpp:60:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable metaObj [valueFlowBailoutIncompleteVar] xpat2-1.07/src/moc_XQtT.cpp:60:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable metaObj [valueFlowBailoutIncompleteVar] xpat2-1.07/src/qmaskedit.cpp:96:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key_Backspace [valueFlowBailoutIncompleteVar] xpat2-1.07/src/moc_XQtCP.cpp:37:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable metaObj [valueFlowBailoutIncompleteVar] xpat2-1.07/src/moc_XQtCP.cpp:60:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable metaObj [valueFlowBailoutIncompleteVar] xpat2-1.07/src/XQtCards.h:59:5: style: Class 'XQtCards' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] xpat2-1.07/src/qmaskedit.h:31:5: style: Class 'QMaskEdit' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] xpat2-1.07/src/XQtTableau.h:55:5: style: Class 'XQtTableau' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] xpat2-1.07/etc/wavplay.c:222:2: portability: %d in format string (no. 2) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] xpat2-1.07/src/usage.c:3:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpat2-1.07/src/moves.c:771:8: error: syntax error [syntaxError] xpat2-1.07/etc/wavplay.c:206:45: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] xpat2-1.07/etc/wavplay.c:205:12: note: Assuming allocation function fails xpat2-1.07/etc/wavplay.c:205:12: note: Assignment 'fp=fopen("/tmp/audio.wav","wb")', assigned value is 0 xpat2-1.07/etc/wavplay.c:206:45: note: Null pointer dereference xpat2-1.07/src/XQtTableau.cpp:170:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpat2-1.07/src/XQtTableau.cpp:173:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpat2-1.07/src/XQtTableau.cpp:280:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable darkGreen [valueFlowBailoutIncompleteVar] xpat2-1.07/src/XQtTableau.cpp:350:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpat2-1.07/src/XQtTableau.cpp:369:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpat2-1.07/src/r_Calculatio.c:76:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpat2-1.07/etc/wavplay.c:51:34: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] xpat2-1.07/src/Xm-dialog.c:76:24: style: Variable 'cbstruct_ptr' can be declared as pointer to const [constVariablePointer] xpat2-1.07/etc/wavplay.c:65:27: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] xpat2-1.07/etc/wavplay.c:144:9: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] xpat2-1.07/src/XQtCrdPile.cpp:70:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MidButton [valueFlowBailoutIncompleteVar] xpat2-1.07/src/XQtCrdPile.cpp:127:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable darkGreen [valueFlowBailoutIncompleteVar] xpat2-1.07/src/Xm-dialog.c:102:10: style: Unused variable: children [unusedVariable] xpat2-1.07/src/Xm-dialog.c:105:12: style: Unused variable: xmstring [unusedVariable] xpat2-1.07/etc/wavplay.c:114:9: style: Variable 'fmt' is assigned a value that is never used. [unreadVariable] xpat2-1.07/src/Xm-dialog.c:149:10: style: Unused variable: children [unusedVariable] xpat2-1.07/etc/wavplay.c:122:7: style: Variable 'i' is assigned a value that is never used. [unreadVariable] xpat2-1.07/src/Xm-dialog.c:152:12: style: Unused variable: xmstring [unusedVariable] xpat2-1.07/src/r_Spider.c:104:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpat2-1.07/src/Xm-about.c:137:12: style: Unused variable: from_value [unusedVariable] xpat2-1.07/src/Xm-about.c:137:24: style: Unused variable: to_value [unusedVariable] xpat2-1.07/src/XQtMarkCrd.cpp:82:35: style:inconclusive: Function 'show_mark' argument 1 names different: declaration '' definition 'on'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/Xm-about.c:139:12: style: Unused variable: xmstring [unusedVariable] xpat2-1.07/src/messages.c:165:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpat2-1.07/src/messages.c:193:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBDIR [valueFlowBailoutIncompleteVar] xpat2-1.07/src/messages.c:239:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBDIR [valueFlowBailoutIncompleteVar] xpat2-1.07/src/messages.c:323:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpat2-1.07/src/messages.c:364:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpat2-1.07/src/XQtMarkCrd.cpp:84:23: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xpat2-1.07/src/XQtWindow.cpp:99:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpat2-1.07/src/XQtWindow.cpp:124:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpat2-1.07/src/XQtWindow.cpp:344:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpat2-1.07/src/XQtWindow.cpp:354:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpat2-1.07/src/XQtWindow.cpp:362:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpat2-1.07/src/XQtWindow.cpp:371:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpat2-1.07/src/XQtCrdsDlg.cpp:147:18: style: Variable 'fd' can be declared as pointer to const [constVariablePointer] xpat2-1.07/src/XQtWindow.cpp:380:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpat2-1.07/src/XQtWindow.cpp:391:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpat2-1.07/src/XQtWindow.cpp:594:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBDIR [valueFlowBailoutIncompleteVar] xpat2-1.07/src/XQtWindow.cpp:610:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBDIR [valueFlowBailoutIncompleteVar] xpat2-1.07/src/XQtCards.cpp:114:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpat2-1.07/src/XQtCards.cpp:246:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpat2-1.07/src/XQtCards.cpp:342:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpat2-1.07/src/r_Delight.c:62:7: style: Redundant initialization for 'p'. The initialized value is overwritten before it is read. [redundantInitialization] xpat2-1.07/src/r_Delight.c:60:28: note: p is initialized xpat2-1.07/src/r_Delight.c:62:7: note: p is overwritten xpat2-1.07/src/testit2.c:58:23: style: Parameter 'v' can be declared as const array [constParameter] xpat2-1.07/src/r_Oonsoo.c:47:7: style: Redundant initialization for 'p'. The initialized value is overwritten before it is read. [redundantInitialization] xpat2-1.07/src/r_Oonsoo.c:35:28: note: p is initialized xpat2-1.07/src/r_Oonsoo.c:47:7: note: p is overwritten xpat2-1.07/src/qmaskedit.cpp:64:30: style:inconclusive: Function 'setValue' argument 1 names different: declaration 'value' definition 'val'. [funcArgNamesDifferent] xpat2-1.07/src/qmaskedit.h:34:23: note: Function 'setValue' argument 1 names different: declaration 'value' definition 'val'. xpat2-1.07/src/qmaskedit.cpp:64:30: note: Function 'setValue' argument 1 names different: declaration 'value' definition 'val'. xpat2-1.07/src/qmaskedit.cpp:79:43: style:inconclusive: Function 'keyPressEvent' argument 1 names different: declaration '' definition 'qe'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/X-loadcards.c:14:7: style: struct member 'Anonymous0::hitype' is never used. [unusedStructMember] xpat2-1.07/src/X-loadcards.c:16:7: style: struct member 'Anonymous0::hinum' is never used. [unusedStructMember] xpat2-1.07/src/X-loadcards.c:18:7: style: struct member 'Anonymous0::hix' is never used. [unusedStructMember] xpat2-1.07/src/X-loadcards.c:20:7: style: struct member 'Anonymous0::hiy' is never used. [unusedStructMember] xpat2-1.07/src/X-loadcards.c:22:7: style: struct member 'Anonymous0::hirx' is never used. [unusedStructMember] xpat2-1.07/src/X-loadcards.c:24:7: style: struct member 'Anonymous0::hiry' is never used. [unusedStructMember] xpat2-1.07/src/X-loadcards.c:26:7: style: struct member 'Anonymous0::histddelta' is never used. [unusedStructMember] xpat2-1.07/src/X-loadcards.c:27:7: style: struct member 'Anonymous0::numjokers' is never used. [unusedStructMember] xpat2-1.07/src/X-loadcards.c:28:7: style: struct member 'Anonymous0::hinumjokers' is never used. [unusedStructMember] xpat2-1.07/src/X-loadcards.c:29:7: style: struct member 'Anonymous0::numcardbacks' is never used. [unusedStructMember] xpat2-1.07/src/X-loadcards.c:30:7: style: struct member 'Anonymous0::hinumcardbacks' is never used. [unusedStructMember] xpat2-1.07/src/XQtCrdsDlg.cpp:147:21: style: Variable 'fd' is assigned a value that is never used. [unreadVariable] xpat2-1.07/src/X-loadcards.c:31:7: style: struct member 'Anonymous0::fill' is never used. [unusedStructMember] xpat2-1.07/src/r_Michaels.c:45:13: style: Variable 'xoff' can be declared as const array [constVariable] xpat2-1.07/src/r_Michaels.c:46:13: style: Variable 'yoff' can be declared as const array [constVariable] xpat2-1.07/src/testit2.c:39:12: style: Unused variable: d [unusedVariable] xpat2-1.07/src/r_Midnight.c:66:7: style: Redundant initialization for 'p'. The initialized value is overwritten before it is read. [redundantInitialization] xpat2-1.07/src/r_Midnight.c:61:28: note: p is initialized xpat2-1.07/src/r_Midnight.c:66:7: note: p is overwritten xpat2-1.07/makecards/src/rank.c:25:42: style: Argument 'w' shadows outer variable [shadowVariable] xpat2-1.07/makecards/src/rank.c:78:17: note: Shadowed variable xpat2-1.07/makecards/src/rank.c:25:42: note: Shadow argument xpat2-1.07/src/r_Michaels.c:18:28: style: Variable 'p' is assigned a value that is never used. [unreadVariable] xpat2-1.07/makecards/src/rank.c:27:15: style: Variable 'bb' can be declared as pointer to const [constVariablePointer] xpat2-1.07/makecards/src/rank.c:133:9: style: Variable 'w_mask' is assigned a value that is never used. [unreadVariable] xpat2-1.07/src/r_MonteCarlo.c:110:7: style: Redundant initialization for 'p'. The initialized value is overwritten before it is read. [redundantInitialization] xpat2-1.07/src/r_MonteCarlo.c:107:28: note: p is initialized xpat2-1.07/src/r_MonteCarlo.c:110:7: note: p is overwritten xpat2-1.07/src/r_Royal.c:75:7: style: Redundant initialization for 'p'. The initialized value is overwritten before it is read. [redundantInitialization] xpat2-1.07/src/r_Royal.c:71:28: note: p is initialized xpat2-1.07/src/r_Royal.c:75:7: note: p is overwritten xpat2-1.07/src/util.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] xpat2-1.07/src/util.c:43:18: style:inconclusive: Function 'sprand' argument 1 names different: declaration '' definition 'seed'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/XQtTableau.cpp:354:9: style: The scope of the variable 'i' can be reduced. [variableScope] xpat2-1.07/src/XQtTableau.cpp:33:41: style:inconclusive: Function 'startDrag' argument 1 names different: declaration '' definition 'pile'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/XQtTableau.cpp:33:51: style:inconclusive: Function 'startDrag' argument 2 names different: declaration '' definition 'ox'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/XQtTableau.cpp:33:59: style:inconclusive: Function 'startDrag' argument 3 names different: declaration '' definition 'oy'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/XQtTableau.cpp:33:68: style:inconclusive: Function 'startDrag' argument 4 names different: declaration '' definition 'drag'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/XQtTableau.cpp:33:78: style:inconclusive: Function 'startDrag' argument 5 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/XQtTableau.cpp:33:85: style:inconclusive: Function 'startDrag' argument 6 names different: declaration '' definition 'y'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/XQtTableau.cpp:33:92: style:inconclusive: Function 'startDrag' argument 7 names different: declaration '' definition 'pilen'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/XQtTableau.cpp:69:35: style:inconclusive: Function 'startAnimate' argument 1 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/XQtTableau.cpp:69:42: style:inconclusive: Function 'startAnimate' argument 2 names different: declaration '' definition 'y'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/XQtTableau.cpp:162:27: style:inconclusive: Function 'Drag' argument 1 names different: declaration '' definition 'mx'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/XQtTableau.cpp:162:35: style:inconclusive: Function 'Drag' argument 2 names different: declaration '' definition 'my'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/XQtTableau.cpp:176:49: style:inconclusive: Function 'mouseReleaseEvent' argument 1 names different: declaration '' definition 'e'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/XQtTableau.cpp:197:40: style:inconclusive: Function 'request_confirm' argument 1 names different: declaration 'dofunc' definition 'a'. [funcArgNamesDifferent] xpat2-1.07/src/xpat.h:339:29: note: Function 'request_confirm' argument 1 names different: declaration 'dofunc' definition 'a'. xpat2-1.07/src/XQtTableau.cpp:197:40: note: Function 'request_confirm' argument 1 names different: declaration 'dofunc' definition 'a'. xpat2-1.07/src/XQtTableau.cpp:197:62: style:inconclusive: Function 'request_confirm' argument 2 names different: declaration 'prompt' definition 'b'. [funcArgNamesDifferent] xpat2-1.07/src/xpat.h:339:56: note: Function 'request_confirm' argument 2 names different: declaration 'prompt' definition 'b'. xpat2-1.07/src/XQtTableau.cpp:197:62: note: Function 'request_confirm' argument 2 names different: declaration 'prompt' definition 'b'. xpat2-1.07/src/XQtTableau.cpp:353:42: style:inconclusive: Function 'paintEvent' argument 1 names different: declaration '' definition 'event'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/XQtTableau.cpp:274:36: style: Argument 'rules' shadows outer variable [shadowVariable] xpat2-1.07/src/xpat.h:262:3: note: Shadowed variable xpat2-1.07/src/XQtTableau.cpp:274:36: note: Shadow argument xpat2-1.07/src/XQtTableau.cpp:88:23: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xpat2-1.07/src/XQtTableau.cpp:176:49: style: Either there is a missing override/final keyword, or the parameter 'e' can be declared as pointer to const [constParameterPointer] xpat2-1.07/src/XQtTableau.cpp:353:42: style: Either there is a missing override/final keyword, or the parameter 'event' can be declared as pointer to const [constParameterPointer] xpat2-1.07/src/XQtWindow.cpp:336:22: style: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_SaveGame' can be static. [functionStatic] xpat2-1.07/src/XQtWindow.h:33:10: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_SaveGame' can be static. xpat2-1.07/src/XQtWindow.cpp:336:22: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_SaveGame' can be static. xpat2-1.07/src/XQtWindow.cpp:398:22: style: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_UndoMove' can be static. [functionStatic] xpat2-1.07/src/XQtWindow.h:35:10: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_UndoMove' can be static. xpat2-1.07/src/XQtWindow.cpp:398:22: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_UndoMove' can be static. xpat2-1.07/src/XQtWindow.cpp:401:22: style: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_RedoMove' can be static. [functionStatic] xpat2-1.07/src/XQtWindow.h:36:10: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_RedoMove' can be static. xpat2-1.07/src/XQtWindow.cpp:401:22: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_RedoMove' can be static. xpat2-1.07/src/XQtWindow.cpp:412:22: style: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_DropBM' can be static. [functionStatic] xpat2-1.07/src/XQtWindow.h:38:10: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_DropBM' can be static. xpat2-1.07/src/XQtWindow.cpp:412:22: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_DropBM' can be static. xpat2-1.07/src/XQtWindow.cpp:415:22: style: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_GotoBM' can be static. [functionStatic] xpat2-1.07/src/XQtWindow.h:39:10: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_GotoBM' can be static. xpat2-1.07/src/XQtWindow.cpp:415:22: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_GotoBM' can be static. xpat2-1.07/src/XQtWindow.cpp:422:22: style: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_ShowScore' can be static. [functionStatic] xpat2-1.07/src/XQtWindow.h:42:10: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_ShowScore' can be static. xpat2-1.07/src/XQtWindow.cpp:422:22: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_ShowScore' can be static. xpat2-1.07/src/XQtWindow.cpp:428:22: style: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_Info' can be static. [functionStatic] xpat2-1.07/src/XQtWindow.h:43:10: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_Info' can be static. xpat2-1.07/src/XQtWindow.cpp:428:22: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_Info' can be static. xpat2-1.07/src/XQtWindow.cpp:425:22: style: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_ShowVersion' can be static. [functionStatic] xpat2-1.07/src/XQtWindow.h:44:10: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_ShowVersion' can be static. xpat2-1.07/src/XQtWindow.cpp:425:22: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_ShowVersion' can be static. xpat2-1.07/src/XQtWindow.cpp:431:22: style: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_AllToStack' can be static. [functionStatic] xpat2-1.07/src/XQtWindow.h:45:10: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_AllToStack' can be static. xpat2-1.07/src/XQtWindow.cpp:431:22: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_AllToStack' can be static. xpat2-1.07/src/XQtWindow.cpp:434:22: style: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_AllMoves' can be static. [functionStatic] xpat2-1.07/src/XQtWindow.h:46:10: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_AllMoves' can be static. xpat2-1.07/src/XQtWindow.cpp:434:22: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_AllMoves' can be static. xpat2-1.07/src/XQtWindow.cpp:437:22: style: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_NextHint' can be static. [functionStatic] xpat2-1.07/src/XQtWindow.h:47:10: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_NextHint' can be static. xpat2-1.07/src/XQtWindow.cpp:437:22: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_NextHint' can be static. xpat2-1.07/src/XQtWindow.cpp:440:22: style: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_PrevHint' can be static. [functionStatic] xpat2-1.07/src/XQtWindow.h:48:10: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_PrevHint' can be static. xpat2-1.07/src/XQtWindow.cpp:440:22: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_PrevHint' can be static. xpat2-1.07/src/XQtWindow.cpp:443:22: style: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_DoHint' can be static. [functionStatic] xpat2-1.07/src/XQtWindow.h:49:10: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_DoHint' can be static. xpat2-1.07/src/XQtWindow.cpp:443:22: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_DoHint' can be static. xpat2-1.07/src/XQtWindow.cpp:452:22: style: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_MinWindow' can be static. [functionStatic] xpat2-1.07/src/XQtWindow.h:50:10: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_MinWindow' can be static. xpat2-1.07/src/XQtWindow.cpp:452:22: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_MinWindow' can be static. xpat2-1.07/src/XQtWindow.cpp:455:22: style: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_PrefWindow' can be static. [functionStatic] xpat2-1.07/src/XQtWindow.h:51:10: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_PrefWindow' can be static. xpat2-1.07/src/XQtWindow.cpp:455:22: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_PrefWindow' can be static. xpat2-1.07/src/XQtWindow.cpp:446:22: style: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_RotateUp' can be static. [functionStatic] xpat2-1.07/src/XQtWindow.h:53:10: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_RotateUp' can be static. xpat2-1.07/src/XQtWindow.cpp:446:22: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_RotateUp' can be static. xpat2-1.07/src/XQtWindow.cpp:449:22: style: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_RotateDown' can be static. [functionStatic] xpat2-1.07/src/XQtWindow.h:54:10: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_RotateDown' can be static. xpat2-1.07/src/XQtWindow.cpp:449:22: note: Either there is a missing 'override', or the member function 'XQtXPat2Window::QtCmd_RotateDown' can be static. xpat2-1.07/src/XQtWindow.h:25:5: style: Class 'XQtXPat2Window' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] xpat2-1.07/src/layout.c:235:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpat2-1.07/src/moc_XQtW.cpp:37:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable metaObj [valueFlowBailoutIncompleteVar] xpat2-1.07/src/moc_XQtW.cpp:60:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable metaObj [valueFlowBailoutIncompleteVar] xpat2-1.07/src/XQtWindow.cpp:112:44: style:inconclusive: Function 'XQtXPat2Window' argument 1 names different: declaration 'rules' definition 'ruleset'. [funcArgNamesDifferent] xpat2-1.07/src/XQtWindow.h:25:32: note: Function 'XQtXPat2Window' argument 1 names different: declaration 'rules' definition 'ruleset'. xpat2-1.07/src/XQtWindow.cpp:112:44: note: Function 'XQtXPat2Window' argument 1 names different: declaration 'rules' definition 'ruleset'. xpat2-1.07/src/XQtWindow.cpp:302:42: style:inconclusive: Function 'show_message' argument 1 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/XQtWindow.cpp:165:19: style: Variable 'nexthint' can be declared as pointer to const [constVariablePointer] xpat2-1.07/src/XQtWindow.cpp:168:19: style: Variable 'dohint' can be declared as pointer to const [constVariablePointer] xpat2-1.07/src/XQtWindow.cpp:571:18: style: Variable 'hw' can be declared as pointer to const [constVariablePointer] xpat2-1.07/src/XQtWindow.cpp:606:18: style: Variable 'hw' can be declared as pointer to const [constVariablePointer] xpat2-1.07/src/XQtWindow.cpp:165:31: style: Variable 'nexthint' is assigned a value that is never used. [unreadVariable] xpat2-1.07/src/XQtWindow.cpp:168:31: style: Variable 'dohint' is assigned a value that is never used. [unreadVariable] xpat2-1.07/src/XQtWindow.cpp:602:8: style: Variable 'hw' is assigned a value that is never used. [unreadVariable] xpat2-1.07/src/XQtWindow.cpp:617:8: style: Variable 'hw' is assigned a value that is never used. [unreadVariable] xpat2-1.07/src/XQtWindow.cpp:314:1: error: va_list 'args' was opened but not closed by va_end(). [va_end_missing] xpat2-1.07/makecards/src/combine.c:42:60: style: Argument 'clip' shadows outer variable [shadowVariable] xpat2-1.07/makecards/src/combine.c:53:25: note: Shadowed variable xpat2-1.07/makecards/src/combine.c:42:60: note: Shadow argument xpat2-1.07/src/rules.c:37:25: style:inconclusive: Function 'stackable' argument 1 names different: declaration '' definition 'pile'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/rules.c:59:29: style:inconclusive: Function 'move_to_stack' argument 1 names different: declaration '' definition 'pile'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/rules.c:159:33: style:inconclusive: Function 'default_movevalid' argument 1 names different: declaration '' definition 'src'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/rules.c:159:48: style:inconclusive: Function 'default_movevalid' argument 2 names different: declaration '' definition 'dstpile'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/rules.c:234:26: style:inconclusive: Function 'move_valid' argument 1 names different: declaration '' definition 'src'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/rules.c:234:41: style:inconclusive: Function 'move_valid' argument 2 names different: declaration '' definition 'dstpile'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/rules.c:245:48: style:inconclusive: Function 'maxsequence' argument 2 names different: declaration 'cardind' definition 'cardi'. [funcArgNamesDifferent] xpat2-1.07/src/xpatgame.h:47:48: note: Function 'maxsequence' argument 2 names different: declaration 'cardind' definition 'cardi'. xpat2-1.07/src/rules.c:245:48: note: Function 'maxsequence' argument 2 names different: declaration 'cardind' definition 'cardi'. xpat2-1.07/src/r_BlueMoon.c:243:7: style: Redundant initialization for 'p'. The initialized value is overwritten before it is read. [redundantInitialization] xpat2-1.07/src/r_BlueMoon.c:240:28: note: p is initialized xpat2-1.07/src/r_BlueMoon.c:243:7: note: p is overwritten xpat2-1.07/src/arrows.c:139:4: style: Variable 'a' is reassigned a value before the old one has been used. [redundantAssignment] xpat2-1.07/src/arrows.c:137:7: note: a is assigned xpat2-1.07/src/arrows.c:139:4: note: a is overwritten xpat2-1.07/src/arrows.c:175:4: style: Variable 'a' is reassigned a value before the old one has been used. [redundantAssignment] xpat2-1.07/src/arrows.c:173:7: note: a is assigned xpat2-1.07/src/arrows.c:175:4: note: a is overwritten xpat2-1.07/src/arrows.c:209:21: style:inconclusive: Function 'show_arrow' argument 1 names different: declaration '' definition 'on'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/arrows.c:8:26: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xpat2-1.07/src/messages.c:390:6: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] xpat2-1.07/src/messages.c:390:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xpat2-1.07/src/messages.c:162:22: style:inconclusive: Function 'malloc_' argument 1 names different: declaration '' definition 'n'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/messages.c:171:26: style:inconclusive: Function 'strsav' argument 1 names different: declaration '' definition 'txt'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/messages.c:407:24: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] xpat2-1.07/src/messages.c:336:12: warning: Uninitialized variable: *cp [uninitvar] xpat2-1.07/src/hints.c:150:32: style:inconclusive: Function 'generic_automove' argument 1 names different: declaration '' definition 'srcindex'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/hints.c:231:45: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] xpat2-1.07/src/commands.c:106:24: style:inconclusive: Function 'jumpto_movenr' argument 1 names different: declaration 'movenr' definition 'move_ptr'. [funcArgNamesDifferent] xpat2-1.07/src/xpatgame.h:51:24: note: Function 'jumpto_movenr' argument 1 names different: declaration 'movenr' definition 'move_ptr'. xpat2-1.07/src/commands.c:106:24: note: Function 'jumpto_movenr' argument 1 names different: declaration 'movenr' definition 'move_ptr'. xpat2-1.07/src/commands.c:345:31: style:inconclusive: Function 'button_pressed' argument 1 names different: declaration 'pile' definition 'i'. [funcArgNamesDifferent] xpat2-1.07/src/xpat.h:356:31: note: Function 'button_pressed' argument 1 names different: declaration 'pile' definition 'i'. xpat2-1.07/src/commands.c:345:31: note: Function 'button_pressed' argument 1 names different: declaration 'pile' definition 'i'. xpat2-1.07/src/XQtCrdPile.cpp:28:48: style:inconclusive: Function 'mousePressEvent' argument 1 names different: declaration '' definition 'e'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/XQtCrdPile.cpp:99:50: style:inconclusive: Function 'mouseReleaseEvent' argument 1 names different: declaration '' definition 'e'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/XQtCrdPile.cpp:108:47: style:inconclusive: Function 'mouseMoveEvent' argument 1 names different: declaration '' definition 'e'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/XQtCrdPile.cpp:140:43: style:inconclusive: Function 'paintEvent' argument 1 names different: declaration '' definition 'event'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/XQtCrdPile.cpp:68:26: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xpat2-1.07/src/XQtCrdPile.cpp:143:26: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xpat2-1.07/src/XQtCrdPile.cpp:41:9: style: Variable 'button' is assigned a value that is never used. [unreadVariable] xpat2-1.07/src/XQtCrdPile.cpp:45:9: style: Variable 'button' is assigned a value that is never used. [unreadVariable] xpat2-1.07/src/XQtCrdPile.cpp:57:9: style: Variable 'button' is assigned a value that is never used. [unreadVariable] xpat2-1.07/src/XQtCrdPile.cpp:31:9: style: Variable 'cw' is assigned a value that is never used. [unreadVariable] xpat2-1.07/src/XQtCrdPile.cpp:31:37: style: Variable 'ch' is assigned a value that is never used. [unreadVariable] xpat2-1.07/src/layout.c:278:8: style: Condition '0&&rules.numslots==8' is always false [knownConditionTrueFalse] xpat2-1.07/src/XQtCards.cpp:313:46: style:inconclusive: Function 'local_constructor' argument 1 names different: declaration '' definition 'xpmdir'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/XQtCards.cpp:578:43: style:inconclusive: Function 'reloadGraphics' argument 1 names different: declaration '' definition 'xpmdir'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/layout.c:39:27: style:inconclusive: Function 'pile_resize' argument 1 names different: declaration '' definition 'pileno'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/layout.c:86:35: style:inconclusive: Function 'indep_generic_minwindow' argument 1 names different: declaration '' definition 'xcards'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/layout.c:86:48: style:inconclusive: Function 'indep_generic_minwindow' argument 2 names different: declaration '' definition 'xgaps'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/layout.c:87:14: style:inconclusive: Function 'indep_generic_minwindow' argument 3 names different: declaration '' definition 'ycards'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/layout.c:87:27: style:inconclusive: Function 'indep_generic_minwindow' argument 4 names different: declaration '' definition 'ygaps'. [funcArgNamesDifferentUnnamed] xpat2-1.07/src/layout.c:18:23: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xpat2-1.07/src/layout.c:260:13: style: Variable 'cdx' is assigned a value that is never used. [unreadVariable] xpat2-1.07/src/XQtCards.cpp:457:7: style: Unused variable: cx [unusedVariable] xpat2-1.07/src/XQtCards.cpp:457:11: style: Unused variable: cy [unusedVariable] xpat2-1.07/src/XQtCards.cpp:457:15: style: Unused variable: dl [unusedVariable] xpat2-1.07/src/XQt-main.cpp:62:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpat2-1.07/src/XQt-main.cpp:53:14: style: C-style pointer casting [cstyleCast] xpat2-1.07/src/XQt-main.cpp:55:14: style: C-style pointer casting [cstyleCast] xpat2-1.07/src/XQt-main.cpp:57:14: style: C-style pointer casting [cstyleCast] xpat2-1.07/src/XQt-main.cpp:42:6: style: The scope of the variable 'n' can be reduced. [variableScope] xpat2-1.07/src/options.c:17:24: style: Unused variable: geometry [unusedVariable] xpat2-1.07/src/options.c:18:50: style: Variable 'cardset' is assigned a value that is never used. [unreadVariable] xpat2-1.07/src/XQt-main.cpp:32:8: style: Unused variable: s [unusedVariable] diff: head xpat2-1.07/src/XQtTableau.cpp:176:49: style: Either there is a missing override/final keyword, or the parameter 'e' can be declared as pointer to const [constParameterPointer] 2.21.0 xpat2-1.07/src/XQtTableau.cpp:197:62: style:inconclusive: Function 'request_confirm' argument 2 names different: declaration '' definition 'b'. [funcArgNamesDifferentUnnamed] head xpat2-1.07/src/XQtTableau.cpp:197:62: style:inconclusive: Function 'request_confirm' argument 2 names different: declaration 'prompt' definition 'b'. [funcArgNamesDifferent] xpat2-1.07/src/xpat.h:339:56: note: Function 'request_confirm' argument 2 names different: declaration 'prompt' definition 'b'. xpat2-1.07/src/XQtTableau.cpp:197:62: note: Function 'request_confirm' argument 2 names different: declaration 'prompt' definition 'b'. head xpat2-1.07/src/XQtTableau.cpp:353:42: style: Either there is a missing override/final keyword, or the parameter 'event' can be declared as pointer to const [constParameterPointer] DONE