2026-05-05 21:18 ftp://ftp.de.debian.org/debian/pool/main/x/x2gokdriveclient/x2gokdriveclient_0.0.0.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=qt --library=zlib --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.12.85+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.70 compiler: g++ (20250906) 15.2.0 cppcheck: head 2.20.0 head-info: 6278f6b (2026-05-05 15:01:04 +0200) count: 346 341 elapsed-time: 0.9 0.8 head-timing-info: old-timing-info: head results: x2gokdriveclient-0.0.0.1/src/client.cpp:84:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:189:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:216:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SocketError [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:256:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:306:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSWindowsFixedSizeDialogHint [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:350:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:434:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Window [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:457:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:519:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:615:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:781:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:790:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:813:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:942:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:1039:96: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Format_ARGB32 [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:1069:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:1080:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:1108:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:1167:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:1203:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:1236:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:1292:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:1645:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:1771:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:1819:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:2018:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:2033:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:2064:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:2111:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:2121:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:2129:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:2146:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:2180:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:2187:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:2214:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:2259:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:2326:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:2429:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:2479:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Selection [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:2544:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:2632:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:2649:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:2676:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:2692:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:2708:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/client.cpp:1161:5: warning: Return value of function inflateInit() is not used. [ignoredReturnValue] x2gokdriveclient-0.0.0.1/src/client.cpp:1162:5: warning: Return value of function inflate() is not used. [ignoredReturnValue] x2gokdriveclient-0.0.0.1/src/client.h:191:10: style:inconclusive: Technically the member function 'DgramPacket::isComplete' can be const. [functionConst] x2gokdriveclient-0.0.0.1/src/client.h:193:9: style:inconclusive: Technically the member function 'DgramPacket::getNumberOfDatagrams' can be const. [functionConst] x2gokdriveclient-0.0.0.1/src/client.h:194:16: style:inconclusive: Technically the member function 'DgramPacket::getData' can be const. [functionConst] x2gokdriveclient-0.0.0.1/src/client.h:195:14: style:inconclusive: Technically the member function 'DgramPacket::getPacketSeq' can be const. [functionConst] x2gokdriveclient-0.0.0.1/src/client.h:222:10: style:inconclusive: Either there is a missing 'override', or the member function 'Client::needUpdate' can be const. [functionConst] x2gokdriveclient-0.0.0.1/src/client.h:228:10: style:inconclusive: Either there is a missing 'override', or the member function 'Client::serverSupportsExtSelection' can be const. [functionConst] x2gokdriveclient-0.0.0.1/src/client.h:229:19: style:inconclusive: Either there is a missing 'override', or the member function 'Client::clipboardMode' can be const. [functionConst] x2gokdriveclient-0.0.0.1/src/client.h:238:10: style:inconclusive: Either there is a missing 'override', or the member function 'Client::isRootless' can be const. [functionConst] x2gokdriveclient-0.0.0.1/src/client.h:239:26: style:inconclusive: Either there is a missing 'override', or the member function 'Client::getExtWindows' can be const. [functionConst] x2gokdriveclient-0.0.0.1/src/client.h:244:13: style:inconclusive: Either there is a missing 'override', or the member function 'Client::getPublicServerVersion' can be const. [functionConst] x2gokdriveclient-0.0.0.1/src/client.cpp:1060:14: style: Either there is a missing 'override', or the member function 'Client::setCursor' can be static. [functionStatic] x2gokdriveclient-0.0.0.1/src/client.h:310:10: note: Either there is a missing 'override', or the member function 'Client::setCursor' can be static. x2gokdriveclient-0.0.0.1/src/client.cpp:1060:14: note: Either there is a missing 'override', or the member function 'Client::setCursor' can be static. x2gokdriveclient-0.0.0.1/src/client.cpp:2197:34: debug: CheckClass::isMemberVar found used member variable 'width' with varid 0 [varid0] x2gokdriveclient-0.0.0.1/src/client.cpp:1797:13: style: Either there is a missing 'override', or the member function 'Client::findPacket' can be static. [functionStatic] x2gokdriveclient-0.0.0.1/src/client.h:318:9: note: Either there is a missing 'override', or the member function 'Client::findPacket' can be static. x2gokdriveclient-0.0.0.1/src/client.cpp:1797:13: note: Either there is a missing 'override', or the member function 'Client::findPacket' can be static. x2gokdriveclient-0.0.0.1/src/extwin.h:39:14: style:inconclusive: Either there is a missing 'override', or the member function 'ExtWin::getPtr' can be const. [functionConst] x2gokdriveclient-0.0.0.1/src/extwin.h:44:13: style:inconclusive: Either there is a missing 'override', or the member function 'ExtWin::getWindowType' can be const. [functionConst] x2gokdriveclient-0.0.0.1/src/extwin.h:46:14: style:inconclusive: Either there is a missing 'override', or the member function 'ExtWin::getParentId' can be const. [functionConst] x2gokdriveclient-0.0.0.1/src/extwin.h:47:14: style:inconclusive: Either there is a missing 'override', or the member function 'ExtWin::getNextSibId' can be const. [functionConst] x2gokdriveclient-0.0.0.1/src/extwin.h:48:14: style:inconclusive: Either there is a missing 'override', or the member function 'ExtWin::getExtWinId' can be const. [functionConst] x2gokdriveclient-0.0.0.1/src/extwin.h:49:14: style:inconclusive: Either there is a missing 'override', or the member function 'ExtWin::getTransWinId' can be const. [functionConst] x2gokdriveclient-0.0.0.1/src/extwin.h:55:13: style:inconclusive: Either there is a missing 'override', or the member function 'ExtWin::getHasFocus' can be const. [functionConst] x2gokdriveclient-0.0.0.1/src/client.h:194:16: performance: Function 'getData()' should return member 'data' by const reference. [returnByReference] x2gokdriveclient-0.0.0.1/src/client.h:239:26: performance: Function 'getExtWindows()' should return member 'extWindows' by const reference. [returnByReference] x2gokdriveclient-0.0.0.1/src/client.cpp:2219:13: style: Condition 'i<=3' is always true [knownConditionTrueFalse] x2gokdriveclient-0.0.0.1/src/client.cpp:2210:11: note: Assuming that condition 'i<4' is not redundant x2gokdriveclient-0.0.0.1/src/client.cpp:2219:13: note: Condition 'i<=3' is always true x2gokdriveclient-0.0.0.1/src/client.cpp:80:22: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:84:75: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:89:79: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:234:26: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:250:10: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:465:21: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:477:21: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:524:25: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:533:33: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:560:9: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:568:15: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:944:30: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:980:63: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1039:20: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1157:22: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1169:20: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1280:25: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1342:26: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1345:23: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1359:39: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1637:55: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1827:25: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1830:19: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1838:24: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1839:25: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1841:22: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2217:28: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2286:21: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2287:21: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2313:26: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2563:20: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2564:20: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2576:25: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2577:25: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/client.cpp:400:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:939:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:941:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:966:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:967:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:967:61: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:967:91: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:968:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:969:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:969:61: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:974:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:974:76: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:974:106: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:974:137: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:975:43: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:975:74: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:975:105: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:975:135: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1006:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1007:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1007:61: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1007:91: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1008:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1009:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1009:61: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1066:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1076:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1096:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1096:67: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1097:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1097:63: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1098:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1098:62: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1233:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1278:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1321:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1323:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1325:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1327:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1329:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1331:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1333:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1335:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1337:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1339:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1348:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1355:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1413:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1511:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1544:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1553:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1563:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1568:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1573:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1577:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1578:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1579:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1580:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1626:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1674:43: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1674:72: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1674:102: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1674:133: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1675:43: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1675:74: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1675:105: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1675:135: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1709:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1931:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:1939:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2200:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2201:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2202:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2227:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2228:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2229:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2230:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2256:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2257:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2258:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2279:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2280:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2281:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2282:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2283:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2284:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2285:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2300:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2301:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2561:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2562:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2578:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2579:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2631:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2641:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2642:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2698:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2705:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2718:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/client.cpp:2331:9: style: The scope of the variable 'screenIndex' can be reduced. [variableScope] x2gokdriveclient-0.0.0.1/src/client.cpp:165:65: style:inconclusive: Function 'OutputChunk' argument 2 names different: declaration 'mimeType' definition 'mime'. [funcArgNamesDifferent] x2gokdriveclient-0.0.0.1/src/client.h:178:56: note: Function 'OutputChunk' argument 2 names different: declaration 'mimeType' definition 'mime'. x2gokdriveclient-0.0.0.1/src/client.cpp:165:65: note: Function 'OutputChunk' argument 2 names different: declaration 'mimeType' definition 'mime'. x2gokdriveclient-0.0.0.1/src/client.h:324:46: style:inconclusive: Function 'setInputSelectionData' argument 1 names different: declaration 'selection' definition ''. [funcArgNamesDifferentUnnamed] x2gokdriveclient-0.0.0.1/src/client.h:255:51: style:inconclusive: Function 'socketError' argument 1 names different: declaration 'socketError' definition ''. [funcArgNamesDifferentUnnamed] x2gokdriveclient-0.0.0.1/src/client.cpp:713:33: style: Local variable 'parts' shadows outer variable [shadowVariable] x2gokdriveclient-0.0.0.1/src/client.cpp:703:25: note: Shadowed declaration x2gokdriveclient-0.0.0.1/src/client.cpp:713:33: note: Shadow variable x2gokdriveclient-0.0.0.1/src/client.cpp:719:21: style: Local variable 'title' shadows outer variable [shadowVariable] x2gokdriveclient-0.0.0.1/src/client.cpp:716:29: note: Shadowed declaration x2gokdriveclient-0.0.0.1/src/client.cpp:719:21: note: Shadow variable x2gokdriveclient-0.0.0.1/src/client.cpp:904:12: style: Local variable 'currentFrame' shadows outer variable [shadowVariable] x2gokdriveclient-0.0.0.1/src/client.h:368:12: note: Shadowed declaration x2gokdriveclient-0.0.0.1/src/client.cpp:904:12: note: Shadow variable x2gokdriveclient-0.0.0.1/src/client.cpp:938:17: style: Local variable 'messageBuffer' shadows outer variable [shadowVariable] x2gokdriveclient-0.0.0.1/src/client.h:382:11: note: Shadowed declaration x2gokdriveclient-0.0.0.1/src/client.cpp:938:17: note: Shadow variable x2gokdriveclient-0.0.0.1/src/client.cpp:2195:14: style: Local variable 'width' shadows outer variable [shadowVariable] x2gokdriveclient-0.0.0.1/src/client.h:333:9: note: Shadowed declaration x2gokdriveclient-0.0.0.1/src/client.cpp:2195:14: note: Shadow variable x2gokdriveclient-0.0.0.1/src/client.cpp:2195:21: style: Local variable 'height' shadows outer variable [shadowVariable] x2gokdriveclient-0.0.0.1/src/client.h:334:9: note: Shadowed declaration x2gokdriveclient-0.0.0.1/src/client.cpp:2195:21: note: Shadow variable x2gokdriveclient-0.0.0.1/src/client.cpp:2554:13: style: Local variable 'firstChunk' shadows outer variable [shadowVariable] x2gokdriveclient-0.0.0.1/src/client.h:396:10: note: Shadowed declaration x2gokdriveclient-0.0.0.1/src/client.cpp:2554:13: note: Shadow variable x2gokdriveclient-0.0.0.1/src/client.cpp:2555:13: style: Local variable 'lastChunk' shadows outer variable [shadowVariable] x2gokdriveclient-0.0.0.1/src/client.h:398:10: note: Shadowed declaration x2gokdriveclient-0.0.0.1/src/client.cpp:2555:13: note: Shadow variable x2gokdriveclient-0.0.0.1/src/client.cpp:2556:14: style: Local variable 'compressed_size' shadows outer variable [shadowVariable] x2gokdriveclient-0.0.0.1/src/client.h:400:14: note: Shadowed declaration x2gokdriveclient-0.0.0.1/src/client.cpp:2556:14: note: Shadow variable x2gokdriveclient-0.0.0.1/src/client.cpp:78:39: performance: Function parameter 'dgram' should be passed by const reference. [passedByValue] x2gokdriveclient-0.0.0.1/src/client.cpp:719:21: performance: Range variable 'title' should be declared as const reference. [iterateByValue] x2gokdriveclient-0.0.0.1/src/client.cpp:323:14: style: Variable 'hoveredAction' can be declared as pointer to const [constVariablePointer] x2gokdriveclient-0.0.0.1/src/client.cpp:1408:29: style: Variable 'parentWin' can be declared as pointer to const [constVariablePointer] x2gokdriveclient-0.0.0.1/src/client.cpp:2213:16: style: Variable 'scr' can be declared as pointer to const [constVariablePointer] x2gokdriveclient-0.0.0.1/src/client.cpp:722:25: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] x2gokdriveclient-0.0.0.1/src/client.cpp:1256:9: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] x2gokdriveclient-0.0.0.1/src/client.cpp:93:17: style: Variable 'dataSize' is assigned a value that is never used. [unreadVariable] x2gokdriveclient-0.0.0.1/src/client.cpp:98:17: style: Variable 'dataSize' is assigned a value that is never used. [unreadVariable] x2gokdriveclient-0.0.0.1/src/client.cpp:477:19: style: Variable 'geometry' is assigned a value that is never used. [unreadVariable] x2gokdriveclient-0.0.0.1/src/client.cpp:1413:34: style: Variable 'parentWin' is assigned a value that is never used. [unreadVariable] x2gokdriveclient-0.0.0.1/src/client.cpp:1887:18: style: Variable 'packetInd' is assigned a value that is never used. [unreadVariable] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:108:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StrongFocus [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:156:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:222:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LeftButton [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:463:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftModifier [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:219:23: style:inconclusive: Either there is a missing 'override', or the member function 'DisplayArea::X11MouseButtonsState' can be const. [functionConst] x2gokdriveclient-0.0.0.1/src/displayarea.h:56:14: note: Either there is a missing 'override', or the member function 'DisplayArea::X11MouseButtonsState' can be const. x2gokdriveclient-0.0.0.1/src/displayarea.cpp:219:23: note: Either there is a missing 'override', or the member function 'DisplayArea::X11MouseButtonsState' can be const. x2gokdriveclient-0.0.0.1/src/displayarea.cpp:237:23: style:inconclusive: Either there is a missing 'override', or the member function 'DisplayArea::X11MouseButton' can be const. [functionConst] x2gokdriveclient-0.0.0.1/src/displayarea.h:57:14: note: Either there is a missing 'override', or the member function 'DisplayArea::X11MouseButton' can be const. x2gokdriveclient-0.0.0.1/src/displayarea.cpp:237:23: note: Either there is a missing 'override', or the member function 'DisplayArea::X11MouseButton' can be const. x2gokdriveclient-0.0.0.1/src/displayarea.cpp:460:23: style:inconclusive: Either there is a missing 'override', or the member function 'DisplayArea::qtModifiers2pc105' can be const. [functionConst] x2gokdriveclient-0.0.0.1/src/displayarea.h:59:14: note: Either there is a missing 'override', or the member function 'DisplayArea::qtModifiers2pc105' can be const. x2gokdriveclient-0.0.0.1/src/displayarea.cpp:460:23: note: Either there is a missing 'override', or the member function 'DisplayArea::qtModifiers2pc105' can be const. x2gokdriveclient-0.0.0.1/src/displayarea.cpp:114:19: style: Either there is a missing 'override', or the member function 'DisplayArea::grabKeyboard' can be static. [functionStatic] x2gokdriveclient-0.0.0.1/src/displayarea.h:60:10: note: Either there is a missing 'override', or the member function 'DisplayArea::grabKeyboard' can be static. x2gokdriveclient-0.0.0.1/src/displayarea.cpp:114:19: note: Either there is a missing 'override', or the member function 'DisplayArea::grabKeyboard' can be static. x2gokdriveclient-0.0.0.1/src/displayarea.cpp:183:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:208:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:268:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:274:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:275:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:276:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:294:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:295:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:296:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:313:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:314:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:315:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:341:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:342:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:343:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:362:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:363:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:364:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:414:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:415:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:416:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:423:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:424:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:425:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:453:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:454:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:455:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/displayarea.cpp:135:43: style:inconclusive: Function 'paintEvent' argument 1 names different: declaration '' definition 'ev'. [funcArgNamesDifferentUnnamed] x2gokdriveclient-0.0.0.1/src/extwin.cpp:408:1: error: Unmatched '}'. Configuration: '__GNUC__=1'. [syntaxError] x2gokdriveclient-0.0.0.1/src/menuframe.cpp:49:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable orientation [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/menuframe.cpp:60:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable orientation [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/menuframe.cpp:89:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bPin [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/menuframe.cpp:173:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bPin [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/menuframe.cpp:238:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable orientation [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/menuframe.cpp:305:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable orientation [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/menuframe.cpp:326:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Window [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/menuframe.cpp:351:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable drag [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/menuframe.cpp:470:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hovered [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/menuframe.cpp:503:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable drag [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/menuframe.cpp:511:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable drag [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/menuframe.cpp:517:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/menuframe.cpp:328:11: style: Obsolete function 'QString::sprintf' called. It is recommended to use 'QString::asprintf', 'QString::arg' or 'QTextStream' instead. [prohibitedsprintfCalled] x2gokdriveclient-0.0.0.1/src/menuframe.cpp:128:21: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/screenidentifier.cpp:30:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AlignCenter [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:46:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:174:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xcb_atom_t [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:252:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_EVENT_MASK_NO_EVENT [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:342:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_XFIXES_SELECTION_NOTIFY [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:437:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:455:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_EVENT_MASK_NO_EVENT [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:473:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:486:91: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_PROPERTY_DELETE [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:533:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_PROPERTY_NEW_VALUE [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:556:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_GET_PROPERTY_TYPE_ANY [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:754:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_ATOM_PRIMARY [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:763:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_ATOM_PRIMARY [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:779:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_CURRENT_TIME [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:840:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:865:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_SELECTION_NOTIFY [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:985:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_PROP_MODE_REPLACE [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:1028:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:1050:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:1083:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:1129:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_PROP_MODE_REPLACE [valueFlowBailoutIncompleteVar] x2gokdriveclient-0.0.0.1/src/xcbclip.h:90:26: warning: Member variable 'InputSelection::selMime' has no initializer. [uninitMemberVarNoCtor] x2gokdriveclient-0.0.0.1/src/xcbclip.h:90:26: warning: Member variable 'InputSelection::state' has no initializer. [uninitMemberVarNoCtor] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:752:24: style:inconclusive: Either there is a missing 'override', or the member function 'XCBClip::selection_from_atom' can be const. [functionConst] x2gokdriveclient-0.0.0.1/src/xcbclip.h:59:19: note: Either there is a missing 'override', or the member function 'XCBClip::selection_from_atom' can be const. x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:752:24: note: Either there is a missing 'override', or the member function 'XCBClip::selection_from_atom' can be const. x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:760:21: style:inconclusive: Either there is a missing 'override', or the member function 'XCBClip::atom_from_selection' can be const. [functionConst] x2gokdriveclient-0.0.0.1/src/xcbclip.h:60:16: note: Either there is a missing 'override', or the member function 'XCBClip::atom_from_selection' can be const. x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:760:21: note: Either there is a missing 'override', or the member function 'XCBClip::atom_from_selection' can be const. x2gokdriveclient-0.0.0.1/src/xcbclip.h:36:5: style: Class 'XCBClip' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:865:5: warning: If memory allocation fails, then there is a possible null pointer dereference: event [nullPointerOutOfMemory] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:864:79: note: Assuming allocation function fails x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:864:42: note: Assignment 'event=(xcb_selection_notify_event_t*)calloc(32,1)', assigned value is 0 x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:865:5: note: Null pointer dereference x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:866:5: warning: If memory allocation fails, then there is a possible null pointer dereference: event [nullPointerOutOfMemory] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:864:79: note: Assuming allocation function fails x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:864:42: note: Assignment 'event=(xcb_selection_notify_event_t*)calloc(32,1)', assigned value is 0 x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:866:5: note: Null pointer dereference x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:867:5: warning: If memory allocation fails, then there is a possible null pointer dereference: event [nullPointerOutOfMemory] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:864:79: note: Assuming allocation function fails x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:864:42: note: Assignment 'event=(xcb_selection_notify_event_t*)calloc(32,1)', assigned value is 0 x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:867:5: note: Null pointer dereference x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:868:5: warning: If memory allocation fails, then there is a possible null pointer dereference: event [nullPointerOutOfMemory] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:864:79: note: Assuming allocation function fails x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:864:42: note: Assignment 'event=(xcb_selection_notify_event_t*)calloc(32,1)', assigned value is 0 x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:868:5: note: Null pointer dereference x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:869:5: warning: If memory allocation fails, then there is a possible null pointer dereference: event [nullPointerOutOfMemory] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:864:79: note: Assuming allocation function fails x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:864:42: note: Assignment 'event=(xcb_selection_notify_event_t*)calloc(32,1)', assigned value is 0 x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:869:5: note: Null pointer dereference x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:870:5: warning: If memory allocation fails, then there is a possible null pointer dereference: event [nullPointerOutOfMemory] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:864:79: note: Assuming allocation function fails x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:864:42: note: Assignment 'event=(xcb_selection_notify_event_t*)calloc(32,1)', assigned value is 0 x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:870:5: note: Null pointer dereference x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:173:20: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:578:35: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:664:52: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:864:42: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:986:50: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:999:46: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:1008:46: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:1130:45: style: C-style pointer casting [cstyleCast] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:252:80: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:255:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:344:59: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:421:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:522:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:860:40: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:885:77: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:895:77: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:931:73: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:40:39: style: The scope of the variable 'xfixes_query' can be reduced. [variableScope] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:546:13: style: The scope of the variable 'stype' can be reduced. [variableScope] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:546:20: style: The scope of the variable 'sprop' can be reduced. [variableScope] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:548:18: style: The scope of the variable 'bytes_left' can be reduced. [variableScope] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:548:30: style: The scope of the variable 'bytes_read' can be reduced. [variableScope] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:551:18: style: The scope of the variable 'chunk' can be reduced. [variableScope] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:94:56: style: Checking if unsigned expression 'i' is less than zero. [unsignedLessThanZero] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:263:56: style: Checking if unsigned expression 'i' is less than zero. [unsignedLessThanZero] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:181:60: style:inconclusive: Function 'best_atom_from_list' argument 1 names different: declaration 'atoms' definition 'list'. [funcArgNamesDifferent] x2gokdriveclient-0.0.0.1/src/xcbclip.h:46:55: note: Function 'best_atom_from_list' argument 1 names different: declaration 'atoms' definition 'list'. x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:181:60: note: Function 'best_atom_from_list' argument 1 names different: declaration 'atoms' definition 'list'. x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:465:55: style:inconclusive: Function 'remove_obsolete_incr_transactions' argument 1 names different: declaration 'checkTS' definition 'checkTs'. [funcArgNamesDifferent] x2gokdriveclient-0.0.0.1/src/xcbclip.h:71:49: note: Function 'remove_obsolete_incr_transactions' argument 1 names different: declaration 'checkTS' definition 'checkTs'. x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:465:55: note: Function 'remove_obsolete_incr_transactions' argument 1 names different: declaration 'checkTS' definition 'checkTs'. x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:937:71: style:inconclusive: Function 'delay_selection_request' argument 1 names different: declaration 'reqest' definition 'request'. [funcArgNamesDifferent] x2gokdriveclient-0.0.0.1/src/xcbclip.h:62:66: note: Function 'delay_selection_request' argument 1 names different: declaration 'reqest' definition 'request'. x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:937:71: note: Function 'delay_selection_request' argument 1 names different: declaration 'reqest' definition 'request'. x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:109:30: style: Local variable 'reply' shadows outer variable [shadowVariable] x2gokdriveclient-0.0.0.1/src/xcbclip.h:77:40: note: Shadowed declaration x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:109:30: note: Shadow variable x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:155:32: style: Local variable 'reply' shadows outer variable [shadowVariable] x2gokdriveclient-0.0.0.1/src/xcbclip.h:77:40: note: Shadowed declaration x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:155:32: note: Shadow variable x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:550:31: style: Local variable 'reply' shadows outer variable [shadowVariable] x2gokdriveclient-0.0.0.1/src/xcbclip.h:77:40: note: Shadowed declaration x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:550:31: note: Shadow variable x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:1018:111: performance: Function parameter 'data' should be passed by const reference. [passedByValue] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:242:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:571:18: style: Variable 'stype' is assigned a value that is never used. [unreadVariable] x2gokdriveclient-0.0.0.1/src/xcbclip.cpp:572:18: style: Variable 'sprop' is assigned a value that is never used. [unreadVariable] diff: head x2gokdriveclient-0.0.0.1/src/client.h:255:51: style:inconclusive: Function 'socketError' argument 1 names different: declaration 'socketError' definition ''. [funcArgNamesDifferentUnnamed] head x2gokdriveclient-0.0.0.1/src/client.h:324:46: style:inconclusive: Function 'setInputSelectionData' argument 1 names different: declaration 'selection' definition ''. [funcArgNamesDifferentUnnamed] head x2gokdriveclient-0.0.0.1/src/displayarea.cpp:135:43: style:inconclusive: Function 'paintEvent' argument 1 names different: declaration '' definition 'ev'. [funcArgNamesDifferentUnnamed] head x2gokdriveclient-0.0.0.1/src/xcbclip.h:90:26: warning: Member variable 'InputSelection::selMime' has no initializer. [uninitMemberVarNoCtor] head x2gokdriveclient-0.0.0.1/src/xcbclip.h:90:26: warning: Member variable 'InputSelection::state' has no initializer. [uninitMemberVarNoCtor] DONE