2022-06-25 03:26 ftp://ftp.de.debian.org/debian/pool/main/s/sc/sc_7.16.orig.tar.gz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j4 platform: Linux-5.10.0-15-amd64-x86_64-with-glibc2.31 python: 3.9.2 client-version: 1.3.25 compiler: g++ (Debian 10.2.1-6) 10.2.1 20210110 cppcheck: head 2.8 head-info: 11860cc (2022-06-24 13:55:04 +0200) count: 286 286 elapsed-time: 9.1 7.3 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: sc-7.16/color.c:110:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/color.c:158:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/abbrev.c:36:6: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/abbrev.c:52:3: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/abbrev.c:77:3: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/abbrev.c:84:3: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/abbrev.c:92:6: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/abbrev.c:95:6: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/abbrev.c:43:21: style: Local variable 'a' shadows outer variable [shadowVariable] sc-7.16/abbrev.c:29:20: note: Shadowed declaration sc-7.16/abbrev.c:43:21: note: Shadow variable sc-7.16/abbrev.c:127:49: error: Uninitialized variable: prev [uninitvar] sc-7.16/format.c:504:21: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] sc-7.16/format.c:552:37: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] sc-7.16/format.c:566:37: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] sc-7.16/frame.c:55:6: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/frame.c:109:3: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/pipe.c:311:5: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/pipe.c:79:5: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] sc-7.16/pipe.c:265:39: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] sc-7.16/range.c:61:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/range.c:68:6: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/range.c:87:6: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/range.c:168:45: style: Parameter 'lmatch' can be declared as pointer to const [constParameter] sc-7.16/range.c:168:65: style: Parameter 'rmatch' can be declared as pointer to const [constParameter] sc-7.16/lex.c:213:6: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:155:3: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:209:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:243:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:267:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:537:9: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:549:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:963:11: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:1110:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:1116:6: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:1125:6: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:1129:3: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:1133:7: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:1137:7: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:1352:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:1376:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:1392:3: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:1410:3: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:1443:10: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:1456:6: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:1477:6: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:1651:5: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:1689:5: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:1826:6: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:1845:11: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:1948:3: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:1951:3: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:2103:6: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:2175:10: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:2250:6: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:2322:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:2420:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:2425:6: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:2437:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:2442:6: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/interp.c:570:11: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] sc-7.16/interp.c:1051:37: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] sc-7.16/interp.c:2050:5: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] sc-7.16/interp.c:223:74: style:inconclusive: Function 'dolookup' argument 6 names different: declaration 'offr' definition 'offset'. [funcArgNamesDifferent] sc-7.16/interp.c:95:16: note: Function 'dolookup' argument 6 names different: declaration 'offr' definition 'offset'. sc-7.16/interp.c:223:74: note: Function 'dolookup' argument 6 names different: declaration 'offr' definition 'offset'. sc-7.16/interp.c:223:86: style:inconclusive: Function 'dolookup' argument 7 names different: declaration 'offc' definition 'vflag'. [funcArgNamesDifferent] sc-7.16/interp.c:95:26: note: Function 'dolookup' argument 7 names different: declaration 'offc' definition 'vflag'. sc-7.16/interp.c:223:86: note: Function 'dolookup' argument 7 names different: declaration 'offc' definition 'vflag'. sc-7.16/interp.c:1854:56: style:inconclusive: Function 'moveto' argument 5 names different: declaration 'cornrow' definition 'cornerrow'. [funcArgNamesDifferent] sc-7.16/sc.h:516:6: note: Function 'moveto' argument 5 names different: declaration 'cornrow' definition 'cornerrow'. sc-7.16/interp.c:1854:56: note: Function 'moveto' argument 5 names different: declaration 'cornrow' definition 'cornerrow'. sc-7.16/interp.c:1855:9: style:inconclusive: Function 'moveto' argument 6 names different: declaration 'corncol' definition 'cornercol'. [funcArgNamesDifferent] sc-7.16/sc.h:516:19: note: Function 'moveto' argument 6 names different: declaration 'corncol' definition 'cornercol'. sc-7.16/interp.c:1855:9: note: Function 'moveto' argument 6 names different: declaration 'corncol' definition 'cornercol'. sc-7.16/interp.c:903:12: style: Local variable 'precision' shadows outer variable [shadowVariable] sc-7.16/sc.h:360:13: note: Shadowed declaration sc-7.16/interp.c:903:12: note: Shadow variable sc-7.16/interp.c:532:20: style: Variable 'yr' is assigned a value that is never used. [unreadVariable] sc-7.16/interp.c:1575:17: style: Unused variable: n [unusedVariable] sc-7.16/interp.c:1580:9: style: Unused variable: vr [unusedVariable] sc-7.16/interp.c:1580:13: style: Unused variable: vc [unusedVariable] sc-7.16/interp.c:1975:11: style: Unused variable: tmp [unusedVariable] sc-7.16/sort.c:71:7: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sort.c:82:7: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sort.c:88:3: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sort.c:95:3: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sort.c:107:3: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/vi.c:141:5: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/vi.c:538:7: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/vi.c:562:7: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/vi.c:1475:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/vi.c:1477:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/vi.c:1504:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/vi.c:1506:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/vi.c:1585:5: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/vi.c:1606:3: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/vi.c:1649:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/vi.c:1651:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/vi.c:2037:20: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/vi.c:2043:3: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/vi.c:2048:3: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/vi.c:980:18: style: Condition 'cpos>0' is always true [knownConditionTrueFalse] sc-7.16/vi.c:975:17: note: Assuming that condition 'cpos>0' is not redundant sc-7.16/vi.c:980:18: note: Condition 'cpos>0' is always true sc-7.16/vi.c:510:13: style: Local variable 'c' shadows outer argument [shadowArgument] sc-7.16/vi.c:136:16: note: Shadowed declaration sc-7.16/vi.c:510:13: note: Shadow variable sc-7.16/vi.c:724:8: style: Variable 'minsc' is assigned a value that is never used. [unreadVariable] sc-7.16/vi.c:726:8: style: Variable 'maxsc' is assigned a value that is never used. [unreadVariable] sc-7.16/vi.c:732:8: style: Variable 'minsr' is assigned a value that is never used. [unreadVariable] sc-7.16/vi.c:734:8: style: Variable 'maxsr' is assigned a value that is never used. [unreadVariable] sc-7.16/vi.c:718:12: style: Unused variable: p [unusedVariable] sc-7.16/vi.c:1038:16: style: Variable 'inabbr' is not assigned a value. [unassignedVariable] sc-7.16/vi.c:1780:18: style: Unused variable: i [unusedVariable] sc-7.16/vmtbl.c:120:6: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/vmtbl.c:138:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/vmtbl.c:145:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/vmtbl.c:154:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/vmtbl.c:155:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/vmtbl.c:156:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/vmtbl.c:163:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/vmtbl.c:175:6: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/vmtbl.c:193:6: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:375:6: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:439:4: warning: Return value of function freopen() is not used. [ignoredReturnValue] sc-7.16/sc.c:440:4: warning: Return value of function freopen() is not used. [ignoredReturnValue] sc-7.16/sc.c:453:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:493:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:603:7: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:674:5: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:801:7: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:811:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:816:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:821:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:826:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:831:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:837:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:843:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:856:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:860:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:865:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:870:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:878:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:883:5: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:887:5: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:892:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:897:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:901:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:905:9: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:911:9: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:917:9: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:921:9: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:924:9: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:929:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:934:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:940:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:943:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1055:3: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1163:7: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1169:7: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1231:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1236:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1261:5: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1289:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1302:5: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1344:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1356:7: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1358:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1361:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1364:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1367:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1369:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1390:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1394:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1467:11: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1505:9: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1530:9: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1601:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1611:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1621:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1677:7: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1679:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1683:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1686:7: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1728:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1767:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1799:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1816:7: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1839:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1842:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1845:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1848:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1851:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1935:7: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1937:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1952:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1956:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1959:7: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1994:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:1996:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:2005:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:2013:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:2022:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:2027:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:2030:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:2073:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:2076:8: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:2120:9: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] sc-7.16/sc.c:2121:9: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] sc-7.16/sc.c:2122:9: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] sc-7.16/sc.c:2123:9: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] sc-7.16/sc.c:2125:9: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] sc-7.16/sc.c:2218:3: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:2256:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/sc.c:2152:5: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] sc-7.16/xmalloc.c:28:4: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] sc-7.16/xmalloc.c:40:8: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] sc-7.16/xmalloc.c:45:4: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] sc-7.16/xmalloc.c:55:8: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] sc-7.16/sc.c:180:15: style: Variable '(*pp)->flags' is reassigned a value before the old one has been used. [redundantAssignment] sc-7.16/sc.c:169:19: note: (*pp)->flags is assigned sc-7.16/sc.c:180:15: note: (*pp)->flags is overwritten sc-7.16/sc.c:456:12: style: Local variable 'c' shadows outer variable [shadowVariable] sc-7.16/sc.c:236:20: note: Shadowed declaration sc-7.16/sc.c:456:12: note: Shadow variable sc-7.16/sc.c:242:14: style: Unused variable: home [unusedVariable] sc-7.16/cmds.c:3210:19: style: Array index 'curcol' is used before limits check. [arrayIndexThenCheck] sc-7.16/cmds.c:3229:19: style: Array index 'currow' is used before limits check. [arrayIndexThenCheck] sc-7.16/cmds.c:327:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:333:6: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:430:6: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:489:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:544:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:745:3: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:777:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:949:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:971:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:990:5: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:1215:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:1219:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:1394:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:1440:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:1445:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:1450:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:1456:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:1477:5: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:1550:7: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:1555:7: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:1569:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:1571:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:1582:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:1602:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:1826:6: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:1834:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:1865:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:1878:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:1950:4: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:2076:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:2439:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:2444:6: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:2464:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:2469:6: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:2484:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:2501:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:2546:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:2572:6: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:2629:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:2645:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:2695:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:2863:3: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:2868:3: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:2931:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:2936:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:2948:6: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:2983:3: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:2988:3: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:3032:6: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:3037:3: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:3069:2: warning: Return value of function freopen() is not used. [ignoredReturnValue] sc-7.16/cmds.c:3190:7: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:3244:7: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:3257:5: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:3259:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:3263:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:3266:5: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:3280:5: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:3282:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:3289:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:3293:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:3296:5: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:3319:2: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/cmds.c:1899:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] sc-7.16/cmds.c:2158:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] sc-7.16/cmds.c:3518:19: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] sc-7.16/cmds.c:1269:12: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] sc-7.16/cmds.c:1268:19: note: outer condition: c<=cs sc-7.16/cmds.c:1269:12: note: opposite inner condition: c>cs sc-7.16/cmds.c:2522:19: style: Redundant condition: If 'EXPR == ' '', the comparison 'EXPR' is always true. [redundantCondition] sc-7.16/cmds.c:1179:12: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] sc-7.16/cmds.c:1119:7: note: r is assigned sc-7.16/cmds.c:1179:12: note: r is overwritten sc-7.16/cmds.c:1112:14: style:inconclusive: Function 'closerow' argument 1 names different: declaration 'r' definition 'rs'. [funcArgNamesDifferent] sc-7.16/sc.h:445:26: note: Function 'closerow' argument 1 names different: declaration 'r' definition 'rs'. sc-7.16/cmds.c:1112:14: note: Function 'closerow' argument 1 names different: declaration 'r' definition 'rs'. sc-7.16/cmds.c:2642:38: style:inconclusive: Function 'copyent' argument 9 names different: declaration 'transpose' definition 'special'. [funcArgNamesDifferent] sc-7.16/sc.h:450:54: note: Function 'copyent' argument 9 names different: declaration 'transpose' definition 'special'. sc-7.16/cmds.c:2642:38: note: Function 'copyent' argument 9 names different: declaration 'transpose' definition 'special'. sc-7.16/screen.c:136:3: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/screen.c:213:6: warning: Return value of function isatty() is not used. [ignoredReturnValue] sc-7.16/screen.c:802:16: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] sc-7.16/screen.c:490:26: warning: Either the condition 'fr' is redundant or there is possible null pointer dereference: fr. [nullPointerRedundantCheck] sc-7.16/screen.c:538:9: note: Assuming that condition 'fr' is not redundant sc-7.16/screen.c:490:26: note: Null pointer dereference sc-7.16/screen.c:491:27: warning: Either the condition 'fr' is redundant or there is possible null pointer dereference: fr. [nullPointerRedundantCheck] sc-7.16/screen.c:538:9: note: Assuming that condition 'fr' is not redundant sc-7.16/screen.c:491:27: note: Null pointer dereference sc-7.16/screen.c:641:8: style: Local variable 'r' shadows outer variable [shadowVariable] sc-7.16/screen.c:85:12: note: Shadowed declaration sc-7.16/screen.c:641:8: note: Shadow variable diff: head sc-7.16/range.c:168:45: style: Parameter 'lmatch' can be declared as pointer to const [constParameter] 2.8 sc-7.16/range.c:168:45: style: Parameter 'lmatch' can be declared with const [constParameter] head sc-7.16/range.c:168:65: style: Parameter 'rmatch' can be declared as pointer to const [constParameter] 2.8 sc-7.16/range.c:168:65: style: Parameter 'rmatch' can be declared with const [constParameter] DONE