2024-04-22 02:02 ftp://ftp.de.debian.org/debian/pool/main/s/seaview/seaview_5.0.5.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --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 -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-20-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.56 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.14.0 head-info: ea2e716 (2024-04-21 15:59:20 +0200) count: 370 370 elapsed-time: 26.6 26.4 head-timing-info: old-timing-info: head results: seaview/seaview.h:10:0: error: #error Seaview requires FLTK version 1.3.4 or higher [preprocessorErrorDirective] seaview/FL/Fl_SVG_Image.cxx:49:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ref_count [valueFlowBailoutIncompleteVar] seaview/FL/Fl_SVG_Image.cxx:57:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] seaview/FL/Fl_SVG_Image.cxx:104:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable counted_svg_image_ [valueFlowBailoutIncompleteVar] seaview/FL/Fl_SVG_Image.cxx:162:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable proportional [valueFlowBailoutIncompleteVar] seaview/FL/Fl_SVG_Image.cxx:185:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable to_desaturate_ [valueFlowBailoutIncompleteVar] seaview/FL/Fl_SVG_Image.cxx:204:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable proportional [valueFlowBailoutIncompleteVar] seaview/FL/Fl_SVG_Image.cxx:247:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable to_desaturate_ [valueFlowBailoutIncompleteVar] seaview/FL/Fl_SVG_Image.cxx:253:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable average_color_ [valueFlowBailoutIncompleteVar] seaview/FL/Fl_SVG_Image.cxx:81:15: style: C-style pointer casting [cstyleCast] seaview/FL/Fl_SVG_Image.cxx:86:19: style: C-style pointer casting [cstyleCast] seaview/FL/Fl_SVG_Image.cxx:96:22: style: C-style pointer casting [cstyleCast] seaview/FL/Fl_SVG_Image.cxx:170:77: style: C-style pointer casting [cstyleCast] seaview/FL/Fl_SVG_Image.cxx:172:15: style: C-style pointer casting [cstyleCast] seaview/csrc/bionj.c:449:32: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] seaview/csrc/parser.c:28:40: style: Parameter 'pile' can be declared as pointer to const [constParameterPointer] seaview/csrc/parser.c:76:32: style: Parameter 'argument' can be declared as pointer to const [constParameterPointer] seaview/csrc/parser.c:79:23: style: Variable 'debut' can be declared as pointer to const [constVariablePointer] seaview/csrc/misc_acnuc.c:614:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] seaview/csrc/misc_acnuc.c:870:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] seaview/csrc/misc_acnuc.c:608:20: style:inconclusive: Function 'mycalloc' argument 1 names different: declaration 'nbr' definition 'nbre'. [funcArgNamesDifferent] seaview/csrc/misc_acnuc.c:26:20: note: Function 'mycalloc' argument 1 names different: declaration 'nbr' definition 'nbre'. seaview/csrc/misc_acnuc.c:608:20: note: Function 'mycalloc' argument 1 names different: declaration 'nbr' definition 'nbre'. seaview/csrc/misc_acnuc.c:608:33: style:inconclusive: Function 'mycalloc' argument 2 names different: declaration 'taille' definition 'size'. [funcArgNamesDifferent] seaview/csrc/misc_acnuc.c:26:32: note: Function 'mycalloc' argument 2 names different: declaration 'taille' definition 'size'. seaview/csrc/misc_acnuc.c:608:33: note: Function 'mycalloc' argument 2 names different: declaration 'taille' definition 'size'. seaview/csrc/misc_acnuc.c:48:35: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] seaview/csrc/misc_acnuc.c:492:13: style: Variable 'nucleotides' can be declared as const array [constVariable] seaview/csrc/misc_acnuc.c:493:12: style: Variable 'nucnum' can be declared as const array [constVariable] seaview/csrc/misc_acnuc.c:495:7: style: Variable 'p' can be declared as pointer to const [constVariablePointer] seaview/csrc/misc_acnuc.c:712:20: style: Parameter 'chaine' can be declared as pointer to const [constParameterPointer] seaview/csrc/misc_acnuc.c:801:21: style: Parameter 'acnucvar' can be declared as pointer to const [constParameterPointer] seaview/csrc/misc_acnuc.c:801:37: style: Parameter 'gcgacnucvar' can be declared as pointer to const [constParameterPointer] seaview/csrc/misc_acnuc.c:870:5: warning: Storing getchar() return value in char variable and then comparing with EOF. [checkCastIntToCharAndBack] seaview/csrc/phyml_util.c:42:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] seaview/csrc/phylip.c:175:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] seaview/csrc/phylip.c:188:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] seaview/csrc/phylip.c:235:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] seaview/csrc/phylip.c:306:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] seaview/csrc/phylip.c:466:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] seaview/csrc/phylip.c:491:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] seaview/csrc/phylip.c:518:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] seaview/csrc/phylip.c:536:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] seaview/csrc/phylip.c:558:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] seaview/csrc/phylip.c:580:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] seaview/csrc/phylip.c:602:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] seaview/csrc/phylip.c:633:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] seaview/csrc/phylip.c:962:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] seaview/csrc/phylip.c:980:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] seaview/csrc/phylip.c:999:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] seaview/csrc/phylip.c:1020:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] seaview/csrc/phylip.c:1039:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] seaview/csrc/phylip.c:1056:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] seaview/csrc/phylip.c:1073:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] seaview/csrc/phylip.c:1094:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] seaview/csrc/phylip.c:2775:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] seaview/csrc/phyml_util.c:426:3: warning: Either the condition 'b' is redundant or there is possible null pointer dereference: b. [nullPointerRedundantCheck] seaview/csrc/phyml_util.c:408:10: note: Assuming that condition 'b' is not redundant seaview/csrc/phyml_util.c:426:3: note: Null pointer dereference seaview/csrc/phyml_util.c:427:3: warning: Either the condition 'b' is redundant or there is possible null pointer dereference: b. [nullPointerRedundantCheck] seaview/csrc/phyml_util.c:408:10: note: Assuming that condition 'b' is not redundant seaview/csrc/phyml_util.c:427:3: note: Null pointer dereference seaview/csrc/phyml_util.c:40:26: style: Parameter 's' can be declared as pointer to const [constParameterPointer] seaview/csrc/phyml_util.c:100:36: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] seaview/csrc/phyml_util.c:118:40: style: Parameter 'mod' can be declared as pointer to const [constParameterPointer] seaview/csrc/phyml_util.c:300:56: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] seaview/csrc/phyml_util.c:467:21: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] seaview/csrc/phyml_util.c:489:20: style: Parameter 'pere' can be declared as pointer to const [constParameterPointer] seaview/csrc/phyml_util.c:566:70: style: Parameter 'tree' can be declared as pointer to const [constParameterPointer] seaview/csrc/phylip.c:2404:21: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] seaview/csrc/phylip.c:606:17: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] seaview/csrc/phylip.c:637:17: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] seaview/csrc/phylip.c:240:23: warning: Either the condition 'fname==NULL' is redundant or there is possible null pointer dereference: fname. [nullPointerRedundantCheck] seaview/csrc/phylip.c:237:14: note: Assuming that condition 'fname==NULL' is not redundant seaview/csrc/phylip.c:240:23: note: Null pointer dereference seaview/csrc/phylip.c:809:10: style:inconclusive: Same expression used in consecutive assignments of 'h2' and 'xx'. [duplicateAssignExpression] seaview/csrc/phylip.c:810:10: note: Same expression used in consecutive assignments of 'h2' and 'xx'. seaview/csrc/phylip.c:809:10: note: Same expression used in consecutive assignments of 'h2' and 'xx'. seaview/csrc/phylip.c:936:16: style: Redundant assignment of 'probcat[i]' to itself. [selfAssignment] seaview/csrc/phylip.c:67:31: style:inconclusive: Function 'crash_handler' argument 1 names different: declaration 'signum' definition 'sig_num'. [funcArgNamesDifferent] seaview/csrc/phylip.c:53:31: note: Function 'crash_handler' argument 1 names different: declaration 'signum' definition 'sig_num'. seaview/csrc/phylip.c:67:31: note: Function 'crash_handler' argument 1 names different: declaration 'signum' definition 'sig_num'. seaview/csrc/phylip.c:268:8: style: Local variable 'loopcount' shadows outer function [shadowFunction] seaview/csrc/phylip.h:601:8: note: Shadowed declaration seaview/csrc/phylip.c:268:8: note: Shadow variable seaview/csrc/phylip.c:460:13: style: Local variable 'loopcount' shadows outer function [shadowFunction] seaview/csrc/phylip.h:601:8: note: Shadowed declaration seaview/csrc/phylip.c:460:13: note: Shadow variable seaview/csrc/phylip.c:484:11: style: Local variable 'loopcount' shadows outer function [shadowFunction] seaview/csrc/phylip.h:601:8: note: Shadowed declaration seaview/csrc/phylip.c:484:11: note: Shadow variable seaview/csrc/phylip.c:513:8: style: Local variable 'loopcount' shadows outer function [shadowFunction] seaview/csrc/phylip.h:601:8: note: Shadowed declaration seaview/csrc/phylip.c:513:8: note: Shadow variable seaview/csrc/phylip.c:531:8: style: Local variable 'loopcount' shadows outer function [shadowFunction] seaview/csrc/phylip.h:601:8: note: Shadowed declaration seaview/csrc/phylip.c:531:8: note: Shadow variable seaview/csrc/phylip.c:553:8: style: Local variable 'loopcount' shadows outer function [shadowFunction] seaview/csrc/phylip.h:601:8: note: Shadowed declaration seaview/csrc/phylip.c:553:8: note: Shadow variable seaview/csrc/phylip.c:574:8: style: Local variable 'loopcount' shadows outer function [shadowFunction] seaview/csrc/phylip.h:601:8: note: Shadowed declaration seaview/csrc/phylip.c:574:8: note: Shadow variable seaview/csrc/phylip.c:595:11: style: Local variable 'loopcount' shadows outer function [shadowFunction] seaview/csrc/phylip.h:601:8: note: Shadowed declaration seaview/csrc/phylip.c:595:11: note: Shadow variable seaview/csrc/phylip.c:625:11: style: Local variable 'loopcount' shadows outer function [shadowFunction] seaview/csrc/phylip.h:601:8: note: Shadowed declaration seaview/csrc/phylip.c:625:11: note: Shadow variable seaview/csrc/phylip.c:957:8: style: Local variable 'loopcount' shadows outer function [shadowFunction] seaview/csrc/phylip.h:601:8: note: Shadowed declaration seaview/csrc/phylip.c:957:8: note: Shadow variable seaview/csrc/phylip.c:975:8: style: Local variable 'loopcount' shadows outer function [shadowFunction] seaview/csrc/phylip.h:601:8: note: Shadowed declaration seaview/csrc/phylip.c:975:8: note: Shadow variable seaview/csrc/phylip.c:994:8: style: Local variable 'loopcount' shadows outer function [shadowFunction] seaview/csrc/phylip.h:601:8: note: Shadowed declaration seaview/csrc/phylip.c:994:8: note: Shadow variable seaview/csrc/phylip.c:1015:17: style: Local variable 'loopcount' shadows outer function [shadowFunction] seaview/csrc/phylip.h:601:8: note: Shadowed declaration seaview/csrc/phylip.c:1015:17: note: Shadow variable seaview/csrc/phylip.c:1034:8: style: Local variable 'loopcount' shadows outer function [shadowFunction] seaview/csrc/phylip.h:601:8: note: Shadowed declaration seaview/csrc/phylip.c:1034:8: note: Shadow variable seaview/csrc/phylip.c:1068:8: style: Local variable 'loopcount' shadows outer function [shadowFunction] seaview/csrc/phylip.h:601:8: note: Shadowed declaration seaview/csrc/phylip.c:1068:8: note: Shadow variable seaview/csrc/phylip.c:1089:8: style: Local variable 'loopcount' shadows outer function [shadowFunction] seaview/csrc/phylip.h:601:8: note: Shadowed declaration seaview/csrc/phylip.c:1089:8: note: Shadow variable seaview/csrc/phylip.c:1122:8: style: Local variable 'loopcount' shadows outer function [shadowFunction] seaview/csrc/phylip.h:601:8: note: Shadowed declaration seaview/csrc/phylip.c:1122:8: note: Shadow variable seaview/csrc/phylip.c:195:21: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] seaview/csrc/phylip.c:908:38: style: Parameter 'hroot' can be declared as pointer to const [constParameterPointer] seaview/csrc/phylip.c:1541:62: style: Parameter 'place' can be declared as pointer to const [constParameterPointer] seaview/csrc/phylip.c:1577:63: style: Parameter 'place' can be declared as pointer to const [constParameterPointer] seaview/csrc/phylip.c:1598:32: style: Parameter 'bestrees' can be declared as pointer to const [constParameterPointer] seaview/csrc/phylip.c:1748:28: style: Parameter 'lparens' can be declared as pointer to const [constParameterPointer] seaview/csrc/phylip.c:1989:33: style: Parameter 'zeros' can be declared as pointer to const [constParameterPointer] seaview/csrc/phylip.c:2006:37: style: Parameter 'zeros' can be declared as pointer to const [constParameterPointer] seaview/csrc/phylip.c:2006:59: style: Parameter 'zeros2' can be declared as pointer to const [constParameterPointer] seaview/csrc/phylip.c:2099:28: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] seaview/csrc/phylip.c:2375:33: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] seaview/csrc/phylip.c:2708:36: style: Parameter 'no_species' can be declared as pointer to const [constParameterPointer] seaview/csrc/phylip.c:165:8: style: Variable 'ch' is assigned a value that is never used. [unreadVariable] seaview/csrc/phylip.c:2985:9: style: Variable 'len' is assigned a value that is never used. [unreadVariable] seaview/csrc/dnapars.c:1265:23: style: Redundant condition: j>=spp. 'j=spp && item->numdesc>0)' is equivalent to 'jnumdesc>0' [redundantCondition] seaview/csrc/dnapars.c:680:36: style: Local variable 'multf' shadows outer variable [shadowVariable] seaview/csrc/dnapars.c:90:11: note: Shadowed declaration seaview/csrc/dnapars.c:680:36: note: Shadow variable seaview/csrc/dnapars.c:856:21: style: Local variable 'multf' shadows outer variable [shadowVariable] seaview/csrc/dnapars.c:90:11: note: Shadowed declaration seaview/csrc/dnapars.c:856:21: note: Shadow variable seaview/csrc/dnapars.c:962:23: style: Local variable 'multf' shadows outer variable [shadowVariable] seaview/csrc/dnapars.c:90:11: note: Shadowed declaration seaview/csrc/dnapars.c:962:23: note: Shadow variable seaview/csrc/dnapars.c:1307:11: style: Local variable 'recompute' shadows outer variable [shadowVariable] seaview/csrc/dnapars.c:101:27: note: Shadowed declaration seaview/csrc/dnapars.c:1307:11: note: Shadow variable seaview/csrc/dnapars.c:393:68: style: Parameter 'toevaluate' can be declared as pointer to const [constParameterPointer] seaview/csrc/dnapars.c:1122:13: style: Variable 'this' can be declared as pointer to const [constVariablePointer] seaview/csrc/dnapars.c:1187:13: style: Variable 'first' can be declared as pointer to const [constVariablePointer] seaview/csrc/dnapars.c:1187:21: style: Variable 'last' can be declared as pointer to const [constVariablePointer] seaview/csrc/dnapars.c:1355:28: style: Parameter 'toevaluate' can be declared as pointer to const [constParameterPointer] seaview/csrc/dnapars.c:1621:13: style: Parameter 'bt_weights' can be declared as pointer to const [constParameterPointer] seaview/csrc/raa_acnuc.c:137:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] seaview/csrc/raa_acnuc.c:143:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] seaview/csrc/raa_acnuc.c:192:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] seaview/csrc/seq.c:228:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable branchnum [valueFlowBailoutIncompleteVar] seaview/csrc/seq.c:4103:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] seaview/csrc/lwl.c:392:93: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pos [valueFlowBailoutIncompleteVar] seaview/csrc/raa_acnuc.c:1979:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] seaview/csrc/raa_acnuc.c:1982:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] seaview/csrc/raa_acnuc.c:183:21: style: Condition 'raa_current_db!=NULL' is always true [knownConditionTrueFalse] seaview/csrc/raa_acnuc.c:2436:21: style: Condition 'raa_current_db==NULL' is always false [knownConditionTrueFalse] seaview/csrc/raa_acnuc.c:912:1: portability: %llu in format string (no. 1) requires 'unsigned long long *' but the argument type is 'raa_long * {aka signed long long *}'. [invalidScanfArgType_int] seaview/csrc/raa_acnuc.c:919:1: portability: %llu in format string (no. 1) requires 'unsigned long long' but the argument type is 'raa_long {aka signed long long}'. [invalidPrintfArgType_uint] seaview/csrc/raa_acnuc.c:1034:3: warning: %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] seaview/csrc/raa_acnuc.c:1053:3: warning: %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] seaview/csrc/raa_acnuc.c:1375:3: warning: %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] seaview/csrc/raa_acnuc.c:1409:1: warning: %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] seaview/csrc/raa_acnuc.c:344:31: error: Resource handle 'raa_snum' freed twice. [doubleFree] seaview/csrc/raa_acnuc.c:343:31: note: Resource handle 'raa_snum' freed twice. seaview/csrc/raa_acnuc.c:344:31: note: Resource handle 'raa_snum' freed twice. seaview/csrc/raa_acnuc.c:544:25: error: Memory leak: ip_name [memleak] seaview/csrc/raa_acnuc.c:2221:21: error: Overflow in pointer arithmetic, NULL pointer is subtracted. [nullPointerArithmetic] seaview/csrc/raa_acnuc.c:2197:43: note: Calling function 'next_block_matchkeys', 3rd argument 'NULL' value is 0 seaview/csrc/raa_acnuc.c:2138:19: note: Assuming condition is false seaview/csrc/raa_acnuc.c:2141:22: note: Calling function 'protect_quotes', 1st argument 'pattern' value is 0 seaview/csrc/raa_acnuc.c:2221:21: note: Null pointer subtraction seaview/csrc/raa_acnuc.c:135:60: style:inconclusive: Function 'sock_fputs' argument 2 names different: declaration 'line' definition 's'. [funcArgNamesDifferent] seaview/csrc/raa_acnuc.h:253:60: note: Function 'sock_fputs' argument 2 names different: declaration 'line' definition 's'. seaview/csrc/raa_acnuc.c:135:60: note: Function 'sock_fputs' argument 2 names different: declaration 'line' definition 's'. seaview/csrc/raa_acnuc.c:288:118: style:inconclusive: Function 'raa_acnucopen_alt' argument 5 names different: declaration 'psock' definition 'p'. [funcArgNamesDifferent] seaview/csrc/raa_acnuc.h:174:125: note: Function 'raa_acnucopen_alt' argument 5 names different: declaration 'psock' definition 'p'. seaview/csrc/raa_acnuc.c:288:118: note: Function 'raa_acnucopen_alt' argument 5 names different: declaration 'psock' definition 'p'. seaview/csrc/raa_acnuc.c:774:57: style:inconclusive: Function 'raa_proc_query' argument 2 names different: declaration 'query' definition 'requete'. [funcArgNamesDifferent] seaview/csrc/raa_acnuc.h:181:65: note: Function 'raa_proc_query' argument 2 names different: declaration 'query' definition 'requete'. seaview/csrc/raa_acnuc.c:774:57: note: Function 'raa_proc_query' argument 2 names different: declaration 'query' definition 'requete'. seaview/csrc/raa_acnuc.c:997:64: style:inconclusive: Function 'raa_next_annots' argument 2 names different: declaration 'faddr' definition 'paddr'. [funcArgNamesDifferent] seaview/csrc/raa_acnuc.h:190:65: note: Function 'raa_next_annots' argument 2 names different: declaration 'faddr' definition 'paddr'. seaview/csrc/raa_acnuc.c:997:64: note: Function 'raa_next_annots' argument 2 names different: declaration 'faddr' definition 'paddr'. seaview/csrc/raa_acnuc.c:1590:92: style:inconclusive: Function 'raa_readspec' argument 5 names different: declaration 'desc' definition 'pdesc'. [funcArgNamesDifferent] seaview/csrc/raa_acnuc.h:218:93: note: Function 'raa_readspec' argument 5 names different: declaration 'desc' definition 'pdesc'. seaview/csrc/raa_acnuc.c:1590:92: note: Function 'raa_readspec' argument 5 names different: declaration 'desc' definition 'pdesc'. seaview/csrc/raa_acnuc.c:1590:104: style:inconclusive: Function 'raa_readspec' argument 6 names different: declaration 'syno' definition 'psyno'. [funcArgNamesDifferent] seaview/csrc/raa_acnuc.h:218:104: note: Function 'raa_readspec' argument 6 names different: declaration 'syno' definition 'psyno'. seaview/csrc/raa_acnuc.c:1590:104: note: Function 'raa_readspec' argument 6 names different: declaration 'syno' definition 'psyno'. seaview/csrc/raa_acnuc.c:1650:91: style:inconclusive: Function 'raa_readkey' argument 5 names different: declaration 'desc' definition 'pdesc'. [funcArgNamesDifferent] seaview/csrc/raa_acnuc.h:219:92: note: Function 'raa_readkey' argument 5 names different: declaration 'desc' definition 'pdesc'. seaview/csrc/raa_acnuc.c:1650:91: note: Function 'raa_readkey' argument 5 names different: declaration 'desc' definition 'pdesc'. seaview/csrc/raa_acnuc.c:1650:103: style:inconclusive: Function 'raa_readkey' argument 6 names different: declaration 'syno' definition 'psyno'. [funcArgNamesDifferent] seaview/csrc/raa_acnuc.h:219:103: note: Function 'raa_readkey' argument 6 names different: declaration 'syno' definition 'psyno'. seaview/csrc/raa_acnuc.c:1650:103: note: Function 'raa_readkey' argument 6 names different: declaration 'syno' definition 'psyno'. seaview/csrc/raa_acnuc.c:1806:64: style:inconclusive: Function 'raa_readaut' argument 3 names different: declaration 'plsub' definition 'plref'. [funcArgNamesDifferent] seaview/csrc/raa_acnuc.h:222:65: note: Function 'raa_readaut' argument 3 names different: declaration 'plsub' definition 'plref'. seaview/csrc/raa_acnuc.c:1806:64: note: Function 'raa_readaut' argument 3 names different: declaration 'plsub' definition 'plref'. seaview/csrc/raa_acnuc.c:1997:75: style:inconclusive: Function 'raa_readshrt' argument 3 names different: declaration 'val' definition 'pval'. [funcArgNamesDifferent] seaview/csrc/raa_acnuc.h:226:76: note: Function 'raa_readshrt' argument 3 names different: declaration 'val' definition 'pval'. seaview/csrc/raa_acnuc.c:1997:75: note: Function 'raa_readshrt' argument 3 names different: declaration 'val' definition 'pval'. seaview/csrc/raa_acnuc.c:2418:96: style:inconclusive: Function 'raa_modifylist' argument 5 names different: declaration 'pnewlrank' definition 'pnewlist'. [funcArgNamesDifferent] seaview/csrc/raa_acnuc.h:232:7: note: Function 'raa_modifylist' argument 5 names different: declaration 'pnewlrank' definition 'pnewlist'. seaview/csrc/raa_acnuc.c:2418:96: note: Function 'raa_modifylist' argument 5 names different: declaration 'pnewlrank' definition 'pnewlist'. seaview/csrc/raa_acnuc.c:910:10: style: Local variable 'val' shadows outer function [shadowFunction] seaview/csrc/parser.h:15:14: note: Shadowed declaration seaview/csrc/raa_acnuc.c:910:10: note: Shadow variable seaview/csrc/raa_acnuc.c:1023:5: style: Local variable 'val' shadows outer function [shadowFunction] seaview/csrc/parser.h:15:14: note: Shadowed declaration seaview/csrc/raa_acnuc.c:1023:5: note: Shadow variable seaview/csrc/raa_acnuc.c:1042:5: style: Local variable 'val' shadows outer function [shadowFunction] seaview/csrc/parser.h:15:14: note: Shadowed declaration seaview/csrc/raa_acnuc.c:1042:5: note: Shadow variable seaview/csrc/raa_acnuc.c:1962:10: style: Local variable 'val' shadows outer function [shadowFunction] seaview/csrc/parser.h:15:14: note: Shadowed declaration seaview/csrc/raa_acnuc.c:1962:10: note: Shadow variable seaview/csrc/raa_acnuc.c:2768:33: style: Local variable 'val' shadows outer function [shadowFunction] seaview/csrc/parser.h:15:14: note: Shadowed declaration seaview/csrc/raa_acnuc.c:2768:33: note: Shadow variable seaview/csrc/raa_acnuc.c:3138:9: style: Local variable 'p' shadows outer variable [shadowVariable] seaview/csrc/raa_acnuc.c:3072:7: note: Shadowed declaration seaview/csrc/raa_acnuc.c:3138:9: note: Shadow variable seaview/csrc/raa_acnuc.c:212:7: style: Variable 'p' can be declared as pointer to const [constVariablePointer] seaview/csrc/raa_acnuc.c:312:9: style: Variable 'reponse' can be declared as pointer to const [constVariablePointer] seaview/csrc/raa_acnuc.c:396:28: style: Variable 'challenge' can be declared as pointer to const [constVariablePointer] seaview/csrc/raa_acnuc.c:562:7: style: Variable 'p' can be declared as pointer to const [constVariablePointer] seaview/csrc/raa_acnuc.c:562:11: style: Variable 'line' can be declared as pointer to const [constVariablePointer] seaview/csrc/raa_acnuc.c:590:7: style: Variable 'debut' can be declared as pointer to const [constVariablePointer] seaview/csrc/raa_acnuc.c:650:7: style: Variable 'reponse' can be declared as pointer to const [constVariablePointer] seaview/csrc/raa_acnuc.c:784:8: style: Variable 'fmt' can be declared as const array [constVariable] seaview/csrc/raa_acnuc.c:908:30: style: Parameter 'txt' can be declared as pointer to const [constParameterPointer] seaview/csrc/raa_acnuc.c:932:7: style: Variable 'firstline' can be declared as pointer to const [constVariablePointer] seaview/csrc/raa_acnuc.c:932:23: style: Variable 'q' can be declared as pointer to const [constVariablePointer] seaview/csrc/raa_acnuc.c:1022:7: style: Variable 'reponse' can be declared as pointer to const [constVariablePointer] seaview/csrc/raa_acnuc.c:1041:7: style: Variable 'reponse' can be declared as pointer to const [constVariablePointer] seaview/csrc/raa_acnuc.c:1083:7: style: Variable 'reponse' can be declared as pointer to const [constVariablePointer] seaview/csrc/raa_acnuc.c:1093:7: style: Variable 'reponse' can be declared as pointer to const [constVariablePointer] seaview/csrc/raa_acnuc.c:1103:7: style: Variable 'reponse' can be declared as pointer to const [constVariablePointer] seaview/csrc/raa_acnuc.c:1114:7: style: Variable 'reponse' can be declared as pointer to const [constVariablePointer] seaview/csrc/raa_acnuc.c:1124:7: style: Variable 'reponse' can be declared as pointer to const [constVariablePointer] seaview/csrc/raa_acnuc.c:1357:7: style: Variable 'reponse' can be declared as pointer to const [constVariablePointer] seaview/csrc/raa_acnuc.c:1384:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] seaview/csrc/raa_acnuc.c:1507:7: style: Variable 'p' can be declared as pointer to const [constVariablePointer] seaview/csrc/raa_acnuc.c:1932:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] seaview/csrc/raa_acnuc.c:1960:7: style: Variable 'reponse' can be declared as pointer to const [constVariablePointer] seaview/csrc/raa_acnuc.c:2021:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] seaview/csrc/raa_acnuc.c:2134:7: style: Variable 'reponse' can be declared as pointer to const [constVariablePointer] seaview/csrc/raa_acnuc.c:2237:89: style: Parameter 'debut' can be declared as pointer to const [constParameterPointer] seaview/csrc/raa_acnuc.c:2339:41: style: Parameter 'target' can be declared as pointer to const [constParameterPointer] seaview/csrc/raa_acnuc.c:2352:75: style: Parameter 'oldrequete' can be declared as pointer to const [constParameterPointer] seaview/csrc/raa_acnuc.c:2466:7: style: Variable 'reponse' can be declared as pointer to const [constVariablePointer] seaview/csrc/raa_acnuc.c:2508:120: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] seaview/csrc/raa_acnuc.c:2581:19: style: Variable 'q' can be declared as pointer to const [constVariablePointer] seaview/csrc/raa_acnuc.c:2629:8: style: Parameter 'operation' can be declared as pointer to const [constParameterPointer] seaview/csrc/raa_acnuc.c:2630:8: style: Parameter 'feature_name' can be declared as pointer to const [constParameterPointer] seaview/csrc/raa_acnuc.c:2630:28: style: Parameter 'bounds' can be declared as pointer to const [constParameterPointer] seaview/csrc/raa_acnuc.c:2630:42: style: Parameter 'min_bounds' can be declared as pointer to const [constParameterPointer] seaview/csrc/raa_acnuc.c:2645:7: style: Variable 'line' can be declared as pointer to const [constVariablePointer] seaview/csrc/raa_acnuc.c:2844:41: style: Parameter 'reponse' can be declared as pointer to const [constParameterPointer] seaview/csrc/raa_acnuc.c:2924:60: style: Parameter 'rootname' can be declared as pointer to const [constParameterPointer] seaview/csrc/raa_acnuc.c:1087:10: style: Variable 'reponse' is assigned a value that is never used. [unreadVariable] seaview/csrc/raa_acnuc.c:1097:10: style: Variable 'reponse' is assigned a value that is never used. [unreadVariable] seaview/csrc/raa_acnuc.c:1118:10: style: Variable 'reponse' is assigned a value that is never used. [unreadVariable] seaview/csrc/raa_acnuc.c:1128:10: style: Variable 'reponse' is assigned a value that is never used. [unreadVariable] seaview/csrc/raa_acnuc.c:1143:10: style: Variable 'reponse' is assigned a value that is never used. [unreadVariable] seaview/csrc/zsockr.c:84:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] seaview/csrc/zsockr.c:110:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] seaview/csrc/zsockr.c:59:1: error: Memory leak: big [memleak] seaview/csrc/zsockr.c:126:7: style: Variable 'p' can be declared as pointer to const [constVariablePointer] seaview/csrc/protpars.c:1104:13: style: The statement 'if (below!=treenode[below->index-1]) below=treenode[below->index-1]' is logically equivalent to 'below=treenode[below->index-1]'. [duplicateConditionalAssign] seaview/csrc/protpars.c:1105:11: note: Assignment 'below=treenode[below->index-1]' seaview/csrc/protpars.c:1104:13: note: Condition 'below!=treenode[below->index-1]' is redundant seaview/csrc/protpars.c:2024:18: style: Condition 'numtrees>1' is always false [knownConditionTrueFalse] seaview/csrc/protpars.c:1993:16: note: Assignment 'numtrees=1', assigned value is 1 seaview/csrc/protpars.c:2024:18: note: Condition 'numtrees>1' is always false seaview/csrc/protpars.c:1878:25: style: Local variable 'dummy' shadows outer variable [shadowVariable] seaview/csrc/protpars.c:125:9: note: Shadowed declaration seaview/csrc/protpars.c:1878:25: note: Shadow variable seaview/csrc/protpars.c:697:50: style: Parameter 'toevaluate' can be declared as pointer to const [constParameterPointer] seaview/csrc/protpars.c:1528:26: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] seaview/csrc/protpars.c:1528:35: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] seaview/csrc/protpars.c:1528:44: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] seaview/csrc/protpars.c:1871:28: style: Parameter 'toevaluate' can be declared as pointer to const [constParameterPointer] seaview/csrc/protpars.c:2037:148: style: Parameter 'bt_weights' can be declared as pointer to const [constParameterPointer] seaview/csrc/protpars.c:51:10: style: struct member 'gseq::seq' is never used. [unusedStructMember] seaview/csrc/protpars.c:52:16: style: struct member 'gseq::next' is never used. [unusedStructMember] seaview/pdf_or_ps.cxx:86:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BROWSE_SAVE_FILE [valueFlowBailoutIncompleteVar] seaview/pdf_or_ps.cxx:106:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LANDSCAPE [valueFlowBailoutIncompleteVar] seaview/pdf_or_ps.cxx:128:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable page_formats [valueFlowBailoutIncompleteVar] seaview/pdf_or_ps.cxx:248:22: warning: Member variable 'PDF_Graphics_Driver::tr_x' is not initialized in the constructor. [uninitMemberVar] seaview/pdf_or_ps.cxx:248:22: warning: Member variable 'PDF_Graphics_Driver::tr_y' is not initialized in the constructor. [uninitMemberVar] seaview/pdf_or_ps.cxx:68:21: warning: Member variable 'Fl_PDF_File_Device::width' is not initialized in the constructor. [uninitMemberVar] seaview/pdf_or_ps.cxx:68:21: warning: Member variable 'Fl_PDF_File_Device::height' is not initialized in the constructor. [uninitMemberVar] seaview/pdf_or_ps.cxx:68:21: warning: Member variable 'Fl_PDF_File_Device::previous_surface' is not initialized in the constructor. [uninitMemberVar] seaview/pdf_or_ps.cxx:68:21: warning: Member variable 'Fl_PDF_File_Device::left_margin' is not initialized in the constructor. [uninitMemberVar] seaview/pdf_or_ps.cxx:68:21: warning: Member variable 'Fl_PDF_File_Device::top_margin' is not initialized in the constructor. [uninitMemberVar] seaview/pdf_or_ps.cxx:76:13: style: C-style pointer casting [cstyleCast] seaview/pdf_or_ps.cxx:118:28: style: C-style pointer casting [cstyleCast] seaview/pdf_or_ps.cxx:143:28: style: C-style pointer casting [cstyleCast] seaview/pdf_or_ps.cxx:176:28: style: C-style pointer casting [cstyleCast] seaview/pdf_or_ps.cxx:187:28: style: C-style pointer casting [cstyleCast] seaview/pdf_or_ps.cxx:194:28: style: C-style pointer casting [cstyleCast] seaview/pdf_or_ps.cxx:202:28: style: C-style pointer casting [cstyleCast] seaview/pdf_or_ps.cxx:209:28: style: C-style pointer casting [cstyleCast] seaview/pdf_or_ps.cxx:218:21: style: C-style pointer casting [cstyleCast] seaview/pdf_or_ps.cxx:224:11: style: C-style pointer casting [cstyleCast] seaview/pdf_or_ps.cxx:230:14: style: C-style pointer casting [cstyleCast] seaview/pdf_or_ps.cxx:238:21: style: C-style pointer casting [cstyleCast] seaview/pdf_or_ps.cxx:243:13: style: C-style pointer casting [cstyleCast] seaview/pdf_or_ps.cxx:112:50: style:inconclusive: Function 'begin_custom' argument 1 names different: declaration 'fixedfilename' definition 'plotfilename'. [funcArgNamesDifferent] seaview/pdf_or_ps.h:115:32: note: Function 'begin_custom' argument 1 names different: declaration 'fixedfilename' definition 'plotfilename'. seaview/pdf_or_ps.cxx:112:50: note: Function 'begin_custom' argument 1 names different: declaration 'fixedfilename' definition 'plotfilename'. seaview/pdf_or_ps.cxx:185:38: style:inconclusive: Function 'origin' argument 1 names different: declaration 'x' definition 'px'. [funcArgNamesDifferent] seaview/pdf_or_ps.h:119:21: note: Function 'origin' argument 1 names different: declaration 'x' definition 'px'. seaview/pdf_or_ps.cxx:185:38: note: Function 'origin' argument 1 names different: declaration 'x' definition 'px'. seaview/pdf_or_ps.cxx:185:47: style:inconclusive: Function 'origin' argument 2 names different: declaration 'y' definition 'py'. [funcArgNamesDifferent] seaview/pdf_or_ps.h:119:29: note: Function 'origin' argument 2 names different: declaration 'y' definition 'py'. seaview/pdf_or_ps.cxx:185:47: note: Function 'origin' argument 2 names different: declaration 'y' definition 'py'. seaview/pdf_or_ps.cxx:241:48: style:inconclusive: Function 'surface_try' argument 1 names different: declaration 'b' definition 'jbuf'. [funcArgNamesDifferent] seaview/pdf_or_ps.h:127:30: note: Function 'surface_try' argument 1 names different: declaration 'b' definition 'jbuf'. seaview/pdf_or_ps.cxx:241:48: note: Function 'surface_try' argument 1 names different: declaration 'b' definition 'jbuf'. seaview/pdf_or_ps.cxx:326:39: style:inconclusive: Function 'color' argument 1 names different: declaration 'r' definition 'red'. [funcArgNamesDifferent] seaview/pdf_or_ps.h:58:20: note: Function 'color' argument 1 names different: declaration 'r' definition 'red'. seaview/pdf_or_ps.cxx:326:39: note: Function 'color' argument 1 names different: declaration 'r' definition 'red'. seaview/pdf_or_ps.cxx:326:50: style:inconclusive: Function 'color' argument 2 names different: declaration 'g' definition 'green'. [funcArgNamesDifferent] seaview/pdf_or_ps.h:58:29: note: Function 'color' argument 2 names different: declaration 'g' definition 'green'. seaview/pdf_or_ps.cxx:326:50: note: Function 'color' argument 2 names different: declaration 'g' definition 'green'. seaview/pdf_or_ps.cxx:326:63: style:inconclusive: Function 'color' argument 3 names different: declaration 'b' definition 'blue'. [funcArgNamesDifferent] seaview/pdf_or_ps.h:58:38: note: Function 'color' argument 3 names different: declaration 'b' definition 'blue'. seaview/pdf_or_ps.cxx:326:63: note: Function 'color' argument 3 names different: declaration 'b' definition 'blue'. seaview/pdf_or_ps.cxx:116:8: style: Local variable 'pdf' shadows outer function [shadowFunction] seaview/pdf_or_ps.h:128:9: note: Shadowed declaration seaview/pdf_or_ps.cxx:116:8: note: Shadow variable seaview/pdf_or_ps.cxx:230:8: style: Local variable 'pdf' shadows outer function [shadowFunction] seaview/pdf_or_ps.h:128:9: note: Shadowed declaration seaview/pdf_or_ps.cxx:230:8: note: Shadow variable seaview/pdf_or_ps.cxx:98:9: style: Variable 'plotfilename' can be declared as pointer to const [constVariablePointer] seaview/pdf_or_ps.cxx:187:24: style: Variable 'd' can be declared as pointer to const [constVariablePointer] seaview/pseudoterminal.cxx:155:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_COURIER [valueFlowBailoutIncompleteVar] seaview/pseudoterminal.cxx:321:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] seaview/pseudoterminal.cxx:342:17: warning: Return value of function freopen() is not used. [ignoredReturnValue] seaview/pseudoterminal.cxx:343:3: warning: Return value of function freopen() is not used. [ignoredReturnValue] seaview/pseudoterminal.cxx:153:15: style: C-style pointer casting [cstyleCast] seaview/pseudoterminal.cxx:159:23: style: C-style pointer casting [cstyleCast] seaview/pseudoterminal.cxx:170:20: style: C-style pointer casting [cstyleCast] seaview/pseudoterminal.cxx:176:23: style: C-style pointer casting [cstyleCast] seaview/pseudoterminal.cxx:179:16: style: C-style pointer casting [cstyleCast] seaview/pseudoterminal.cxx:193:21: style: C-style pointer casting [cstyleCast] seaview/pseudoterminal.cxx:404:10: style: C-style pointer casting [cstyleCast] seaview/pseudoterminal.cxx:100:7: style: The scope of the variable 'l' can be reduced. [variableScope] seaview/pseudoterminal.cxx:311:9: style: Variable 'slavename' can be declared as pointer to const [constVariablePointer] seaview/resource.cxx:112:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILENAME_MAX [valueFlowBailoutIncompleteVar] seaview/resource.cxx:146:9: style: C-style pointer casting [cstyleCast] seaview/resource.cxx:187:8: style: C-style pointer casting [cstyleCast] seaview/resource.cxx:202:19: style: C-style pointer casting [cstyleCast] seaview/resource.cxx:224:10: style: C-style pointer casting [cstyleCast] seaview/resource.cxx:211:12: style: The scope of the variable 'i' can be reduced. [variableScope] seaview/resource.cxx:113:7: style: Variable 'p' can be declared as pointer to const [constVariablePointer] seaview/resource.cxx:133:7: style: Variable 'fname' can be declared as pointer to const [constVariablePointer] seaview/resource.cxx:208:7: style: Variable 'fname' can be declared as pointer to const [constVariablePointer] seaview/resource.cxx:252:7: style: Variable 'p' can be declared as pointer to const [constVariablePointer] seaview/resource.cxx:260:7: style: Variable 'p' can be declared as pointer to const [constVariablePointer] seaview/least_squares_brl.cxx:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] seaview/least_squares_brl.cxx:59:12: style: C-style pointer casting [cstyleCast] seaview/least_squares_brl.cxx:60:35: style: C-style pointer casting [cstyleCast] seaview/least_squares_brl.cxx:71:11: style: C-style pointer casting [cstyleCast] seaview/least_squares_brl.cxx:74:10: style: C-style pointer casting [cstyleCast] seaview/least_squares_brl.cxx:99:5: style: C-style pointer casting [cstyleCast] seaview/least_squares_brl.cxx:100:4: style: C-style pointer casting [cstyleCast] seaview/least_squares_brl.cxx:101:7: style: C-style pointer casting [cstyleCast] seaview/least_squares_brl.cxx:102:8: style: C-style pointer casting [cstyleCast] seaview/least_squares_brl.cxx:106:8: style: C-style pointer casting [cstyleCast] seaview/least_squares_brl.cxx:107:7: style: C-style pointer casting [cstyleCast] seaview/least_squares_brl.cxx:108:7: style: C-style pointer casting [cstyleCast] seaview/least_squares_brl.cxx:121:28: style: C-style pointer casting [cstyleCast] seaview/least_squares_brl.cxx:137:27: style: C-style pointer casting [cstyleCast] seaview/least_squares_brl.cxx:138:30: style: C-style pointer casting [cstyleCast] seaview/least_squares_brl.cxx:149:31: style: C-style pointer casting [cstyleCast] seaview/least_squares_brl.cxx:150:7: style: C-style pointer casting [cstyleCast] seaview/least_squares_brl.cxx:241:12: style: C-style pointer casting [cstyleCast] seaview/least_squares_brl.cxx:314:13: style: C-style pointer casting [cstyleCast] seaview/least_squares_brl.cxx:315:12: style: C-style pointer casting [cstyleCast] seaview/least_squares_brl.cxx:427:8: style: C-style pointer casting [cstyleCast] seaview/least_squares_brl.cxx:449:29: style: C-style pointer casting [cstyleCast] seaview/least_squares_brl.cxx:451:7: style: C-style pointer casting [cstyleCast] seaview/least_squares_brl.cxx:453:9: style: C-style pointer casting [cstyleCast] seaview/least_squares_brl.cxx:456:7: style: C-style pointer casting [cstyleCast] seaview/least_squares_brl.cxx:457:6: style: C-style pointer casting [cstyleCast] seaview/least_squares_brl.cxx:517:8: style: C-style pointer casting [cstyleCast] seaview/least_squares_brl.cxx:230:3: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] seaview/least_squares_brl.cxx:234:3: note: Found duplicate branches for 'if' and 'else'. seaview/least_squares_brl.cxx:230:3: note: Found duplicate branches for 'if' and 'else'. seaview/least_squares_brl.cxx:258:15: style: The comparison 't == 1' is always true. [knownConditionTrueFalse] seaview/least_squares_brl.cxx:192:36: note: 't' is assigned value '1' here. seaview/least_squares_brl.cxx:258:15: note: The comparison 't == 1' is always true. seaview/least_squares_brl.cxx:53:28: style: The scope of the variable 'lgbp' can be reduced. [variableScope] seaview/least_squares_brl.cxx:53:35: style: The scope of the variable 'lgbi' can be reduced. [variableScope] seaview/least_squares_brl.cxx:54:9: style: The scope of the variable 'sarbre' can be reduced. [variableScope] seaview/least_squares_brl.cxx:561:13: style: The scope of the variable 'ip' can be reduced. [variableScope] seaview/threads.cxx:45:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_CREATE_DETACHED [valueFlowBailoutIncompleteVar] seaview/least_squares_brl.cxx:185:46: style:inconclusive: Function 'tree_ctob' argument 3 names different: declaration 'notu' definition 'nbotu'. [funcArgNamesDifferent] seaview/least_squares_brl.cxx:24:46: note: Function 'tree_ctob' argument 3 names different: declaration 'notu' definition 'nbotu'. seaview/least_squares_brl.cxx:185:46: note: Function 'tree_ctob' argument 3 names different: declaration 'notu' definition 'nbotu'. seaview/least_squares_brl.cxx:650:42: style:inconclusive: Function 'write_unrooted' argument 2 names different: declaration 'tree' definition 'tree_start'. [funcArgNamesDifferent] seaview/least_squares_brl.cxx:37:42: note: Function 'write_unrooted' argument 2 names different: declaration 'tree' definition 'tree_start'. seaview/least_squares_brl.cxx:650:42: note: Function 'write_unrooted' argument 2 names different: declaration 'tree' definition 'tree_start'. seaview/least_squares_brl.cxx:185:35: style: Parameter 'nom' can be declared as const array [constParameter] seaview/least_squares_brl.cxx:306:48: style: Parameter 'lgbi' can be declared as pointer to const [constParameterPointer] seaview/least_squares_brl.cxx:306:62: style: Parameter 'lgbp' can be declared as pointer to const [constParameterPointer] seaview/least_squares_brl.cxx:306:76: style: Parameter 'bootval' can be declared as pointer to const [constParameterPointer] seaview/least_squares_brl.cxx:423:121: style: Parameter 'nom' can be declared as pointer to const [constParameterPointer] seaview/least_squares_brl.cxx:496:54: style: Parameter 'v2' can be declared as pointer to const [constParameterPointer] seaview/least_squares_brl.cxx:511:25: style: Parameter 'v1' can be declared as pointer to const [constParameterPointer] seaview/least_squares_brl.cxx:559:37: style: Parameter 'indx' can be declared as pointer to const [constParameterPointer] seaview/least_squares_brl.cxx:582:18: style: Parameter 'carbre' can be declared as pointer to const [constParameterPointer] seaview/threads.cxx:56:49: style: C-style pointer casting [cstyleCast] seaview/least_squares_brl.cxx:15:8: style: struct member 'sbranche::bout1' is never used. [unusedStructMember] seaview/least_squares_brl.cxx:16:8: style: struct member 'sbranche::bout2' is never used. [unusedStructMember] seaview/least_squares_brl.cxx:17:9: style: struct member 'sbranche::length' is never used. [unusedStructMember] seaview/least_squares_brl.cxx:18:9: style: struct member 'sbranche::bootstrap' is never used. [unusedStructMember] seaview/csrc/seq.c:3176:9: style: The if condition is the same as the previous if condition [duplicateCondition] seaview/csrc/seq.c:3172:9: note: First condition seaview/csrc/seq.c:3176:9: note: Second condition seaview/csrc/seq.c:1304:13: style: The statement 'if (below!=treenode[below->index-1]) below=treenode[below->index-1]' is logically equivalent to 'below=treenode[below->index-1]'. [duplicateConditionalAssign] seaview/csrc/seq.c:1305:11: note: Assignment 'below=treenode[below->index-1]' seaview/csrc/seq.c:1304:13: note: Condition 'below!=treenode[below->index-1]' is redundant seaview/csrc/seq.c:4040:21: style: The statement 'if (q->index!=index) q->index=index' is logically equivalent to 'q->index=index'. [duplicateConditionalAssign] seaview/csrc/seq.c:4041:20: note: Assignment 'q->index=index' seaview/csrc/seq.c:4040:21: note: Condition 'q->index!=index' is redundant seaview/csrc/seq.c:928:21: warning: Possible null pointer dereference: rt [nullPointer] seaview/csrc/seq.c:1362:35: note: Calling function 'fillin', 3rd argument 'NULL' value is 0 seaview/csrc/seq.c:928:21: note: Null pointer dereference seaview/csrc/seq.c:929:25: warning: Possible null pointer dereference: rt [nullPointer] seaview/csrc/seq.c:1362:35: note: Calling function 'fillin', 3rd argument 'NULL' value is 0 seaview/csrc/seq.c:929:25: note: Null pointer dereference seaview/csrc/seq.c:4020:11: warning: Either the condition 'q->back' is redundant or there is possible null pointer dereference: q->back. [nullPointerRedundantCheck] seaview/csrc/seq.c:4072:12: note: Assuming that condition 'q->back' is not redundant seaview/csrc/seq.c:4020:11: note: Null pointer dereference seaview/csrc/seq.c:64:35: style: Parameter 'zeros' can be declared as pointer to const [constParameterPointer] seaview/csrc/seq.c:355:30: style: Parameter 'zeros' can be declared as pointer to const [constParameterPointer] seaview/csrc/seq.c:923:9: style: Variable 'q' can be declared as pointer to const [constVariablePointer] seaview/csrc/seq.c:967:23: style: Parameter 'numnuc' can be declared as pointer to const [constParameterPointer] seaview/csrc/seq.c:1066:65: style: Parameter 'threshwt' can be declared as pointer to const [constParameterPointer] seaview/csrc/seq.c:1107:61: style: Parameter 'threshwt' can be declared as pointer to const [constParameterPointer] seaview/csrc/seq.c:1184:39: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] seaview/csrc/seq.c:1188:13: style: Variable 'r' can be declared as pointer to const [constVariablePointer] seaview/csrc/seq.c:1225:31: style: Parameter 'changing' can be declared as pointer to const [constParameterPointer] seaview/csrc/seq.c:1276:35: style: Parameter 'root' can be declared as pointer to const [constParameterPointer] seaview/csrc/seq.c:1377:36: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] seaview/csrc/seq.c:1389:65: style: Parameter 'zeros' can be declared as pointer to const [constParameterPointer] seaview/csrc/seq.c:1629:37: style: Parameter 'place' can be declared as pointer to const [constParameterPointer] seaview/csrc/seq.c:1648:34: style: Parameter 'place' can be declared as pointer to const [constParameterPointer] seaview/csrc/seq.c:1721:35: style: Parameter 'outgrnode' can be declared as pointer to const [constParameterPointer] seaview/csrc/seq.c:1748:33: style: Parameter 'outgrnode' can be declared as pointer to const [constParameterPointer] seaview/csrc/seq.c:1980:30: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] seaview/csrc/seq.c:1980:39: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] seaview/csrc/seq.c:2012:25: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] seaview/csrc/seq.c:2012:34: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] seaview/csrc/seq.c:2023:24: style: Parameter 'desc' can be declared as pointer to const [constParameterPointer] seaview/csrc/seq.c:2024:31: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] seaview/csrc/seq.c:2074:64: style: Parameter 'zeros' can be declared as pointer to const [constParameterPointer] seaview/csrc/seq.c:2264:40: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] seaview/csrc/seq.c:2876:13: style: Variable 'first' can be declared as pointer to const [constVariablePointer] seaview/csrc/seq.c:2876:21: style: Variable 'last' can be declared as pointer to const [constVariablePointer] seaview/csrc/seq.c:2877:9: style: Variable 'mid1' can be declared as pointer to const [constVariablePointer] seaview/csrc/seq.c:2877:23: style: Variable 'mid2' can be declared as pointer to const [constVariablePointer] seaview/csrc/seq.c:3036:70: style: Parameter 'root' can be declared as pointer to const [constParameterPointer] seaview/csrc/seq.c:3370:21: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] seaview/csrc/seq.c:3390:26: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] seaview/csrc/seq.c:3415:17: style: Variable 'r' can be declared as pointer to const [constVariablePointer] seaview/csrc/seq.c:3470:17: style: Variable 'r' can be declared as pointer to const [constVariablePointer] seaview/csrc/seq.c:3522:33: style: Parameter 'nsteps' can be declared as pointer to const [constParameterPointer] seaview/csrc/seq.c:3667:23: style: Parameter 'l0gl' can be declared as pointer to const [constParameterPointer] seaview/csrc/seq.c:994:9: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] seaview/csrc/seq.c:1007:11: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] seaview/csrc/seq.c:1126:10: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] seaview/csrc/seq.c:1164:14: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] seaview/csrc/seq.c:1951:9: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] seaview/csrc/seq.c:1959:9: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] seaview/csrc/seq.c:3698:14: style: Variable 'temp' is assigned a value that is never used. [unreadVariable] seaview/csrc/seq.c:4049:10: style: Variable 'j' is assigned a value that is never used. [unreadVariable] seaview/csrc/lwl.c:17:11: style: Parameter 'cod' can be declared as pointer to const [constParameterPointer] seaview/csrc/lwl.c:129:13: style: Parameter 'cod1' can be declared as pointer to const [constParameterPointer] seaview/csrc/lwl.c:129:25: style: Parameter 'cod2' can be declared as pointer to const [constParameterPointer] seaview/csrc/lwl.c:274:71: style: Parameter 'aa' can be declared as pointer to const [constParameterPointer] seaview/csrc/lwl.c:274:93: style: Parameter 'pos' can be declared as pointer to const [constParameterPointer] seaview/csrc/lwl.c:322:71: style: Parameter 'aa' can be declared as pointer to const [constParameterPointer] seaview/csrc/lwl.c:602:7: style: Parameter 'wght' can be declared as pointer to const [constParameterPointer] seaview/csrc/lwl.c:307:39: warning: Uninitialized variable: n [uninitvar] seaview/csrc/lwl.c:306:30: note: Assuming condition is false seaview/csrc/lwl.c:307:39: note: Uninitialized variable: n seaview/csrc/lwl.c:391:40: style: Unused variable: pos [unusedVariable] diff: DONE