2022-06-28 21:46 ftp://ftp.de.debian.org/debian/pool/main/j/jack-capture/jack-capture_0.9.73.orig.tar.gz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j1 platform: Linux-5.4.0-121-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.24 compiler: g++ (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 cppcheck: head 2.8 head-info: 1852944 (2022-06-28 22:52:35 +0200) count: 158 158 elapsed-time: 382.6 485.6 head-timing-info: Tokenizer::simplifyTokens1: 126.07s (avg. 25.2141s - 5 result(s)) Tokenizer::simplifyTokens1::ValueFlow: 125.939s (avg. 25.1878s - 5 result(s)) Tokenizer::simplifyTokens1::createSymbolDatabase: 0.063301s (avg. 0.0126602s - 5 result(s)) Tokenizer::createTokens: 0.021776s (avg. 0.00362933s - 6 result(s)) Tokenizer::simplifyTokens1::setValueType: 0.019837s (avg. 0.0039674s - 5 result(s)) Overall time: 252.215s old-timing-info: Tokenizer::simplifyTokens1: 160.041s (avg. 32.0082s - 5 result(s)) Tokenizer::simplifyTokens1::ValueFlow: 159.909s (avg. 31.9818s - 5 result(s)) Tokenizer::simplifyTokens1::createSymbolDatabase: 0.065791s (avg. 0.0131582s - 5 result(s)) Tokenizer::simplifyTokens1::setValueType: 0.018884s (avg. 0.0037768s - 5 result(s)) Tokenizer::createTokens: 0.018079s (avg. 0.00301317s - 6 result(s)) Overall time: 320.146s head results: jack_capture-0.9.73/jack_capture.c:1018:3: warning: Return value of function asprintf() is not used. [ignoredReturnValue] jack_capture-0.9.73/jack_capture.c:1027:3: warning: Return value of function asprintf() is not used. [ignoredReturnValue] jack_capture-0.9.73/jack_capture.c:1028:3: warning: Return value of function asprintf() is not used. [ignoredReturnValue] jack_capture-0.9.73/jack_capture.c:1029:3: warning: Return value of function asprintf() is not used. [ignoredReturnValue] jack_capture-0.9.73/jack_capture.c:1030:3: warning: Return value of function asprintf() is not used. [ignoredReturnValue] jack_capture-0.9.73/jack_capture.c:1039:3: warning: Return value of function asprintf() is not used. [ignoredReturnValue] jack_capture-0.9.73/jack_capture.c:1040:3: warning: Return value of function asprintf() is not used. [ignoredReturnValue] jack_capture-0.9.73/jack_capture.c:1041:3: warning: Return value of function asprintf() is not used. [ignoredReturnValue] jack_capture-0.9.73/jack_capture.c:1050:3: warning: Return value of function asprintf() is not used. [ignoredReturnValue] jack_capture-0.9.73/jack_capture.c:1051:3: warning: Return value of function asprintf() is not used. [ignoredReturnValue] jack_capture-0.9.73/jack_capture.c:1052:3: warning: Return value of function asprintf() is not used. [ignoredReturnValue] jack_capture-0.9.73/jack_capture.c:1053:3: warning: Return value of function asprintf() is not used. [ignoredReturnValue] jack_capture-0.9.73/jack_capture.c:1054:3: warning: Return value of function asprintf() is not used. [ignoredReturnValue] jack_capture-0.9.73/jack_capture.c:564:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] jack_capture-0.9.73/jack_capture.c:2746:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] jack_capture-0.9.73/jack_capture.c:483:5: error: Common realloc mistake: 'cportnames' nulled but not freed upon failure [memleakOnRealloc] jack_capture-0.9.73/jack_capture.c:1018:3: error: Common realloc mistake: 'argv' nulled but not freed upon failure [memleakOnRealloc] jack_capture-0.9.73/jack_capture.c:1027:3: error: Common realloc mistake: 'argv' nulled but not freed upon failure [memleakOnRealloc] jack_capture-0.9.73/jack_capture.c:1028:3: error: Common realloc mistake: 'argv' nulled but not freed upon failure [memleakOnRealloc] jack_capture-0.9.73/jack_capture.c:1029:3: error: Common realloc mistake: 'argv' nulled but not freed upon failure [memleakOnRealloc] jack_capture-0.9.73/jack_capture.c:1030:3: error: Common realloc mistake: 'argv' nulled but not freed upon failure [memleakOnRealloc] jack_capture-0.9.73/jack_capture.c:1039:3: error: Common realloc mistake: 'argv' nulled but not freed upon failure [memleakOnRealloc] jack_capture-0.9.73/jack_capture.c:1040:3: error: Common realloc mistake: 'argv' nulled but not freed upon failure [memleakOnRealloc] jack_capture-0.9.73/jack_capture.c:1041:3: error: Common realloc mistake: 'argv' nulled but not freed upon failure [memleakOnRealloc] jack_capture-0.9.73/jack_capture.c:1050:3: error: Common realloc mistake: 'argv' nulled but not freed upon failure [memleakOnRealloc] jack_capture-0.9.73/jack_capture.c:1051:3: error: Common realloc mistake: 'argv' nulled but not freed upon failure [memleakOnRealloc] jack_capture-0.9.73/jack_capture.c:1052:3: error: Common realloc mistake: 'argv' nulled but not freed upon failure [memleakOnRealloc] jack_capture-0.9.73/jack_capture.c:1053:3: error: Common realloc mistake: 'argv' nulled but not freed upon failure [memleakOnRealloc] jack_capture-0.9.73/jack_capture.c:1054:3: error: Common realloc mistake: 'argv' nulled but not freed upon failure [memleakOnRealloc] jack_capture-0.9.73/jack_capture.c:1368:7: warning:inconclusive: Possible null pointer dereference: tobuffer [nullPointer] jack_capture-0.9.73/jack_capture.c:1354:25: note: Assignment 'tobuffer=NULL', assigned value is 0 jack_capture-0.9.73/jack_capture.c:1368:7: note: Null pointer dereference jack_capture-0.9.73/jack_capture.c:1369:7: warning:inconclusive: Possible null pointer dereference: tobuffer [nullPointer] jack_capture-0.9.73/jack_capture.c:1354:25: note: Assignment 'tobuffer=NULL', assigned value is 0 jack_capture-0.9.73/jack_capture.c:1369:7: note: Null pointer dereference jack_capture-0.9.73/jack_capture.c:2356:5: style:inconclusive: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] jack_capture-0.9.73/jack_capture.c:2134:18: style: Local variable 'client' shadows outer variable [shadowVariable] jack_capture-0.9.73/jack_capture.c:102:23: note: Shadowed declaration jack_capture-0.9.73/jack_capture.c:2134:18: note: Shadow variable jack_capture-0.9.73/jack_capture.c:1353:35: style: Parameter 'buffer' can be declared as pointer to const [constParameter] jack_capture-0.9.73/jack_capture.c:2478:26: style: Parameter 's' can be declared as pointer to const [constParameter] jack_capture-0.9.73/jack_capture.c:2488:23: style: Parameter 's' can be declared as pointer to const [constParameter] jack_capture-0.9.73/jack_capture_gui2.cpp:1167:12: warning: Assert statement modifies 'fTop'. [assignmentInAssert] jack_capture-0.9.73/jack_capture_gui2.cpp:1174:12: warning: Assert statement modifies 'fTop'. [assignmentInAssert] jack_capture-0.9.73/jack_capture_gui2.cpp:138:28: style:inconclusive: Boolean expression 'in!=-1' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] jack_capture-0.9.73/jack_capture_gui2.cpp:146:28: style:inconclusive: Boolean expression 'in!=-1' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] jack_capture-0.9.73/jack_capture_gui2.cpp:158:31: style:inconclusive: Boolean expression 'in==0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] jack_capture-0.9.73/jack_capture_gui2.cpp:163:31: style:inconclusive: Boolean expression 'in==0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] jack_capture-0.9.73/jack_capture_gui2.cpp:367:23: style:inconclusive: Boolean expression 'is==1' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] jack_capture-0.9.73/jack_capture_gui2.cpp:374:23: style:inconclusive: Boolean expression 'is==1' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] jack_capture-0.9.73/jack_capture_gui2.cpp:382:23: style:inconclusive: Boolean expression 'is==1' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] jack_capture-0.9.73/jack_capture_gui2.cpp:390:23: style:inconclusive: Boolean expression 'is==1' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] jack_capture-0.9.73/jack_capture_gui2.cpp:398:23: style:inconclusive: Boolean expression 'is==1' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] jack_capture-0.9.73/jack_capture_gui2.cpp:812:5: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] jack_capture-0.9.73/jack_capture_gui2.cpp:1693:1: style: The class 'myGUI' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] jack_capture-0.9.73/jack_capture_gui2.cpp:199:10: performance:inconclusive: Technically the member function 'UI::IntToString' can be static (but you may consider moving to unnamed namespace). [functionStatic] jack_capture-0.9.73/jack_capture_gui2.cpp:593:10: style:inconclusive: Technically the member function 'UI::stopped' can be const. [functionConst] jack_capture-0.9.73/jack_capture_gui2.cpp:646:13: style:inconclusive: Technically the member function 'uiItem::cache' can be const. [functionConst] jack_capture-0.9.73/jack_capture_gui2.cpp:666:19: style: The function 'reflectZone' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jack_capture-0.9.73/jack_capture_gui2.cpp:650:19: note: Virtual function in base class jack_capture-0.9.73/jack_capture_gui2.cpp:666:19: note: Function in derived class jack_capture-0.9.73/jack_capture_gui2.cpp:759:18: style: The function 'addDrawBox' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jack_capture-0.9.73/jack_capture_gui2.cpp:579:18: note: Virtual function in base class jack_capture-0.9.73/jack_capture_gui2.cpp:759:18: note: Function in derived class jack_capture-0.9.73/jack_capture_gui2.cpp:763:18: style: The function 'openExpanderBox' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jack_capture-0.9.73/jack_capture_gui2.cpp:583:18: note: Virtual function in base class jack_capture-0.9.73/jack_capture_gui2.cpp:763:18: note: Function in derived class jack_capture-0.9.73/jack_capture_gui2.cpp:764:18: style: The function 'closeBox' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jack_capture-0.9.73/jack_capture_gui2.cpp:584:18: note: Virtual function in base class jack_capture-0.9.73/jack_capture_gui2.cpp:764:18: note: Function in derived class jack_capture-0.9.73/jack_capture_gui2.cpp:767:18: style: The function 'addComboBox' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jack_capture-0.9.73/jack_capture_gui2.cpp:568:18: note: Virtual function in base class jack_capture-0.9.73/jack_capture_gui2.cpp:767:18: note: Function in derived class jack_capture-0.9.73/jack_capture_gui2.cpp:768:18: style: The function 'addButton' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jack_capture-0.9.73/jack_capture_gui2.cpp:569:18: note: Virtual function in base class jack_capture-0.9.73/jack_capture_gui2.cpp:768:18: note: Function in derived class jack_capture-0.9.73/jack_capture_gui2.cpp:769:18: style: The function 'addExitButton' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jack_capture-0.9.73/jack_capture_gui2.cpp:570:18: note: Virtual function in base class jack_capture-0.9.73/jack_capture_gui2.cpp:769:18: note: Function in derived class jack_capture-0.9.73/jack_capture_gui2.cpp:770:18: style: The function 'addRecToggleButton' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jack_capture-0.9.73/jack_capture_gui2.cpp:571:18: note: Virtual function in base class jack_capture-0.9.73/jack_capture_gui2.cpp:770:18: note: Function in derived class jack_capture-0.9.73/jack_capture_gui2.cpp:771:18: style: The function 'addCheckButton' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jack_capture-0.9.73/jack_capture_gui2.cpp:572:18: note: Virtual function in base class jack_capture-0.9.73/jack_capture_gui2.cpp:771:18: note: Function in derived class jack_capture-0.9.73/jack_capture_gui2.cpp:772:18: style: The function 'addRadioButton' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jack_capture-0.9.73/jack_capture_gui2.cpp:573:18: note: Virtual function in base class jack_capture-0.9.73/jack_capture_gui2.cpp:772:18: note: Function in derived class jack_capture-0.9.73/jack_capture_gui2.cpp:773:18: style: The function 'addRadioButtonwithGroup' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jack_capture-0.9.73/jack_capture_gui2.cpp:574:18: note: Virtual function in base class jack_capture-0.9.73/jack_capture_gui2.cpp:773:18: note: Function in derived class jack_capture-0.9.73/jack_capture_gui2.cpp:775:18: style: The function 'show' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jack_capture-0.9.73/jack_capture_gui2.cpp:586:18: note: Virtual function in base class jack_capture-0.9.73/jack_capture_gui2.cpp:775:18: note: Function in derived class jack_capture-0.9.73/jack_capture_gui2.cpp:776:18: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jack_capture-0.9.73/jack_capture_gui2.cpp:587:18: note: Virtual function in base class jack_capture-0.9.73/jack_capture_gui2.cpp:776:18: note: Function in derived class jack_capture-0.9.73/jack_capture_gui2.cpp:1273:18: style: The function 'reflectZone' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jack_capture-0.9.73/jack_capture_gui2.cpp:650:19: note: Virtual function in base class jack_capture-0.9.73/jack_capture_gui2.cpp:1273:18: note: Function in derived class jack_capture-0.9.73/jack_capture_gui2.cpp:1393:18: style: The function 'reflectZone' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jack_capture-0.9.73/jack_capture_gui2.cpp:650:19: note: Virtual function in base class jack_capture-0.9.73/jack_capture_gui2.cpp:1393:18: note: Function in derived class jack_capture-0.9.73/jack_capture_gui2.cpp:1492:18: style: The function 'reflectZone' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jack_capture-0.9.73/jack_capture_gui2.cpp:650:19: note: Virtual function in base class jack_capture-0.9.73/jack_capture_gui2.cpp:1492:18: note: Function in derived class jack_capture-0.9.73/jack_capture_gui2.cpp:1554:18: style: The function 'reflectZone' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jack_capture-0.9.73/jack_capture_gui2.cpp:650:19: note: Virtual function in base class jack_capture-0.9.73/jack_capture_gui2.cpp:1554:18: note: Function in derived class jack_capture-0.9.73/jack_capture_gui2.cpp:1593:18: style: The function 'reflectZone' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jack_capture-0.9.73/jack_capture_gui2.cpp:650:19: note: Virtual function in base class jack_capture-0.9.73/jack_capture_gui2.cpp:1593:18: note: Function in derived class jack_capture-0.9.73/jack_capture_gui2.cpp:1730:18: style: The function 'buildUserInterface' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jack_capture-0.9.73/jack_capture_gui2.cpp:1684:18: note: Virtual function in base class jack_capture-0.9.73/jack_capture_gui2.cpp:1730:18: note: Function in derived class jack_capture-0.9.73/jack_capture_gui2.cpp:270:24: style: Condition 'in!=-1' is always true [knownConditionTrueFalse] jack_capture-0.9.73/jack_capture_gui2.cpp:294:24: style: Condition 'in!=-1' is always true [knownConditionTrueFalse] jack_capture-0.9.73/jack_capture_gui2.cpp:331:24: style: Condition 'in!=-1' is always true [knownConditionTrueFalse] jack_capture-0.9.73/jack_capture_gui2.cpp:356:24: style: Condition 'in!=-1' is always true [knownConditionTrueFalse] jack_capture-0.9.73/jack_capture_gui2.cpp:498:28: style: Condition 'in!=-1' is always true [knownConditionTrueFalse] jack_capture-0.9.73/jack_capture_gui2.cpp:878:17: style: Condition 'isn!=-1' is always true [knownConditionTrueFalse] jack_capture-0.9.73/jack_capture_gui2.cpp:881:18: style: Condition 'isn==-1' is always false [knownConditionTrueFalse] jack_capture-0.9.73/jack_capture_gui2.cpp:882:18: style: Condition 'isn!=-1' is always true [knownConditionTrueFalse] jack_capture-0.9.73/jack_capture_gui2.cpp:1201:13: style: Condition 'isn!=-1' is always true [knownConditionTrueFalse] jack_capture-0.9.73/jack_capture_gui2.cpp:1428:21: style: Condition 'isn!=-1' is always true [knownConditionTrueFalse] jack_capture-0.9.73/jack_capture_gui2.cpp:1431:22: style: Condition 'isn==-1' is always false [knownConditionTrueFalse] jack_capture-0.9.73/jack_capture_gui2.cpp:1432:22: style: Condition 'isn!=-1' is always true [knownConditionTrueFalse] jack_capture-0.9.73/jack_capture_gui2.cpp:1458:21: style: Condition 'isn!=-1' is always true [knownConditionTrueFalse] jack_capture-0.9.73/jack_capture_gui2.cpp:1461:22: style: Condition 'isn==-1' is always false [knownConditionTrueFalse] jack_capture-0.9.73/jack_capture_gui2.cpp:1462:22: style: Condition 'isn!=-1' is always true [knownConditionTrueFalse] jack_capture-0.9.73/jack_capture_gui2.cpp:1270:10: style: C-style pointer casting [cstyleCast] jack_capture-0.9.73/jack_capture_gui2.cpp:1390:10: style: C-style pointer casting [cstyleCast] jack_capture-0.9.73/jack_capture_gui2.cpp:1482:21: style: C-style pointer casting [cstyleCast] jack_capture-0.9.73/jack_capture_gui2.cpp:1488:21: style: C-style pointer casting [cstyleCast] jack_capture-0.9.73/jack_capture_gui2.cpp:1551:10: style: C-style pointer casting [cstyleCast] jack_capture-0.9.73/jack_capture_gui2.cpp:1590:10: style: C-style pointer casting [cstyleCast] jack_capture-0.9.73/jack_capture_gui2.cpp:1870:9: style:inconclusive: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] jack_capture-0.9.73/jack_capture_gui2.cpp:234:21: style: The scope of the variable 'oggit' can be reduced. [variableScope] jack_capture-0.9.73/jack_capture_gui2.cpp:237:80: style: The scope of the variable 'ma' can be reduced. [variableScope] jack_capture-0.9.73/jack_capture_gui2.cpp:799:25: style: The scope of the variable 'rcfilename' can be reduced. [variableScope] jack_capture-0.9.73/jack_capture_gui2.cpp:1421:16: style: The scope of the variable 'a' can be reduced. [variableScope] jack_capture-0.9.73/jack_capture_gui2.cpp:1451:16: style: The scope of the variable 'a' can be reduced. [variableScope] jack_capture-0.9.73/jack_capture_gui2.cpp:224:28: style: Local variable 'capturas' shadows outer variable [shadowVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:828:13: note: Shadowed declaration jack_capture-0.9.73/jack_capture_gui2.cpp:224:28: note: Shadow variable jack_capture-0.9.73/jack_capture_gui2.cpp:225:28: style: Local variable 'recbutton' shadows outer variable [shadowVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:819:13: note: Shadowed declaration jack_capture-0.9.73/jack_capture_gui2.cpp:225:28: note: Shadow variable jack_capture-0.9.73/jack_capture_gui2.cpp:226:23: style: Local variable 'com' shadows outer variable [shadowVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:837:8: note: Shadowed declaration jack_capture-0.9.73/jack_capture_gui2.cpp:226:23: note: Shadow variable jack_capture-0.9.73/jack_capture_gui2.cpp:227:20: style: Local variable 'getset' shadows outer variable [shadowVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:833:5: note: Shadowed declaration jack_capture-0.9.73/jack_capture_gui2.cpp:227:20: note: Shadow variable jack_capture-0.9.73/jack_capture_gui2.cpp:228:20: style: Local variable 'countfile' shadows outer variable [shadowVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:834:5: note: Shadowed declaration jack_capture-0.9.73/jack_capture_gui2.cpp:228:20: note: Shadow variable jack_capture-0.9.73/jack_capture_gui2.cpp:229:23: style: Local variable 'text' shadows outer variable [shadowVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:829:8: note: Shadowed declaration jack_capture-0.9.73/jack_capture_gui2.cpp:229:23: note: Shadow variable jack_capture-0.9.73/jack_capture_gui2.cpp:230:23: style: Local variable 'text1' shadows outer variable [shadowVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:830:8: note: Shadowed declaration jack_capture-0.9.73/jack_capture_gui2.cpp:230:23: note: Shadow variable jack_capture-0.9.73/jack_capture_gui2.cpp:269:40: style: Local variable 'in' shadows outer variable [shadowVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:831:8: note: Shadowed declaration jack_capture-0.9.73/jack_capture_gui2.cpp:269:40: note: Shadow variable jack_capture-0.9.73/jack_capture_gui2.cpp:293:40: style: Local variable 'in' shadows outer variable [shadowVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:831:8: note: Shadowed declaration jack_capture-0.9.73/jack_capture_gui2.cpp:293:40: note: Shadow variable jack_capture-0.9.73/jack_capture_gui2.cpp:330:40: style: Local variable 'in' shadows outer variable [shadowVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:831:8: note: Shadowed declaration jack_capture-0.9.73/jack_capture_gui2.cpp:330:40: note: Shadow variable jack_capture-0.9.73/jack_capture_gui2.cpp:355:40: style: Local variable 'in' shadows outer variable [shadowVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:831:8: note: Shadowed declaration jack_capture-0.9.73/jack_capture_gui2.cpp:355:40: note: Shadow variable jack_capture-0.9.73/jack_capture_gui2.cpp:497:44: style: Local variable 'in' shadows outer variable [shadowVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:831:8: note: Shadowed declaration jack_capture-0.9.73/jack_capture_gui2.cpp:497:44: note: Shadow variable jack_capture-0.9.73/jack_capture_gui2.cpp:629:30: style: Local variable 'path' shadows outer variable [shadowVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:839:15: note: Shadowed declaration jack_capture-0.9.73/jack_capture_gui2.cpp:629:30: note: Shadow variable jack_capture-0.9.73/jack_capture_gui2.cpp:630:30: style: Local variable 'serverpath' shadows outer variable [shadowVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:840:15: note: Shadowed declaration jack_capture-0.9.73/jack_capture_gui2.cpp:630:30: note: Shadow variable jack_capture-0.9.73/jack_capture_gui2.cpp:631:30: style: Local variable 'fname' shadows outer variable [shadowVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:843:15: note: Shadowed declaration jack_capture-0.9.73/jack_capture_gui2.cpp:631:30: note: Shadow variable jack_capture-0.9.73/jack_capture_gui2.cpp:632:30: style: Local variable 'sett' shadows outer variable [shadowVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:842:15: note: Shadowed declaration jack_capture-0.9.73/jack_capture_gui2.cpp:632:30: note: Shadow variable jack_capture-0.9.73/jack_capture_gui2.cpp:633:31: style: Local variable 'input' shadows outer variable [shadowVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:826:13: note: Shadowed declaration jack_capture-0.9.73/jack_capture_gui2.cpp:633:31: note: Shadow variable jack_capture-0.9.73/jack_capture_gui2.cpp:634:31: style: Local variable 'output' shadows outer variable [shadowVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:827:13: note: Shadowed declaration jack_capture-0.9.73/jack_capture_gui2.cpp:634:31: note: Shadow variable jack_capture-0.9.73/jack_capture_gui2.cpp:809:16: style: Local variable 'com' shadows outer variable [shadowVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:837:8: note: Shadowed declaration jack_capture-0.9.73/jack_capture_gui2.cpp:809:16: note: Shadow variable jack_capture-0.9.73/jack_capture_gui2.cpp:124:80: performance: Function parameter 'mandc' should be passed by const reference. [passedByValue] jack_capture-0.9.73/jack_capture_gui2.cpp:106:63: performance: Searching before insertion is not necessary. Instead of 'fZoneMap[z]=new std::list()' consider using 'fZoneMap.try_emplace(z, new std::list());'. [stlFindInsert] jack_capture-0.9.73/jack_capture_gui2.cpp:158:44: warning: String literal compared with variable 'a.c_str()'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] jack_capture-0.9.73/jack_capture_gui2.cpp:163:44: warning: String literal compared with variable 'd.c_str()'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] jack_capture-0.9.73/jack_capture_gui2.cpp:473:24: warning: String literal compared with variable 'lameit'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] jack_capture-0.9.73/jack_capture_gui2.cpp:132:20: style: Unused variable: buffer [unusedVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:132:27: style: Unused variable: port1 [unusedVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:132:34: style: Unused variable: port2 [unusedVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:234:27: style: Variable 'oggit' is assigned a value that is never used. [unreadVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:301:19: style: Variable 'oggit' is assigned a value that is never used. [unreadVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:520:25: style: Variable 'sel' is assigned a value that is never used. [unreadVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:237:30: style: Unused variable: mando [unusedVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:237:37: style: Unused variable: manda [unusedVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:237:84: style: Unused variable: can [unusedVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:237:89: style: Unused variable: can1 [unusedVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:237:95: style: Unused variable: com2 [unusedVariable] jack_capture-0.9.73/jack_capture_gui2.cpp:114:68: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] jack_capture-0.9.73/jack_capture_gui2.cpp:251:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] jack_capture-0.9.73/jack_capture_gui2.cpp:257:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] jack_capture-0.9.73/jack_capture_gui2.cpp:280:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] jack_capture-0.9.73/jack_capture_gui2.cpp:305:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] jack_capture-0.9.73/jack_capture_gui2.cpp:342:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] jack_capture-0.9.73/jack_capture_gui2.cpp:366:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] jack_capture-0.9.73/jack_capture_gui2.cpp:373:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] jack_capture-0.9.73/jack_capture_gui2.cpp:381:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] jack_capture-0.9.73/jack_capture_gui2.cpp:389:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] jack_capture-0.9.73/jack_capture_gui2.cpp:397:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] jack_capture-0.9.73/jack_capture_gui2.cpp:405:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] jack_capture-0.9.73/jack_capture_gui2.cpp:414:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] jack_capture-0.9.73/jack_capture_gui2.cpp:423:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] jack_capture-0.9.73/jack_capture_gui2.cpp:438:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] jack_capture-0.9.73/jack_capture_gui2.cpp:446:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] jack_capture-0.9.73/jack_capture_gui2.cpp:467:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] jack_capture-0.9.73/jack_capture_gui2.cpp:508:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] jack_capture-0.9.73/jack_capture_gui2.cpp:546:72: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] jack_capture-0.9.73/jack_capture_gui2.cpp:561:57: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] jack_capture-0.9.73/jack_capture_gui2.cpp:684:57: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] jack_capture-0.9.73/jack_capture_gui2.cpp:697:68: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] jack_capture-0.9.73/jack_capture_gui2.cpp:702:61: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] jack_capture-0.9.73/vringbuffer.c:241:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] jack_capture-0.9.73/vringbuffer.c:252:64: style:inconclusive: Function 'vringbuffer_set_autoincrease_callback' argument 1 names different: declaration 'vrg' definition 'vrb'. [funcArgNamesDifferent] jack_capture-0.9.73/vringbuffer.h:108:64: note: Function 'vringbuffer_set_autoincrease_callback' argument 1 names different: declaration 'vrg' definition 'vrb'. jack_capture-0.9.73/vringbuffer.c:252:64: note: Function 'vringbuffer_set_autoincrease_callback' argument 1 names different: declaration 'vrg' definition 'vrb'. diff: head jack_capture-0.9.73/jack_capture.c:1353:35: style: Parameter 'buffer' can be declared as pointer to const [constParameter] 2.8 jack_capture-0.9.73/jack_capture.c:1353:35: style: Parameter 'buffer' can be declared with const [constParameter] head jack_capture-0.9.73/jack_capture.c:2478:26: style: Parameter 's' can be declared as pointer to const [constParameter] 2.8 jack_capture-0.9.73/jack_capture.c:2478:26: style: Parameter 's' can be declared with const [constParameter] head jack_capture-0.9.73/jack_capture.c:2488:23: style: Parameter 's' can be declared as pointer to const [constParameter] 2.8 jack_capture-0.9.73/jack_capture.c:2488:23: style: Parameter 's' can be declared with const [constParameter] DONE