2025-07-05 21:13 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 --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-63-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 9b11b6b (2025-07-04 16:03:30 +0200) count: 439 428 elapsed-time: 7.2 8.2 head-timing-info: old-timing-info: head results: 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:234:9: style: Condition 'f==1' is always true [knownConditionTrueFalse] seaview/FL/Fl_SVG_Image.cxx:221:13: note: Assignment 'f=1', assigned value is 1 seaview/FL/Fl_SVG_Image.cxx:234:9: note: Condition 'f==1' is always true 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:8: style: C-style pointer casting [cstyleCast] seaview/seaview.h:10:0: error: #error Seaview requires FLTK version 1.3.4 or higher [preprocessorErrorDirective] seaview/seaview.h:10:2: error: #error Seaview requires FLTK version 1.3.4 or higher [preprocessorErrorDirective] seaview/csrc/bionj.c:449:32: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] seaview/csrc/phylip.h:456:1: debug: Failed to parse 'typedef double ( * * ) [ ( long ) T - ( long ) A + 1 ] phenotype ;'. The checking continues anyway. [simplifyTypedef] seaview/csrc/phylip.h:457:1: debug: Failed to parse 'typedef double ( * * ) [ ( long ) valine - ( long ) alanine + 1 ] pphenotype ;'. The checking continues anyway. [simplifyTypedef] 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:1686:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tree [nullPointerOutOfMemory] seaview/csrc/dnapars.c:1683:25: note: Assuming allocation function fails seaview/csrc/dnapars.c:1683:12: note: Assignment 'tree=(char*)malloc(L+1)', assigned value is 0 seaview/csrc/dnapars.c:1686:5: note: Null pointer dereference 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/lwl.c:392:93: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pos [valueFlowBailoutIncompleteVar] 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] 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:490:29: style: Parameter 'codon' 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/parser.c:11:3: warning: If memory allocation fails, then there is a possible null pointer dereference: rep [nullPointerOutOfMemory] seaview/csrc/parser.c:10:28: note: Assuming allocation function fails seaview/csrc/parser.c:10:9: note: Assignment 'rep=(struct Reponse*)malloc(sizeof(struct Reponse))', assigned value is 0 seaview/csrc/parser.c:11:3: note: Null pointer dereference seaview/csrc/parser.c:12:3: warning: If memory allocation fails, then there is a possible null pointer dereference: rep [nullPointerOutOfMemory] seaview/csrc/parser.c:10:28: note: Assuming allocation function fails seaview/csrc/parser.c:10:9: note: Assignment 'rep=(struct Reponse*)malloc(sizeof(struct Reponse))', assigned value is 0 seaview/csrc/parser.c:12:3: note: Null pointer dereference seaview/csrc/parser.c:91:9: warning: If memory allocation fails, then there is a possible null pointer dereference: retval [nullPointerOutOfMemory] seaview/csrc/parser.c:90:25: note: Assuming allocation function fails seaview/csrc/parser.c:90:11: note: Assignment 'retval=(char*)malloc(l+1)', assigned value is 0 seaview/csrc/parser.c:91:9: note: Null pointer dereference seaview/csrc/parser.c:105:12: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] seaview/csrc/parser.c:90:25: note: Assuming allocation function fails seaview/csrc/parser.c:90:11: note: Assignment 'retval=(char*)malloc(l+1)', assigned value is 0 seaview/csrc/parser.c:92:19: note: Calling function 'unprotect_quotes', 1st argument 'retval' value is 0 seaview/csrc/parser.c:105:12: note: Null pointer dereference seaview/csrc/parser.c:106:5: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] seaview/csrc/parser.c:90:25: note: Assuming allocation function fails seaview/csrc/parser.c:90:11: note: Assignment 'retval=(char*)malloc(l+1)', assigned value is 0 seaview/csrc/parser.c:92:19: note: Calling function 'unprotect_quotes', 1st argument 'retval' value is 0 seaview/csrc/parser.c:106:5: note: Null pointer dereference seaview/csrc/parser.c:107:10: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] seaview/csrc/parser.c:90:25: note: Assuming allocation function fails seaview/csrc/parser.c:90:11: note: Assignment 'retval=(char*)malloc(l+1)', assigned value is 0 seaview/csrc/parser.c:92:19: note: Calling function 'unprotect_quotes', 1st argument 'retval' value is 0 seaview/csrc/parser.c:107:10: note: Null pointer dereference seaview/csrc/parser.c:111:20: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] seaview/csrc/parser.c:90:25: note: Assuming allocation function fails seaview/csrc/parser.c:90:11: note: Assignment 'retval=(char*)malloc(l+1)', assigned value is 0 seaview/csrc/parser.c:92:19: note: Calling function 'unprotect_quotes', 1st argument 'retval' value is 0 seaview/csrc/parser.c:111:20: note: Null pointer dereference seaview/csrc/parser.c:107:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] seaview/csrc/parser.c:90:25: note: Assuming allocation function fails seaview/csrc/parser.c:90:11: note: Assignment 'retval=(char*)malloc(l+1)', assigned value is 0 seaview/csrc/parser.c:92:19: note: Calling function 'unprotect_quotes', 1st argument 'retval' value is 0 seaview/csrc/parser.c:107:20: note: Null pointer addition seaview/csrc/parser.c:108:12: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] seaview/csrc/parser.c:90:25: note: Assuming allocation function fails seaview/csrc/parser.c:90:11: note: Assignment 'retval=(char*)malloc(l+1)', assigned value is 0 seaview/csrc/parser.c:92:19: note: Calling function 'unprotect_quotes', 1st argument 'retval' value is 0 seaview/csrc/parser.c:108:12: note: Null pointer addition seaview/csrc/parser.c:111:88: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] seaview/csrc/parser.c:90:25: note: Assuming allocation function fails seaview/csrc/parser.c:90:11: note: Assignment 'retval=(char*)malloc(l+1)', assigned value is 0 seaview/csrc/parser.c:92:19: note: Calling function 'unprotect_quotes', 1st argument 'retval' value is 0 seaview/csrc/parser.c:111:88: note: Null pointer addition 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/parser.c:79:31: style: Variable 'p' can be declared as pointer to const [constVariablePointer] 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/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/phyml_util.c:42:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [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/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:2098:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tree [nullPointerOutOfMemory] seaview/csrc/protpars.c:2095:25: note: Assuming allocation function fails seaview/csrc/protpars.c:2095:12: note: Assignment 'tree=(char*)malloc(L+1)', assigned value is 0 seaview/csrc/protpars.c:2098:5: note: Null pointer dereference 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/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/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:544:25: error: Memory leak: ip_name [memleak] seaview/csrc/raa_acnuc.c:541:8: warning: If memory allocation fails, then there is a possible null pointer dereference: ip_name [nullPointerOutOfMemory] seaview/csrc/raa_acnuc.c:540:26: note: Assuming allocation function fails seaview/csrc/raa_acnuc.c:540:13: note: Assignment 'ip_name=(char*)malloc(q-p+1)', assigned value is 0 seaview/csrc/raa_acnuc.c:541:8: note: Null pointer dereference seaview/csrc/raa_acnuc.c:541:28: warning: If memory allocation fails, then there is a possible null pointer dereference: ip_name [nullPointerOutOfMemory] seaview/csrc/raa_acnuc.c:540:26: note: Assuming allocation function fails seaview/csrc/raa_acnuc.c:540:13: note: Assignment 'ip_name=(char*)malloc(q-p+1)', assigned value is 0 seaview/csrc/raa_acnuc.c:541:28: note: Null pointer dereference seaview/csrc/raa_acnuc.c:2297:8: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] seaview/csrc/raa_acnuc.c:2295:25: note: Assuming allocation function fails seaview/csrc/raa_acnuc.c:2295:11: note: Assignment 'reponse=(char*)malloc((debut-oldrequete)+1+l+1+strlen(fin)+1)', assigned value is 0 seaview/csrc/raa_acnuc.c:2296:3: note: p is assigned 'reponse' here. seaview/csrc/raa_acnuc.c:2297:8: note: Null pointer dereference seaview/csrc/raa_acnuc.c:2343:19: warning: If memory allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfMemory] seaview/csrc/raa_acnuc.c:2361:16: note: Assuming allocation function fails seaview/csrc/raa_acnuc.c:2361:16: note: Assignment 'oldori=strdup(oldrequete)', assigned value is 0 seaview/csrc/raa_acnuc.c:2362:15: note: Calling function 'maj_strstr', 1st argument 'oldori' value is 0 seaview/csrc/raa_acnuc.c:2343:19: note: Null pointer dereference seaview/csrc/raa_acnuc.c:2345:12: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] seaview/csrc/raa_acnuc.c:2343:18: note: Assuming allocation function fails seaview/csrc/raa_acnuc.c:2343:18: note: Assignment 'buffer=strdup(in)', assigned value is 0 seaview/csrc/raa_acnuc.c:2345:12: note: Null pointer dereference seaview/csrc/raa_acnuc.c:2833:1: warning: If memory allocation fails, then there is a possible null pointer dereference: nouveau [nullPointerOutOfMemory] seaview/csrc/raa_acnuc.c:2832:36: note: Assuming allocation function fails seaview/csrc/raa_acnuc.c:2832:11: note: Assignment 'nouveau=(struct raa_pair*)calloc(1,sizeof(struct raa_pair))', assigned value is 0 seaview/csrc/raa_acnuc.c:2833:1: note: Null pointer dereference seaview/csrc/raa_acnuc.c:2880:9: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] seaview/csrc/raa_acnuc.c:2879:22: note: Assuming allocation function fails seaview/csrc/raa_acnuc.c:2879:8: note: Assignment 'name=(char*)malloc(l+1)', assigned value is 0 seaview/csrc/raa_acnuc.c:2880:9: note: Null pointer dereference seaview/csrc/raa_acnuc.c:2880:22: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] seaview/csrc/raa_acnuc.c:2879:22: note: Assuming allocation function fails seaview/csrc/raa_acnuc.c:2879:8: note: Assignment 'name=(char*)malloc(l+1)', assigned value is 0 seaview/csrc/raa_acnuc.c:2880:22: note: Null pointer dereference seaview/csrc/raa_acnuc.c:2894:10: warning: If memory allocation fails, then there is a possible null pointer dereference: libel [nullPointerOutOfMemory] seaview/csrc/raa_acnuc.c:2893:24: note: Assuming allocation function fails seaview/csrc/raa_acnuc.c:2893:10: note: Assignment 'libel=(char*)malloc(l+1)', assigned value is 0 seaview/csrc/raa_acnuc.c:2894:10: note: Null pointer dereference seaview/csrc/raa_acnuc.c:2894:24: warning: If memory allocation fails, then there is a possible null pointer dereference: libel [nullPointerOutOfMemory] seaview/csrc/raa_acnuc.c:2893:24: note: Assuming allocation function fails seaview/csrc/raa_acnuc.c:2893:10: note: Assignment 'libel=(char*)malloc(l+1)', assigned value is 0 seaview/csrc/raa_acnuc.c:2894:24: note: Null pointer dereference seaview/csrc/raa_acnuc.c:2898:9: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] seaview/csrc/raa_acnuc.c:2897:20: note: Assuming allocation function fails seaview/csrc/raa_acnuc.c:2897:6: note: Assignment 'p=(char*)malloc(l+1)', assigned value is 0 seaview/csrc/raa_acnuc.c:2898:9: note: Null pointer dereference seaview/csrc/raa_acnuc.c:2898:12: warning: If memory allocation fails, then there is a possible null pointer dereference: libel [nullPointerOutOfMemory] seaview/csrc/raa_acnuc.c:2893:24: note: Assuming allocation function fails seaview/csrc/raa_acnuc.c:2893:10: note: Assignment 'libel=(char*)malloc(l+1)', assigned value is 0 seaview/csrc/raa_acnuc.c:2898:12: note: Null pointer dereference seaview/csrc/raa_acnuc.c:2901:13: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] seaview/csrc/raa_acnuc.c:2897:20: note: Assuming allocation function fails seaview/csrc/raa_acnuc.c:2897:6: note: Assignment 'p=(char*)malloc(l+1)', assigned value is 0 seaview/csrc/raa_acnuc.c:2901:13: note: Null pointer dereference 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:19: style: Variable 'p' 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:1325:27: style: Variable 'p' 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:2070:17: 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:2217:7: style: Variable 'p' 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: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/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/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: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/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:126:7: style: Variable 'p' can be declared as pointer to const [constVariablePointer] seaview/least_squares_brl.cxx:60:25: warning: If memory allocation fails, then there is a possible null pointer dereference: barbre [nullPointerOutOfMemory] seaview/least_squares_brl.cxx:59:25: note: Assuming allocation function fails seaview/least_squares_brl.cxx:59:12: note: Assignment 'barbre=(int**)calloc(notu,sizeof(int*))', assigned value is 0 seaview/least_squares_brl.cxx:60:25: note: Null pointer dereference seaview/least_squares_brl.cxx:75:18: warning: If memory allocation fails, then there is a possible null pointer dereference: sarbre [nullPointerOutOfMemory] seaview/least_squares_brl.cxx:71:24: note: Assuming allocation function fails seaview/least_squares_brl.cxx:71:10: note: Assignment 'sarbre=(struct noeudnoeud*)calloc(2*notu,sizeof(struct noeudnoeud))', assigned value is 0 seaview/least_squares_brl.cxx:75:18: note: Null pointer dereference seaview/least_squares_brl.cxx:76:36: warning: If memory allocation fails, then there is a possible null pointer dereference: sarbre [nullPointerOutOfMemory] seaview/least_squares_brl.cxx:71:24: note: Assuming allocation function fails seaview/least_squares_brl.cxx:71:10: note: Assignment 'sarbre=(struct noeudnoeud*)calloc(2*notu,sizeof(struct noeudnoeud))', assigned value is 0 seaview/least_squares_brl.cxx:76:36: note: Null pointer dereference seaview/least_squares_brl.cxx:79:30: warning: If memory allocation fails, then there is a possible null pointer dereference: barbre [nullPointerOutOfMemory] seaview/least_squares_brl.cxx:59:25: note: Assuming allocation function fails seaview/least_squares_brl.cxx:59:12: note: Assignment 'barbre=(int**)calloc(notu,sizeof(int*))', assigned value is 0 seaview/least_squares_brl.cxx:79:30: note: Null pointer dereference seaview/least_squares_brl.cxx:113:4: warning: If memory allocation fails, then there is a possible null pointer dereference: cdist [nullPointerOutOfMemory] seaview/least_squares_brl.cxx:106:23: note: Assuming allocation function fails seaview/least_squares_brl.cxx:106:8: note: Assignment 'cdist=(double*)calloc(nbdist,sizeof(double))', assigned value is 0 seaview/least_squares_brl.cxx:113:4: note: Null pointer dereference seaview/least_squares_brl.cxx:114:4: warning: If memory allocation fails, then there is a possible null pointer dereference: ind1 [nullPointerOutOfMemory] seaview/least_squares_brl.cxx:107:19: note: Assuming allocation function fails seaview/least_squares_brl.cxx:107:7: note: Assignment 'ind1=(int*)calloc(nbdist,sizeof(int))', assigned value is 0 seaview/least_squares_brl.cxx:114:4: note: Null pointer dereference seaview/least_squares_brl.cxx:114:16: warning: If memory allocation fails, then there is a possible null pointer dereference: ind2 [nullPointerOutOfMemory] seaview/least_squares_brl.cxx:108:19: note: Assuming allocation function fails seaview/least_squares_brl.cxx:108:7: note: Assignment 'ind2=(int*)calloc(nbdist,sizeof(int))', assigned value is 0 seaview/least_squares_brl.cxx:114:16: note: Null pointer dereference seaview/least_squares_brl.cxx:121:22: warning: If memory allocation fails, then there is a possible null pointer dereference: ta [nullPointerOutOfMemory] seaview/least_squares_brl.cxx:99:21: note: Assuming allocation function fails seaview/least_squares_brl.cxx:99:5: note: Assignment 'ta=(double**)calloc(nbbr,sizeof(double*))', assigned value is 0 seaview/least_squares_brl.cxx:121:22: note: Null pointer dereference seaview/least_squares_brl.cxx:254:30: warning: If memory allocation fails, then there is a possible null pointer dereference: listecour [nullPointerOutOfMemory] seaview/least_squares_brl.cxx:241:25: note: Assuming allocation function fails seaview/least_squares_brl.cxx:241:12: note: Assignment 'listecour=(int*)calloc(nbotu,sizeof(int))', assigned value is 0 seaview/least_squares_brl.cxx:254:30: note: Null pointer dereference seaview/least_squares_brl.cxx:319:3: warning: If memory allocation fails, then there is a possible null pointer dereference: kill_tax [nullPointerOutOfMemory] seaview/least_squares_brl.cxx:314:26: note: Assuming allocation function fails seaview/least_squares_brl.cxx:314:13: note: Assignment 'kill_tax=(int*)calloc(notu,sizeof(int))', assigned value is 0 seaview/least_squares_brl.cxx:319:3: note: Null pointer dereference seaview/least_squares_brl.cxx:320:3: warning: If memory allocation fails, then there is a possible null pointer dereference: kill_bi [nullPointerOutOfMemory] seaview/least_squares_brl.cxx:315:25: note: Assuming allocation function fails seaview/least_squares_brl.cxx:315:12: note: Assignment 'kill_bi=(int*)calloc(notu,sizeof(int))', assigned value is 0 seaview/least_squares_brl.cxx:320:3: note: Null pointer dereference seaview/least_squares_brl.cxx:328:3: warning: If memory allocation fails, then there is a possible null pointer dereference: arbre_s [nullPointerOutOfMemory] seaview/least_squares_brl.cxx:71:24: note: Assuming allocation function fails seaview/least_squares_brl.cxx:71:10: note: Assignment 'sarbre=(struct noeudnoeud*)calloc(2*notu,sizeof(struct noeudnoeud))', assigned value is 0 seaview/least_squares_brl.cxx:72:52: note: Calling function 'tree_btos', 7th argument 'sarbre' value is 0 seaview/least_squares_brl.cxx:328:3: note: Null pointer dereference seaview/least_squares_brl.cxx:453:3: warning: If memory allocation fails, then there is a possible null pointer dereference: lu [nullPointerOutOfMemory] seaview/least_squares_brl.cxx:451:24: note: Assuming allocation function fails seaview/least_squares_brl.cxx:451:7: note: Assignment 'lu=(double**)calloc(n+1,sizeof(double*))', assigned value is 0 seaview/least_squares_brl.cxx:453:3: note: Null pointer dereference seaview/least_squares_brl.cxx:454:22: warning: If memory allocation fails, then there is a possible null pointer dereference: lu [nullPointerOutOfMemory] seaview/least_squares_brl.cxx:451:24: note: Assuming allocation function fails seaview/least_squares_brl.cxx:451:7: note: Assignment 'lu=(double**)calloc(n+1,sizeof(double*))', assigned value is 0 seaview/least_squares_brl.cxx:454:22: note: Null pointer dereference seaview/least_squares_brl.cxx:519:3: warning: If memory allocation fails, then there is a possible null pointer dereference: vprod [nullPointerOutOfMemory] seaview/least_squares_brl.cxx:517:23: note: Assuming allocation function fails seaview/least_squares_brl.cxx:517:8: note: Assignment 'vprod=(double*)calloc(nbc2+1,sizeof(double))', assigned value is 0 seaview/least_squares_brl.cxx:519:3: note: Null pointer dereference seaview/least_squares_brl.cxx:520:23: warning: If memory allocation fails, then there is a possible null pointer dereference: vprod [nullPointerOutOfMemory] seaview/least_squares_brl.cxx:517:23: note: Assuming allocation function fails seaview/least_squares_brl.cxx:517:8: note: Assignment 'vprod=(double*)calloc(nbc2+1,sizeof(double))', assigned value is 0 seaview/least_squares_brl.cxx:520:23: note: Null pointer dereference seaview/least_squares_brl.cxx:586:9: warning: If memory allocation fails, then there is a possible null pointer dereference: carbre [nullPointerOutOfMemory] seaview/least_squares_brl.cxx:57:15: note: Assuming allocation function fails seaview/least_squares_brl.cxx:57:15: note: Assignment 'tree=strdup(input_tree)', assigned value is 0 seaview/least_squares_brl.cxx:61:13: note: Calling function 'rooted', 1st argument 'tree' value is 0 seaview/least_squares_brl.cxx:586:9: note: Null pointer dereference seaview/least_squares_brl.cxx:586:27: warning: If memory allocation fails, then there is a possible null pointer dereference: carbre [nullPointerOutOfMemory] seaview/least_squares_brl.cxx:57:15: note: Assuming allocation function fails seaview/least_squares_brl.cxx:57:15: note: Assignment 'tree=strdup(input_tree)', assigned value is 0 seaview/least_squares_brl.cxx:61:13: note: Calling function 'rooted', 1st argument 'tree' value is 0 seaview/least_squares_brl.cxx:586:27: note: Null pointer dereference seaview/least_squares_brl.cxx:586:46: warning: If memory allocation fails, then there is a possible null pointer dereference: carbre [nullPointerOutOfMemory] seaview/least_squares_brl.cxx:57:15: note: Assuming allocation function fails seaview/least_squares_brl.cxx:57:15: note: Assignment 'tree=strdup(input_tree)', assigned value is 0 seaview/least_squares_brl.cxx:61:13: note: Calling function 'rooted', 1st argument 'tree' value is 0 seaview/least_squares_brl.cxx:586:46: note: Null pointer dereference seaview/least_squares_brl.cxx:586:66: warning: If memory allocation fails, then there is a possible null pointer dereference: carbre [nullPointerOutOfMemory] seaview/least_squares_brl.cxx:57:15: note: Assuming allocation function fails seaview/least_squares_brl.cxx:57:15: note: Assignment 'tree=strdup(input_tree)', assigned value is 0 seaview/least_squares_brl.cxx:61:13: note: Calling function 'rooted', 1st argument 'tree' value is 0 seaview/least_squares_brl.cxx:586:66: note: Null pointer dereference seaview/least_squares_brl.cxx:587:5: warning: If memory allocation fails, then there is a possible null pointer dereference: carbre [nullPointerOutOfMemory] seaview/least_squares_brl.cxx:57:15: note: Assuming allocation function fails seaview/least_squares_brl.cxx:57:15: note: Assignment 'tree=strdup(input_tree)', assigned value is 0 seaview/least_squares_brl.cxx:61:13: note: Calling function 'rooted', 1st argument 'tree' value is 0 seaview/least_squares_brl.cxx:587:5: note: Null pointer dereference seaview/least_squares_brl.cxx:587:23: warning: If memory allocation fails, then there is a possible null pointer dereference: carbre [nullPointerOutOfMemory] seaview/least_squares_brl.cxx:57:15: note: Assuming allocation function fails seaview/least_squares_brl.cxx:57:15: note: Assignment 'tree=strdup(input_tree)', assigned value is 0 seaview/least_squares_brl.cxx:61:13: note: Calling function 'rooted', 1st argument 'tree' value is 0 seaview/least_squares_brl.cxx:587:23: note: Null pointer dereference seaview/least_squares_brl.cxx:592:5: warning: If memory allocation fails, then there is a possible null pointer dereference: carbre [nullPointerOutOfMemory] seaview/least_squares_brl.cxx:57:15: note: Assuming allocation function fails seaview/least_squares_brl.cxx:57:15: note: Assignment 'tree=strdup(input_tree)', assigned value is 0 seaview/least_squares_brl.cxx:61:13: note: Calling function 'rooted', 1st argument 'tree' value is 0 seaview/least_squares_brl.cxx:587:20: note: Assuming condition is false seaview/least_squares_brl.cxx:592:5: note: Null pointer dereference seaview/least_squares_brl.cxx:654:7: warning: If memory allocation fails, then there is a possible null pointer dereference: tree++ [nullPointerOutOfMemory] seaview/least_squares_brl.cxx:74:24: note: Assuming allocation function fails seaview/least_squares_brl.cxx:74:10: note: Assignment 'tree=(char*)malloc(strlen(input_tree)+20*notu)', assigned value is 0 seaview/least_squares_brl.cxx:75:29: note: Calling function 'write_unrooted', 2nd argument 'tree' value is 0 seaview/least_squares_brl.cxx:653:9: note: Assignment 'tree=tree_start', assigned value is 0 seaview/least_squares_brl.cxx:653:7: note: tree is assigned 'tree_start' here. seaview/least_squares_brl.cxx:653:7: note: tree is assigned 'tree_start' here. seaview/least_squares_brl.cxx:654:7: note: Null pointer dereference seaview/least_squares_brl.cxx:654:7: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] seaview/least_squares_brl.cxx:74:24: note: Assuming allocation function fails seaview/least_squares_brl.cxx:74:10: note: Assignment 'tree=(char*)malloc(strlen(input_tree)+20*notu)', assigned value is 0 seaview/least_squares_brl.cxx:75:29: note: Calling function 'write_unrooted', 2nd argument 'tree' value is 0 seaview/least_squares_brl.cxx:653:9: note: Assignment 'tree=tree_start', assigned value is 0 seaview/least_squares_brl.cxx:654:7: note: Null pointer addition 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:10: 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:7: 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: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/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/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/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:371:27: performance:inconclusive: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::line_style' can be static. [functionStatic] seaview/pdf_or_ps.h:47:8: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::line_style' can be static. seaview/pdf_or_ps.cxx:371:27: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::line_style' can be static. seaview/pdf_or_ps.cxx:372:27: performance:inconclusive: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::rtl_draw' can be static. [functionStatic] seaview/pdf_or_ps.h:57:8: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::rtl_draw' can be static. seaview/pdf_or_ps.cxx:372:27: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::rtl_draw' can be static. seaview/pdf_or_ps.cxx:364:27: performance:inconclusive: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image' can be static. [functionStatic] seaview/pdf_or_ps.h:62:8: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image' can be static. seaview/pdf_or_ps.cxx:364:27: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image' can be static. seaview/pdf_or_ps.cxx:365:27: performance:inconclusive: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image_mono' can be static. [functionStatic] seaview/pdf_or_ps.h:63:8: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image_mono' can be static. seaview/pdf_or_ps.cxx:365:27: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image_mono' can be static. seaview/pdf_or_ps.cxx:366:27: performance:inconclusive: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image' can be static. [functionStatic] seaview/pdf_or_ps.h:64:8: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image' can be static. seaview/pdf_or_ps.cxx:366:27: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image' can be static. seaview/pdf_or_ps.cxx:367:27: performance:inconclusive: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image_mono' can be static. [functionStatic] seaview/pdf_or_ps.h:65:8: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image_mono' can be static. seaview/pdf_or_ps.cxx:367:27: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image_mono' can be static. seaview/pdf_or_ps.cxx:368:27: performance:inconclusive: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw' can be static. [functionStatic] seaview/pdf_or_ps.h:66:8: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw' can be static. seaview/pdf_or_ps.cxx:368:27: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw' can be static. seaview/pdf_or_ps.cxx:369:27: performance:inconclusive: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw' can be static. [functionStatic] seaview/pdf_or_ps.h:67:8: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw' can be static. seaview/pdf_or_ps.cxx:369:27: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw' can be static. seaview/pdf_or_ps.cxx:370:27: performance:inconclusive: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw' can be static. [functionStatic] seaview/pdf_or_ps.h:68:8: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw' can be static. seaview/pdf_or_ps.cxx:370:27: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw' can be static. seaview/pdf_or_ps.h:129:15: style:inconclusive: Either there is a missing 'override', or the member function 'Fl_PDF_File_Device::outfname' can be const. [functionConst] 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:405:3: warning: If memory allocation fails, then there is a possible null pointer dereference: argv [nullPointerOutOfMemory] seaview/pseudoterminal.cxx:404:25: note: Assuming allocation function fails seaview/pseudoterminal.cxx:404:10: note: Assignment 'argv=(char**)malloc((argc+1)*sizeof(char*))', assigned value is 0 seaview/pseudoterminal.cxx:405:3: note: Null pointer dereference seaview/pseudoterminal.cxx:406:3: warning: If memory allocation fails, then there is a possible null pointer dereference: argv [nullPointerOutOfMemory] seaview/pseudoterminal.cxx:404:25: note: Assuming allocation function fails seaview/pseudoterminal.cxx:404:10: note: Assignment 'argv=(char**)malloc((argc+1)*sizeof(char*))', assigned value is 0 seaview/pseudoterminal.cxx:406:3: note: Null pointer dereference 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:8: style: C-style pointer casting [cstyleCast] seaview/resource.cxx:187:7: style: C-style pointer casting [cstyleCast] seaview/resource.cxx:202:18: style: C-style pointer casting [cstyleCast] seaview/resource.cxx:202:40: style: C-style pointer casting [cstyleCast] seaview/resource.cxx:224:9: 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/threads.cxx:45:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_CREATE_DETACHED [valueFlowBailoutIncompleteVar] seaview/threads.cxx:56:49: style: C-style pointer casting [cstyleCast] seaview/csrc/parser.c:105:12: warning: If memory allocation fails, then there is a possible null pointer dereference: name [ctunullpointerOutOfMemory] seaview/csrc/parser.c:90:25: note: Assuming allocation function fails seaview/csrc/parser.c:90:11: note: Assignment 'retval=(char*)malloc(l+1)', assigned value is 0 seaview/csrc/parser.c:92:18: note: Calling function unprotect_quotes, 1st argument is null seaview/csrc/parser.c:105:12: note: Dereferencing argument name that is null seaview/csrc/phyml_util.c:331:2: warning: Null pointer dereference: b [ctunullpointer] seaview/csrc/phyml_util.c:408:10: note: Assuming that condition 'b' is not redundant seaview/csrc/phyml_util.c:406:17: note: Calling function Init_Edge_Light, 1st argument is null seaview/csrc/phyml_util.c:331:2: note: Dereferencing argument b that is null seaview/csrc/raa_acnuc.c:2343:19: warning: If memory allocation fails, then there is a possible null pointer dereference: in [ctunullpointerOutOfMemory] seaview/csrc/raa_acnuc.c:2361:16: note: Assuming allocation function fails seaview/csrc/raa_acnuc.c:2361:16: note: Assignment 'oldori=strdup(oldrequete)', assigned value is 0 seaview/csrc/raa_acnuc.c:2362:14: note: Calling function maj_strstr, 1st argument is null seaview/csrc/raa_acnuc.c:2343:19: note: Dereferencing argument in that is null seaview/least_squares_brl.cxx:586:9: warning: If memory allocation fails, then there is a possible null pointer dereference: carbre [ctunullpointerOutOfMemory] seaview/least_squares_brl.cxx:57:15: note: Assuming allocation function fails seaview/least_squares_brl.cxx:57:15: note: Assignment 'tree=strdup(input_tree)', assigned value is 0 seaview/least_squares_brl.cxx:61:12: note: Calling function rooted, 1st argument is null seaview/least_squares_brl.cxx:586:9: note: Dereferencing argument carbre that is null diff: 2.17.0 seaview/FL/Fl_SVG_Image.cxx:172:15: style: C-style pointer casting [cstyleCast] head seaview/FL/Fl_SVG_Image.cxx:172:8: style: C-style pointer casting [cstyleCast] head seaview/csrc/parser.c:105:12: warning: If memory allocation fails, then there is a possible null pointer dereference: name [ctunullpointerOutOfMemory] seaview/csrc/parser.c:90:25: note: Assuming allocation function fails seaview/csrc/parser.c:90:11: note: Assignment 'retval=(char*)malloc(l+1)', assigned value is 0 seaview/csrc/parser.c:92:18: note: Calling function unprotect_quotes, 1st argument is null seaview/csrc/parser.c:105:12: note: Dereferencing argument name that is null 2.17.0 seaview/csrc/parser.c:107:20: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] seaview/csrc/parser.c:90:25: note: Assuming allocation function fails seaview/csrc/parser.c:90:11: note: Assignment 'retval=(char*)malloc(l+1)', assigned value is 0 seaview/csrc/parser.c:92:19: note: Calling function 'unprotect_quotes', 1st argument 'retval' value is 0 seaview/csrc/parser.c:107:20: note: Null pointer addition head seaview/csrc/parser.c:107:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] seaview/csrc/parser.c:90:25: note: Assuming allocation function fails seaview/csrc/parser.c:90:11: note: Assignment 'retval=(char*)malloc(l+1)', assigned value is 0 seaview/csrc/parser.c:92:19: note: Calling function 'unprotect_quotes', 1st argument 'retval' value is 0 seaview/csrc/parser.c:107:20: note: Null pointer addition 2.17.0 seaview/csrc/parser.c:108:12: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] seaview/csrc/parser.c:90:25: note: Assuming allocation function fails seaview/csrc/parser.c:90:11: note: Assignment 'retval=(char*)malloc(l+1)', assigned value is 0 seaview/csrc/parser.c:92:19: note: Calling function 'unprotect_quotes', 1st argument 'retval' value is 0 seaview/csrc/parser.c:108:12: note: Null pointer addition head seaview/csrc/parser.c:108:12: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] seaview/csrc/parser.c:90:25: note: Assuming allocation function fails seaview/csrc/parser.c:90:11: note: Assignment 'retval=(char*)malloc(l+1)', assigned value is 0 seaview/csrc/parser.c:92:19: note: Calling function 'unprotect_quotes', 1st argument 'retval' value is 0 seaview/csrc/parser.c:108:12: note: Null pointer addition 2.17.0 seaview/csrc/parser.c:111:88: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] seaview/csrc/parser.c:90:25: note: Assuming allocation function fails seaview/csrc/parser.c:90:11: note: Assignment 'retval=(char*)malloc(l+1)', assigned value is 0 seaview/csrc/parser.c:92:19: note: Calling function 'unprotect_quotes', 1st argument 'retval' value is 0 seaview/csrc/parser.c:111:88: note: Null pointer addition head seaview/csrc/parser.c:111:88: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] seaview/csrc/parser.c:90:25: note: Assuming allocation function fails seaview/csrc/parser.c:90:11: note: Assignment 'retval=(char*)malloc(l+1)', assigned value is 0 seaview/csrc/parser.c:92:19: note: Calling function 'unprotect_quotes', 1st argument 'retval' value is 0 seaview/csrc/parser.c:111:88: note: Null pointer addition head seaview/csrc/raa_acnuc.c:2343:19: warning: If memory allocation fails, then there is a possible null pointer dereference: in [ctunullpointerOutOfMemory] seaview/csrc/raa_acnuc.c:2361:16: note: Assuming allocation function fails seaview/csrc/raa_acnuc.c:2361:16: note: Assignment 'oldori=strdup(oldrequete)', assigned value is 0 seaview/csrc/raa_acnuc.c:2362:14: note: Calling function maj_strstr, 1st argument is null seaview/csrc/raa_acnuc.c:2343:19: note: Dereferencing argument in that is null head seaview/csrc/raa_acnuc.c:2880:22: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] seaview/csrc/raa_acnuc.c:2879:22: note: Assuming allocation function fails seaview/csrc/raa_acnuc.c:2879:8: note: Assignment 'name=(char*)malloc(l+1)', assigned value is 0 seaview/csrc/raa_acnuc.c:2880:22: note: Null pointer dereference head seaview/csrc/raa_acnuc.c:2894:24: warning: If memory allocation fails, then there is a possible null pointer dereference: libel [nullPointerOutOfMemory] seaview/csrc/raa_acnuc.c:2893:24: note: Assuming allocation function fails seaview/csrc/raa_acnuc.c:2893:10: note: Assignment 'libel=(char*)malloc(l+1)', assigned value is 0 seaview/csrc/raa_acnuc.c:2894:24: note: Null pointer dereference head seaview/csrc/raa_acnuc.c:541:28: warning: If memory allocation fails, then there is a possible null pointer dereference: ip_name [nullPointerOutOfMemory] seaview/csrc/raa_acnuc.c:540:26: note: Assuming allocation function fails seaview/csrc/raa_acnuc.c:540:13: note: Assignment 'ip_name=(char*)malloc(q-p+1)', assigned value is 0 seaview/csrc/raa_acnuc.c:541:28: note: Null pointer dereference 2.17.0 seaview/csrc/zsockr.c:59:1: error: Memory leak: big [memleak] head seaview/least_squares_brl.cxx:427:7: style: C-style pointer casting [cstyleCast] 2.17.0 seaview/least_squares_brl.cxx:427:8: style: C-style pointer casting [cstyleCast] head seaview/least_squares_brl.cxx:586:27: warning: If memory allocation fails, then there is a possible null pointer dereference: carbre [nullPointerOutOfMemory] seaview/least_squares_brl.cxx:57:15: note: Assuming allocation function fails seaview/least_squares_brl.cxx:57:15: note: Assignment 'tree=strdup(input_tree)', assigned value is 0 seaview/least_squares_brl.cxx:61:13: note: Calling function 'rooted', 1st argument 'tree' value is 0 seaview/least_squares_brl.cxx:586:27: note: Null pointer dereference head seaview/least_squares_brl.cxx:586:46: warning: If memory allocation fails, then there is a possible null pointer dereference: carbre [nullPointerOutOfMemory] seaview/least_squares_brl.cxx:57:15: note: Assuming allocation function fails seaview/least_squares_brl.cxx:57:15: note: Assignment 'tree=strdup(input_tree)', assigned value is 0 seaview/least_squares_brl.cxx:61:13: note: Calling function 'rooted', 1st argument 'tree' value is 0 seaview/least_squares_brl.cxx:586:46: note: Null pointer dereference head seaview/least_squares_brl.cxx:586:66: warning: If memory allocation fails, then there is a possible null pointer dereference: carbre [nullPointerOutOfMemory] seaview/least_squares_brl.cxx:57:15: note: Assuming allocation function fails seaview/least_squares_brl.cxx:57:15: note: Assignment 'tree=strdup(input_tree)', assigned value is 0 seaview/least_squares_brl.cxx:61:13: note: Calling function 'rooted', 1st argument 'tree' value is 0 seaview/least_squares_brl.cxx:586:66: note: Null pointer dereference head seaview/least_squares_brl.cxx:586:9: warning: If memory allocation fails, then there is a possible null pointer dereference: carbre [ctunullpointerOutOfMemory] seaview/least_squares_brl.cxx:57:15: note: Assuming allocation function fails seaview/least_squares_brl.cxx:57:15: note: Assignment 'tree=strdup(input_tree)', assigned value is 0 seaview/least_squares_brl.cxx:61:12: note: Calling function rooted, 1st argument is null seaview/least_squares_brl.cxx:586:9: note: Dereferencing argument carbre that is null head seaview/least_squares_brl.cxx:587:23: warning: If memory allocation fails, then there is a possible null pointer dereference: carbre [nullPointerOutOfMemory] seaview/least_squares_brl.cxx:57:15: note: Assuming allocation function fails seaview/least_squares_brl.cxx:57:15: note: Assignment 'tree=strdup(input_tree)', assigned value is 0 seaview/least_squares_brl.cxx:61:13: note: Calling function 'rooted', 1st argument 'tree' value is 0 seaview/least_squares_brl.cxx:587:23: note: Null pointer dereference 2.17.0 seaview/least_squares_brl.cxx:654:7: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] seaview/least_squares_brl.cxx:74:24: note: Assuming allocation function fails seaview/least_squares_brl.cxx:74:10: note: Assignment 'tree=(char*)malloc(strlen(input_tree)+20*notu)', assigned value is 0 seaview/least_squares_brl.cxx:75:29: note: Calling function 'write_unrooted', 2nd argument 'tree' value is 0 seaview/least_squares_brl.cxx:653:9: note: Assignment 'tree=tree_start', assigned value is 0 seaview/least_squares_brl.cxx:654:7: note: Null pointer addition head seaview/least_squares_brl.cxx:654:7: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] seaview/least_squares_brl.cxx:74:24: note: Assuming allocation function fails seaview/least_squares_brl.cxx:74:10: note: Assignment 'tree=(char*)malloc(strlen(input_tree)+20*notu)', assigned value is 0 seaview/least_squares_brl.cxx:75:29: note: Calling function 'write_unrooted', 2nd argument 'tree' value is 0 seaview/least_squares_brl.cxx:653:9: note: Assignment 'tree=tree_start', assigned value is 0 seaview/least_squares_brl.cxx:654:7: note: Null pointer addition head seaview/least_squares_brl.cxx:71:10: style: C-style pointer casting [cstyleCast] 2.17.0 seaview/least_squares_brl.cxx:71:11: style: C-style pointer casting [cstyleCast] head seaview/pdf_or_ps.cxx:364:27: performance:inconclusive: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image' can be static. [functionStatic] seaview/pdf_or_ps.h:62:8: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image' can be static. seaview/pdf_or_ps.cxx:364:27: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image' can be static. head seaview/pdf_or_ps.cxx:365:27: performance:inconclusive: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image_mono' can be static. [functionStatic] seaview/pdf_or_ps.h:63:8: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image_mono' can be static. seaview/pdf_or_ps.cxx:365:27: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image_mono' can be static. head seaview/pdf_or_ps.cxx:366:27: performance:inconclusive: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image' can be static. [functionStatic] seaview/pdf_or_ps.h:64:8: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image' can be static. seaview/pdf_or_ps.cxx:366:27: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image' can be static. head seaview/pdf_or_ps.cxx:367:27: performance:inconclusive: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image_mono' can be static. [functionStatic] seaview/pdf_or_ps.h:65:8: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image_mono' can be static. seaview/pdf_or_ps.cxx:367:27: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image_mono' can be static. head seaview/pdf_or_ps.cxx:368:27: performance:inconclusive: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw' can be static. [functionStatic] seaview/pdf_or_ps.h:66:8: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw' can be static. seaview/pdf_or_ps.cxx:368:27: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw' can be static. head seaview/pdf_or_ps.cxx:369:27: performance:inconclusive: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw' can be static. [functionStatic] seaview/pdf_or_ps.h:67:8: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw' can be static. seaview/pdf_or_ps.cxx:369:27: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw' can be static. head seaview/pdf_or_ps.cxx:370:27: performance:inconclusive: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw' can be static. [functionStatic] seaview/pdf_or_ps.h:68:8: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw' can be static. seaview/pdf_or_ps.cxx:370:27: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw' can be static. head seaview/pdf_or_ps.cxx:371:27: performance:inconclusive: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::line_style' can be static. [functionStatic] seaview/pdf_or_ps.h:47:8: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::line_style' can be static. seaview/pdf_or_ps.cxx:371:27: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::line_style' can be static. head seaview/pdf_or_ps.cxx:372:27: performance:inconclusive: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::rtl_draw' can be static. [functionStatic] seaview/pdf_or_ps.h:57:8: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::rtl_draw' can be static. seaview/pdf_or_ps.cxx:372:27: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::rtl_draw' can be static. 2.17.0 seaview/pdf_or_ps.h:47:8: performance:inconclusive: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::line_style' can be static. [functionStatic] seaview/pdf_or_ps.cxx:371:27: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::line_style' can be static. seaview/pdf_or_ps.h:47:8: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::line_style' can be static. 2.17.0 seaview/pdf_or_ps.h:57:8: performance:inconclusive: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::rtl_draw' can be static. [functionStatic] seaview/pdf_or_ps.cxx:372:27: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::rtl_draw' can be static. seaview/pdf_or_ps.h:57:8: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::rtl_draw' can be static. 2.17.0 seaview/pdf_or_ps.h:62:8: performance:inconclusive: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image' can be static. [functionStatic] seaview/pdf_or_ps.cxx:364:27: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image' can be static. seaview/pdf_or_ps.h:62:8: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image' can be static. 2.17.0 seaview/pdf_or_ps.h:63:8: performance:inconclusive: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image_mono' can be static. [functionStatic] seaview/pdf_or_ps.cxx:365:27: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image_mono' can be static. seaview/pdf_or_ps.h:63:8: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image_mono' can be static. 2.17.0 seaview/pdf_or_ps.h:64:8: performance:inconclusive: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image' can be static. [functionStatic] seaview/pdf_or_ps.cxx:366:27: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image' can be static. seaview/pdf_or_ps.h:64:8: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image' can be static. 2.17.0 seaview/pdf_or_ps.h:65:8: performance:inconclusive: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image_mono' can be static. [functionStatic] seaview/pdf_or_ps.cxx:367:27: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image_mono' can be static. seaview/pdf_or_ps.h:65:8: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw_image_mono' can be static. 2.17.0 seaview/pdf_or_ps.h:66:8: performance:inconclusive: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw' can be static. [functionStatic] seaview/pdf_or_ps.cxx:368:27: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw' can be static. seaview/pdf_or_ps.h:66:8: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw' can be static. 2.17.0 seaview/pdf_or_ps.h:67:8: performance:inconclusive: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw' can be static. [functionStatic] seaview/pdf_or_ps.cxx:369:27: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw' can be static. seaview/pdf_or_ps.h:67:8: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw' can be static. 2.17.0 seaview/pdf_or_ps.h:68:8: performance:inconclusive: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw' can be static. [functionStatic] seaview/pdf_or_ps.cxx:370:27: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw' can be static. seaview/pdf_or_ps.h:68:8: note: Either there is a missing 'override', or the member function 'PDF_Graphics_Driver::draw' can be static. head seaview/resource.cxx:146:8: style: C-style pointer casting [cstyleCast] 2.17.0 seaview/resource.cxx:146:9: style: C-style pointer casting [cstyleCast] head seaview/resource.cxx:187:7: style: C-style pointer casting [cstyleCast] 2.17.0 seaview/resource.cxx:187:8: style: C-style pointer casting [cstyleCast] head seaview/resource.cxx:202:18: style: C-style pointer casting [cstyleCast] 2.17.0 seaview/resource.cxx:202:19: style: C-style pointer casting [cstyleCast] head seaview/resource.cxx:202:40: style: C-style pointer casting [cstyleCast] 2.17.0 seaview/resource.cxx:224:10: style: C-style pointer casting [cstyleCast] head seaview/resource.cxx:224:9: style: C-style pointer casting [cstyleCast] head seaview/seaview.h:10:2: error: #error Seaview requires FLTK version 1.3.4 or higher [preprocessorErrorDirective] DONE