2025-07-01 21:00 ftp://ftp.de.debian.org/debian/pool/main/a/awffull/awffull_3.10.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=pcre --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 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: f4eb733 (2025-07-01 13:53:18 +0200) count: 318 312 elapsed-time: 6.9 7.0 head-timing-info: old-timing-info: head results: awffull-3.10.2/src/css_file.c:136:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/hashtab.c:122:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/hashtab.c:628:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/linklist.c:95:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/linklist.c:175:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/messages.c:63:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/messages.c:463:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/graphs.c:199:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_EPSILON [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/graphs.c:263:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_EPSILON [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/graphs.c:361:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/graphs.c:610:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdFontSmall [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/graphs.c:1090:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdFontSmall [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/graphs.c:1393:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdFontMediumBold [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/graphs.c:1530:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdFontMediumBold [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/options.c:51:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_STRING [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/options.c:69:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/options.c:143:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/options.c:406:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETCDIR [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/hashtab.c:1022:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] awffull-3.10.2/src/hashtab.c:196:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] awffull-3.10.2/src/hashtab.c:636:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] awffull-3.10.2/src/hashtab.c:647:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] awffull-3.10.2/src/hashtab.c:652:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] awffull-3.10.2/src/hashtab.c:684:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] awffull-3.10.2/src/hashtab.c:126:9: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] awffull-3.10.2/src/hashtab.c:636:5: warning: If memory allocation fails, then there is a possible null pointer dereference: url_ptr [nullPointerOutOfMemory] awffull-3.10.2/src/hashtab.c:634:15: note: Assuming allocation function fails awffull-3.10.2/src/hashtab.c:634:15: note: Assignment 'url_ptr=(char*)xmalloc((len_url+1)*sizeof(char))', assigned value is 0 awffull-3.10.2/src/hashtab.c:636:5: note: Null pointer dereference awffull-3.10.2/src/hashtab.c:647:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ref_ptr [nullPointerOutOfMemory] awffull-3.10.2/src/hashtab.c:645:15: note: Assuming allocation function fails awffull-3.10.2/src/hashtab.c:645:15: note: Assignment 'ref_ptr=(char*)xmalloc((len_ref+1)*sizeof(char))', assigned value is 0 awffull-3.10.2/src/hashtab.c:647:5: note: Null pointer dereference awffull-3.10.2/src/hashtab.c:652:5: warning: If memory allocation fails, then there is a possible null pointer dereference: key_ptr [nullPointerOutOfMemory] awffull-3.10.2/src/hashtab.c:650:15: note: Assuming allocation function fails awffull-3.10.2/src/hashtab.c:650:15: note: Assignment 'key_ptr=(char*)xmalloc((len_url+len_ref+1)*sizeof(char))', assigned value is 0 awffull-3.10.2/src/hashtab.c:652:5: note: Null pointer dereference awffull-3.10.2/src/hashtab.c:653:13: warning: If memory allocation fails, then there is a possible null pointer dereference: key_ptr [nullPointerOutOfMemory] awffull-3.10.2/src/hashtab.c:650:15: note: Assuming allocation function fails awffull-3.10.2/src/hashtab.c:650:15: note: Assignment 'key_ptr=(char*)xmalloc((len_url+len_ref+1)*sizeof(char))', assigned value is 0 awffull-3.10.2/src/hashtab.c:653:13: note: Null pointer dereference awffull-3.10.2/src/hashtab.c:657:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] awffull-3.10.2/src/hashtab.c:655:14: note: Assuming allocation function fails awffull-3.10.2/src/hashtab.c:655:14: note: Assignment 'newptr=(struct enode*)xmalloc(1*sizeof(struct enode))', assigned value is 0 awffull-3.10.2/src/hashtab.c:657:5: note: Null pointer dereference awffull-3.10.2/src/hashtab.c:658:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] awffull-3.10.2/src/hashtab.c:655:14: note: Assuming allocation function fails awffull-3.10.2/src/hashtab.c:655:14: note: Assignment 'newptr=(struct enode*)xmalloc(1*sizeof(struct enode))', assigned value is 0 awffull-3.10.2/src/hashtab.c:658:5: note: Null pointer dereference awffull-3.10.2/src/hashtab.c:659:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] awffull-3.10.2/src/hashtab.c:655:14: note: Assuming allocation function fails awffull-3.10.2/src/hashtab.c:655:14: note: Assignment 'newptr=(struct enode*)xmalloc(1*sizeof(struct enode))', assigned value is 0 awffull-3.10.2/src/hashtab.c:659:5: note: Null pointer dereference awffull-3.10.2/src/hashtab.c:660:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] awffull-3.10.2/src/hashtab.c:655:14: note: Assuming allocation function fails awffull-3.10.2/src/hashtab.c:655:14: note: Assignment 'newptr=(struct enode*)xmalloc(1*sizeof(struct enode))', assigned value is 0 awffull-3.10.2/src/hashtab.c:660:5: note: Null pointer dereference awffull-3.10.2/src/hashtab.c:661:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] awffull-3.10.2/src/hashtab.c:655:14: note: Assuming allocation function fails awffull-3.10.2/src/hashtab.c:655:14: note: Assignment 'newptr=(struct enode*)xmalloc(1*sizeof(struct enode))', assigned value is 0 awffull-3.10.2/src/hashtab.c:661:5: note: Null pointer dereference awffull-3.10.2/src/hashtab.c:684:5: warning: If memory allocation fails, then there is a possible null pointer dereference: key_ptr [nullPointerOutOfMemory] awffull-3.10.2/src/hashtab.c:682:15: note: Assuming allocation function fails awffull-3.10.2/src/hashtab.c:682:15: note: Assignment 'key_ptr=(char*)xmalloc((len_url+len_ref+1)*sizeof(char))', assigned value is 0 awffull-3.10.2/src/hashtab.c:684:5: note: Null pointer dereference awffull-3.10.2/src/hashtab.c:685:13: warning: If memory allocation fails, then there is a possible null pointer dereference: key_ptr [nullPointerOutOfMemory] awffull-3.10.2/src/hashtab.c:682:15: note: Assuming allocation function fails awffull-3.10.2/src/hashtab.c:682:15: note: Assignment 'key_ptr=(char*)xmalloc((len_url+len_ref+1)*sizeof(char))', assigned value is 0 awffull-3.10.2/src/hashtab.c:685:13: note: Null pointer dereference awffull-3.10.2/src/hashtab.c:844:13: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] awffull-3.10.2/src/hashtab.c:682:15: note: Assuming allocation function fails awffull-3.10.2/src/hashtab.c:682:15: note: Assignment 'key_ptr=(char*)xmalloc((len_url+len_ref+1)*sizeof(char))', assigned value is 0 awffull-3.10.2/src/hashtab.c:687:21: note: Calling function 'hash', 1st argument 'key_ptr' value is 0 awffull-3.10.2/src/hashtab.c:844:13: note: Null pointer dereference awffull-3.10.2/src/hashtab.c:845:47: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] awffull-3.10.2/src/hashtab.c:682:15: note: Assuming allocation function fails awffull-3.10.2/src/hashtab.c:682:15: note: Assignment 'key_ptr=(char*)xmalloc((len_url+len_ref+1)*sizeof(char))', assigned value is 0 awffull-3.10.2/src/hashtab.c:687:21: note: Calling function 'hash', 1st argument 'key_ptr' value is 0 awffull-3.10.2/src/hashtab.c:845:47: note: Null pointer dereference awffull-3.10.2/src/hashtab.c:846:12: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] awffull-3.10.2/src/hashtab.c:682:15: note: Assuming allocation function fails awffull-3.10.2/src/hashtab.c:682:15: note: Assignment 'key_ptr=(char*)xmalloc((len_url+len_ref+1)*sizeof(char))', assigned value is 0 awffull-3.10.2/src/hashtab.c:687:21: note: Calling function 'hash', 1st argument 'key_ptr' value is 0 awffull-3.10.2/src/hashtab.c:846:12: note: Null pointer addition awffull-3.10.2/src/hashtab.c:145:16: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] awffull-3.10.2/src/hashtab.c:840:12: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] awffull-3.10.2/src/hashtab.c:1040:29: style: Variable 'deep' is assigned a value that is never used. [unreadVariable] awffull-3.10.2/src/awffull.c:266:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/awffull.c:971:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/awffull.c:1513:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_STRING [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/awffull.c:1845:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/awffull.c:2530:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/options.c:197:17: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:441:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:443:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:444:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:445:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:446:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:447:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:448:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:449:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:450:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:451:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:452:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:453:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:454:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:455:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:456:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:457:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:458:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:459:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:460:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:461:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:462:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:463:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:465:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:466:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:468:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:469:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:470:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:471:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:472:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:473:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:474:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:475:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:476:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:477:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:478:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:479:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:480:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:481:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:482:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:483:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:484:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:485:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:486:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:487:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:488:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:489:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:491:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:492:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:493:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:494:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:495:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:496:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:497:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:498:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:499:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:501:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:502:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:503:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:504:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:505:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:506:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:507:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:508:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:509:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:510:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:511:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:512:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:514:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:515:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:516:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:517:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:518:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:519:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:520:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:521:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:522:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:523:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:524:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:525:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:526:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:527:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:528:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:529:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:531:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:532:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:533:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:534:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:535:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:536:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:537:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:538:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:539:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:540:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:541:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:542:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/options.c:97:33: style: Parameter 'argv' can be declared as const array [constParameter] awffull-3.10.2/src/linklist.c:232:5: portability: %d in format string (no. 2) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] awffull-3.10.2/src/linklist.c:234:9: portability: %d in format string (no. 2) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] awffull-3.10.2/src/linklist.c:283:5: portability: %d in format string (no. 2) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] awffull-3.10.2/src/linklist.c:283:5: portability: %d in format string (no. 4) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] awffull-3.10.2/src/linklist.c:99:13: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] awffull-3.10.2/src/linklist.c:97:14: note: Assuming allocation function fails awffull-3.10.2/src/linklist.c:97:14: note: Assignment 'newptr=(struct nlist*)xmalloc(1*sizeof(struct nlist))', assigned value is 0 awffull-3.10.2/src/linklist.c:99:13: note: Null pointer dereference awffull-3.10.2/src/linklist.c:100:13: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] awffull-3.10.2/src/linklist.c:97:14: note: Assuming allocation function fails awffull-3.10.2/src/linklist.c:97:14: note: Assignment 'newptr=(struct nlist*)xmalloc(1*sizeof(struct nlist))', assigned value is 0 awffull-3.10.2/src/linklist.c:100:13: note: Null pointer dereference awffull-3.10.2/src/linklist.c:101:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] awffull-3.10.2/src/linklist.c:97:14: note: Assuming allocation function fails awffull-3.10.2/src/linklist.c:97:14: note: Assignment 'newptr=(struct nlist*)xmalloc(1*sizeof(struct nlist))', assigned value is 0 awffull-3.10.2/src/linklist.c:101:5: note: Null pointer dereference awffull-3.10.2/src/linklist.c:102:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] awffull-3.10.2/src/linklist.c:97:14: note: Assuming allocation function fails awffull-3.10.2/src/linklist.c:97:14: note: Assignment 'newptr=(struct nlist*)xmalloc(1*sizeof(struct nlist))', assigned value is 0 awffull-3.10.2/src/linklist.c:102:5: note: Null pointer dereference awffull-3.10.2/src/linklist.c:107:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] awffull-3.10.2/src/linklist.c:97:14: note: Assuming allocation function fails awffull-3.10.2/src/linklist.c:97:14: note: Assignment 'newptr=(struct nlist*)xmalloc(1*sizeof(struct nlist))', assigned value is 0 awffull-3.10.2/src/linklist.c:107:5: note: Null pointer dereference awffull-3.10.2/src/linklist.c:107:29: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] awffull-3.10.2/src/linklist.c:97:14: note: Assuming allocation function fails awffull-3.10.2/src/linklist.c:97:14: note: Assignment 'newptr=(struct nlist*)xmalloc(1*sizeof(struct nlist))', assigned value is 0 awffull-3.10.2/src/linklist.c:107:29: note: Null pointer dereference awffull-3.10.2/src/linklist.c:110:9: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] awffull-3.10.2/src/linklist.c:97:14: note: Assuming allocation function fails awffull-3.10.2/src/linklist.c:97:14: note: Assignment 'newptr=(struct nlist*)xmalloc(1*sizeof(struct nlist))', assigned value is 0 awffull-3.10.2/src/linklist.c:110:9: note: Null pointer dereference awffull-3.10.2/src/linklist.c:110:27: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] awffull-3.10.2/src/linklist.c:97:14: note: Assuming allocation function fails awffull-3.10.2/src/linklist.c:97:14: note: Assignment 'newptr=(struct nlist*)xmalloc(1*sizeof(struct nlist))', assigned value is 0 awffull-3.10.2/src/linklist.c:110:27: note: Null pointer dereference awffull-3.10.2/src/linklist.c:112:21: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] awffull-3.10.2/src/linklist.c:97:14: note: Assuming allocation function fails awffull-3.10.2/src/linklist.c:97:14: note: Assignment 'newptr=(struct nlist*)xmalloc(1*sizeof(struct nlist))', assigned value is 0 awffull-3.10.2/src/linklist.c:112:21: note: Null pointer dereference awffull-3.10.2/src/linklist.c:113:9: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] awffull-3.10.2/src/linklist.c:97:14: note: Assuming allocation function fails awffull-3.10.2/src/linklist.c:97:14: note: Assignment 'newptr=(struct nlist*)xmalloc(1*sizeof(struct nlist))', assigned value is 0 awffull-3.10.2/src/linklist.c:113:9: note: Null pointer dereference awffull-3.10.2/src/linklist.c:113:28: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] awffull-3.10.2/src/linklist.c:97:14: note: Assuming allocation function fails awffull-3.10.2/src/linklist.c:97:14: note: Assignment 'newptr=(struct nlist*)xmalloc(1*sizeof(struct nlist))', assigned value is 0 awffull-3.10.2/src/linklist.c:113:28: note: Null pointer dereference awffull-3.10.2/src/linklist.c:113:49: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] awffull-3.10.2/src/linklist.c:97:14: note: Assuming allocation function fails awffull-3.10.2/src/linklist.c:97:14: note: Assignment 'newptr=(struct nlist*)xmalloc(1*sizeof(struct nlist))', assigned value is 0 awffull-3.10.2/src/linklist.c:113:49: note: Null pointer dereference awffull-3.10.2/src/linklist.c:116:25: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] awffull-3.10.2/src/linklist.c:97:14: note: Assuming allocation function fails awffull-3.10.2/src/linklist.c:97:14: note: Assignment 'newptr=(struct nlist*)xmalloc(1*sizeof(struct nlist))', assigned value is 0 awffull-3.10.2/src/linklist.c:116:25: note: Null pointer dereference awffull-3.10.2/src/linklist.c:116:40: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] awffull-3.10.2/src/linklist.c:97:14: note: Assuming allocation function fails awffull-3.10.2/src/linklist.c:97:14: note: Assignment 'newptr=(struct nlist*)xmalloc(1*sizeof(struct nlist))', assigned value is 0 awffull-3.10.2/src/linklist.c:116:40: note: Null pointer dereference awffull-3.10.2/src/linklist.c:117:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] awffull-3.10.2/src/linklist.c:97:14: note: Assuming allocation function fails awffull-3.10.2/src/linklist.c:97:14: note: Assignment 'newptr=(struct nlist*)xmalloc(1*sizeof(struct nlist))', assigned value is 0 awffull-3.10.2/src/linklist.c:117:5: note: Null pointer dereference awffull-3.10.2/src/linklist.c:119:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] awffull-3.10.2/src/linklist.c:97:14: note: Assuming allocation function fails awffull-3.10.2/src/linklist.c:97:14: note: Assignment 'newptr=(struct nlist*)xmalloc(1*sizeof(struct nlist))', assigned value is 0 awffull-3.10.2/src/linklist.c:119:5: note: Null pointer dereference awffull-3.10.2/src/linklist.c:119:29: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] awffull-3.10.2/src/linklist.c:97:14: note: Assuming allocation function fails awffull-3.10.2/src/linklist.c:97:14: note: Assignment 'newptr=(struct nlist*)xmalloc(1*sizeof(struct nlist))', assigned value is 0 awffull-3.10.2/src/linklist.c:119:29: note: Null pointer dereference awffull-3.10.2/src/linklist.c:120:21: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] awffull-3.10.2/src/linklist.c:97:14: note: Assuming allocation function fails awffull-3.10.2/src/linklist.c:97:14: note: Assignment 'newptr=(struct nlist*)xmalloc(1*sizeof(struct nlist))', assigned value is 0 awffull-3.10.2/src/linklist.c:120:21: note: Null pointer dereference awffull-3.10.2/src/linklist.c:314:9: warning: Either the condition 'lptr==NULL' is redundant or there is possible null pointer dereference: lptr. [nullPointerRedundantCheck] awffull-3.10.2/src/linklist.c:313:14: note: Assuming that condition 'lptr==NULL' is not redundant awffull-3.10.2/src/linklist.c:314:9: note: Null pointer dereference awffull-3.10.2/src/linklist.c:175:21: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/linklist.c:183:21: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/linklist.c:311:5: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/linklist.c:314:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/linklist.c:317:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/linklist.c:320:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/linklist.c:322:13: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/linklist.c:324:13: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/linklist.c:326:13: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/linklist.c:88:30: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] awffull-3.10.2/src/linklist.c:88:41: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] awffull-3.10.2/src/linklist.c:228:11: style: Variable 'str_tmp' can be declared as pointer to const [constVariablePointer] awffull-3.10.2/src/linklist.c:308:34: style: Parameter 'listname' can be declared as pointer to const [constParameterPointer] awffull-3.10.2/src/linklist.c:94:41: warning: Uninitialized variable: str [uninitvar] awffull-3.10.2/src/linklist.c:153:28: note: Assuming condition is false awffull-3.10.2/src/linklist.c:201:42: note: Calling function 'create_new_list_member', 1st argument 'temp_buf' value is awffull-3.10.2/src/linklist.c:94:41: note: Uninitialized variable: str awffull-3.10.2/src/parser.c:78:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/parser.c:687:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/parser.c:721:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/parser.c:736:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/output.c:423:122: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_NAME [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/output.c:475:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_NAME [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/output.c:518:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/output.c:547:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/output.c:576:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/output.c:604:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/output.c:636:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/output.c:3389:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/output.c:3892:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/preserve.c:127:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/preserve.c:165:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/preserve.c:308:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/preserve.c:578:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/parser.c:99:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] awffull-3.10.2/src/parser.c:78:17: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/parser.c:99:13: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/parser.c:721:5: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/parser.c:722:5: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/parser.c:719:58: style: Parameter 're_str' can be declared as pointer to const [constParameterPointer] awffull-3.10.2/src/segment.c:239:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/graphs.c:1303:18: style: Variable 'colour_index' is reassigned a value before the old one has been used. [redundantAssignment] awffull-3.10.2/src/graphs.c:1299:18: note: colour_index is assigned awffull-3.10.2/src/graphs.c:1303:18: note: colour_index is overwritten awffull-3.10.2/src/graphs.c:1307:18: style: Variable 'colour_index' is reassigned a value before the old one has been used. [redundantAssignment] awffull-3.10.2/src/graphs.c:1303:18: note: colour_index is assigned awffull-3.10.2/src/graphs.c:1307:18: note: colour_index is overwritten awffull-3.10.2/src/graphs.c:1311:18: style: Variable 'colour_index' is reassigned a value before the old one has been used. [redundantAssignment] awffull-3.10.2/src/graphs.c:1307:18: note: colour_index is assigned awffull-3.10.2/src/graphs.c:1311:18: note: colour_index is overwritten awffull-3.10.2/src/graphs.c:1314:18: style: Variable 'colour_index' is reassigned a value before the old one has been used. [redundantAssignment] awffull-3.10.2/src/graphs.c:1311:18: note: colour_index is assigned awffull-3.10.2/src/graphs.c:1314:18: note: colour_index is overwritten awffull-3.10.2/src/graphs.c:1315:18: style: Variable 'colour_index' is reassigned a value before the old one has been used. [redundantAssignment] awffull-3.10.2/src/graphs.c:1314:18: note: colour_index is assigned awffull-3.10.2/src/graphs.c:1315:18: note: colour_index is overwritten awffull-3.10.2/src/graphs.c:1316:18: style: Variable 'colour_index' is reassigned a value before the old one has been used. [redundantAssignment] awffull-3.10.2/src/graphs.c:1315:18: note: colour_index is assigned awffull-3.10.2/src/graphs.c:1316:18: note: colour_index is overwritten awffull-3.10.2/src/graphs.c:1317:18: style: Variable 'colour_index' is reassigned a value before the old one has been used. [redundantAssignment] awffull-3.10.2/src/graphs.c:1316:18: note: colour_index is assigned awffull-3.10.2/src/graphs.c:1317:18: note: colour_index is overwritten awffull-3.10.2/src/graphs.c:1318:18: style: Variable 'colour_index' is reassigned a value before the old one has been used. [redundantAssignment] awffull-3.10.2/src/graphs.c:1317:18: note: colour_index is assigned awffull-3.10.2/src/graphs.c:1318:18: note: colour_index is overwritten awffull-3.10.2/src/graphs.c:1319:18: style: Variable 'colour_index' is reassigned a value before the old one has been used. [redundantAssignment] awffull-3.10.2/src/graphs.c:1318:18: note: colour_index is assigned awffull-3.10.2/src/graphs.c:1319:18: note: colour_index is overwritten awffull-3.10.2/src/graphs.c:1368:7: style: Variable 'y' is reassigned a value before the old one has been used. [redundantAssignment] awffull-3.10.2/src/graphs.c:1339:7: note: y is assigned awffull-3.10.2/src/graphs.c:1368:7: note: y is overwritten awffull-3.10.2/src/graphs.c:654:16: style: Checking if unsigned expression 'maxval' is less than zero. [unsignedLessThanZero] awffull-3.10.2/src/graphs.c:739:16: style: Checking if unsigned expression 'maxval' is less than zero. [unsignedLessThanZero] awffull-3.10.2/src/graphs.c:774:16: style: Checking if unsigned expression 'maxval' is less than zero. [unsignedLessThanZero] awffull-3.10.2/src/graphs.c:1141:16: style: Checking if unsigned expression 'maxval' is less than zero. [unsignedLessThanZero] awffull-3.10.2/src/graphs.c:1207:16: style: Checking if unsigned expression 'maxval' is less than zero. [unsignedLessThanZero] awffull-3.10.2/src/graphs.c:248:10: style: Variable 'prefixes' can be declared as const array [constVariable] awffull-3.10.2/src/graphs.c:255:11: style: Variable 'imagestr_rtn' can be declared as pointer to const [constVariablePointer] awffull-3.10.2/src/graphs.c:449:20: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] awffull-3.10.2/src/graphs.c:850:20: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] awffull-3.10.2/src/graphs.c:855:28: style: Parameter 'data1' can be declared as const array [constParameter] awffull-3.10.2/src/graphs.c:856:28: style: Parameter 'data2' can be declared as const array [constParameter] awffull-3.10.2/src/graphs.c:857:28: style: Parameter 'data3' can be declared as const array [constParameter] awffull-3.10.2/src/graphs.c:858:33: style: Parameter 'data4' can be declared as const array [constParameter] awffull-3.10.2/src/graphs.c:859:28: style: Parameter 'data5' can be declared as const array [constParameter] awffull-3.10.2/src/graphs.c:860:28: style: Parameter 'data6' can be declared as const array [constParameter] awffull-3.10.2/src/graphs.c:1272:17: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] awffull-3.10.2/src/graphs.c:1272:82: style: Parameter 'data1' can be declared as const array [constParameter] awffull-3.10.2/src/graphs.c:1272:97: style: Parameter 'legend' can be declared as const array [constParameter] awffull-3.10.2/src/graphs.c:254:9: style: Unused variable: bounding_rectange [unusedVariable] awffull-3.10.2/src/graphs.c:255:11: style: Variable 'imagestr_rtn' is assigned a value that is never used. [unreadVariable] awffull-3.10.2/src/graphs.c:256:17: style: Variable 'imagestr_errored' is assigned a value that is never used. [unreadVariable] awffull-3.10.2/src/graphs.c:511:17: style: Variable 'main_height' is assigned a value that is never used. [unreadVariable] awffull-3.10.2/src/graphs.c:504:9: style: Unused variable: bounding_rectange [unusedVariable] awffull-3.10.2/src/graphs.c:1085:22: style: Variable 'font_char_height' is assigned a value that is never used. [unreadVariable] awffull-3.10.2/src/graphs.c:1319:18: style: Variable 'colour_index' is assigned a value that is never used. [unreadVariable] awffull-3.10.2/src/graphs.c:1287:9: style: Unused variable: bounding_rectange [unusedVariable] awffull-3.10.2/src/graphs.c:1564:9: style: Unused variable: FT_Config_Success [unusedVariable] awffull-3.10.2/src/segment.c:239:17: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/segment.c:66:28: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] awffull-3.10.2/src/segment.c:114:11: style: Variable 'domain' can be declared as pointer to const [constVariablePointer] awffull-3.10.2/src/xmalloc.c:42:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] awffull-3.10.2/src/preserve.c:113:45: warning: Either the condition 'nbr_hist_entries>(20*12)' is redundant or the array 'history_list[240]' is accessed at index 240, which is out of bounds. [arrayIndexOutOfBoundsCond] awffull-3.10.2/src/preserve.c:126:34: note: Assuming that condition 'nbr_hist_entries>(20*12)' is not redundant awffull-3.10.2/src/preserve.c:113:45: note: Array index out of bounds awffull-3.10.2/src/preserve.c:203:13: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] awffull-3.10.2/src/preserve.c:324:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] awffull-3.10.2/src/preserve.c:324:5: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] awffull-3.10.2/src/preserve.c:324:5: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] awffull-3.10.2/src/preserve.c:617:9: warning: %d in format string (no. 4) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] awffull-3.10.2/src/preserve.c:617:9: warning: %d in format string (no. 5) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] awffull-3.10.2/src/preserve.c:738:13: warning: %hhd in format string (no. 8) requires 'char *' but the argument type is 'unsigned char *'. [invalidScanfArgType_int] awffull-3.10.2/src/preserve.c:790:13: warning: %hhd in format string (no. 8) requires 'char *' but the argument type is 'unsigned char *'. [invalidScanfArgType_int] awffull-3.10.2/src/preserve.c:309:9: error: Resource leak: fp [resourceLeak] awffull-3.10.2/src/preserve.c:314:9: error: Resource leak: fp [resourceLeak] awffull-3.10.2/src/preserve.c:321:9: error: Resource leak: fp [resourceLeak] awffull-3.10.2/src/preserve.c:326:9: error: Resource leak: fp [resourceLeak] awffull-3.10.2/src/preserve.c:559:17: error: Resource leak: fp [resourceLeak] awffull-3.10.2/src/preserve.c:575:13: error: Resource leak: fp [resourceLeak] awffull-3.10.2/src/preserve.c:582:9: error: Resource leak: fp [resourceLeak] awffull-3.10.2/src/preserve.c:600:9: error: Resource leak: fp [resourceLeak] awffull-3.10.2/src/preserve.c:613:9: error: Resource leak: fp [resourceLeak] awffull-3.10.2/src/preserve.c:619:9: error: Resource leak: fp [resourceLeak] awffull-3.10.2/src/preserve.c:578:13: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/preserve.c:57:21: style: Variable 'history1' can be declared as pointer to const [constVariablePointer] awffull-3.10.2/src/preserve.c:58:21: style: Variable 'history2' can be declared as pointer to const [constVariablePointer] awffull-3.10.2/src/preserve.c:84:19: style: Variable 'numfields' is assigned a value that is never used. [unreadVariable] awffull-3.10.2/src/output.c:1363:39: style: Redundant condition: flag. '!flag || (flag && !g_settings.top.sites)' is equivalent to '!flag || !g_settings.top.sites' [redundantCondition] awffull-3.10.2/src/output.c:1564:38: style: Redundant condition: flag. '!flag || (flag && !g_settings.top.urls)' is equivalent to '!flag || !g_settings.top.urls' [redundantCondition] awffull-3.10.2/src/output.c:1440:21: style: Condition 'flag' is always false [knownConditionTrueFalse] awffull-3.10.2/src/output.c:1437:18: note: Assuming that condition 'flag==0' is not redundant awffull-3.10.2/src/output.c:1440:21: note: Condition 'flag' is always false awffull-3.10.2/src/output.c:1727:21: style: Condition 'flag' is always false [knownConditionTrueFalse] awffull-3.10.2/src/output.c:1720:18: note: Assuming that condition 'flag==0' is not redundant awffull-3.10.2/src/output.c:1727:21: note: Condition 'flag' is always false awffull-3.10.2/src/output.c:3335:85: style: Condition '(*pointer)->exit' is always true [knownConditionTrueFalse] awffull-3.10.2/src/output.c:3334:27: note: Assuming that condition '(*pointer)->exit' is not redundant awffull-3.10.2/src/output.c:3335:85: note: Condition '(*pointer)->exit' is always true awffull-3.10.2/src/output.c:3383:21: style: Condition 'index_start<0' is always false [knownConditionTrueFalse] awffull-3.10.2/src/output.c:3382:88: note: Assignment 'index_start=g_settings.settings.history_index-g_settings.settings.index_months+1', assigned value is greater than 0 awffull-3.10.2/src/output.c:3383:21: note: Condition 'index_start<0' is always false awffull-3.10.2/src/output.c:3389:5: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/output.c:390:23: style: Parameter 'period' can be declared as pointer to const [constParameterPointer] awffull-3.10.2/src/output.c:2844:11: style: Variable 'ccode' can be declared as pointer to const [constVariablePointer] awffull-3.10.2/src/output.c:2850:11: style: Variable 'domain' can be declared as pointer to const [constVariablePointer] awffull-3.10.2/src/output.c:3886:21: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] awffull-3.10.2/src/output.c:1079:28: style: Variable 'avg_file' is assigned a value that is never used. [unreadVariable] awffull-3.10.2/src/output.c:1080:21: style: Variable 'avg_xfer' is assigned a value that is never used. [unreadVariable] awffull-3.10.2/src/output.c:1144:18: style: Variable 'avg_file' is assigned a value that is never used. [unreadVariable] awffull-3.10.2/src/output.c:1145:18: style: Variable 'avg_xfer' is assigned a value that is never used. [unreadVariable] awffull-3.10.2/src/awffull.c:2406:13: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] awffull-3.10.2/src/awffull.c:466:21: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] awffull-3.10.2/src/awffull.c:494:13: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] awffull-3.10.2/src/awffull.c:1677:69: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] awffull-3.10.2/src/awffull.c:1679:70: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] awffull-3.10.2/src/awffull.c:2015:40: style: Redundant condition: The condition '*cp1 != '\0'' is redundant since '*cp1 == ' '' is sufficient. [redundantCondition] awffull-3.10.2/src/awffull.c:489:23: style: Variable 'g_cur_min' is reassigned a value before the old one has been used. [redundantAssignment] awffull-3.10.2/src/awffull.c:478:27: note: g_cur_min is assigned awffull-3.10.2/src/awffull.c:489:23: note: g_cur_min is overwritten awffull-3.10.2/src/awffull.c:488:23: style: Variable 'g_cur_sec' is reassigned a value before the old one has been used. [redundantAssignment] awffull-3.10.2/src/awffull.c:479:27: note: g_cur_sec is assigned awffull-3.10.2/src/awffull.c:488:23: note: g_cur_sec is overwritten awffull-3.10.2/src/awffull.c:266:13: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/awffull.c:274:17: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/awffull.c:292:13: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/awffull.c:324:13: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/awffull.c:423:32: style: Checking if unsigned expression 'rec_tstamp' is less than zero. [unsignedLessThanZero] awffull-3.10.2/src/awffull.c:746:13: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/awffull.c:1233:17: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/awffull.c:1491:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] awffull-3.10.2/src/awffull.c:631:62: style: Pointer expression 'refer' converted to bool is always true. [knownPointerToBool] awffull-3.10.2/src/awffull.c:966:11: style: Variable 'cp1' can be declared as pointer to const [constVariablePointer] awffull-3.10.2/src/awffull.c:1589:16: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] awffull-3.10.2/src/awffull.c:1708:11: style: Variable 'cp1' can be declared as pointer to const [constVariablePointer] awffull-3.10.2/src/awffull.c:1737:20: style: Variable 'cp1' can be declared as pointer to const [constVariablePointer] awffull-3.10.2/src/awffull.c:1773:23: style: Variable 'cps' can be declared as pointer to const [constVariablePointer] awffull-3.10.2/src/awffull.c:1932:9: style: Variable 'mtable' can be declared as const array [constVariable] awffull-3.10.2/src/awffull.c:2508:21: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] awffull-3.10.2/src/awffull.c:170:11: style: Variable 'current_locale' is assigned a value that is never used. [unreadVariable] awffull-3.10.2/src/awffull.c:171:11: style: Variable 'message_catalog_dir' is assigned a value that is never used. [unreadVariable] awffull-3.10.2/src/awffull.c:172:11: style: Variable 'message_domain' is assigned a value that is never used. [unreadVariable] awffull-3.10.2/src/awffull.c:173:11: style: Unused variable: envlang [unusedVariable] awffull-3.10.2/src/awffull.c:173:21: style: Unused variable: envlanguage [unusedVariable] awffull-3.10.2/src/awffull.c:2406:13: style: Variable 'cp2' is assigned a value that is never used. [unreadVariable] awffull-3.10.2/src/messages.c:63:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] awffull-3.10.2/src/messages.c:63:9: portability: %d in format string (no. 3) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] awffull-3.10.2/src/messages.c:61:20: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] awffull-3.10.2/src/messages.c:57:18: note: Assuming allocation function fails awffull-3.10.2/src/messages.c:57:18: note: Assignment 'name=(char*)xmalloc((name_size)*sizeof(char))', assigned value is 0 awffull-3.10.2/src/messages.c:61:20: note: Null pointer dereference awffull-3.10.2/src/messages.c:63:9: style: Unsigned expression 'g_settings.settings.verbosity' can't be negative so it is unnecessary to test it. [unsignedPositive] diff: 2.17.0 awffull-3.10.2/src/hashtab.c:846:12: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] awffull-3.10.2/src/hashtab.c:682:15: note: Assuming allocation function fails awffull-3.10.2/src/hashtab.c:682:15: note: Assignment 'key_ptr=(char*)xmalloc((len_url+len_ref+1)*sizeof(char))', assigned value is 0 awffull-3.10.2/src/hashtab.c:687:21: note: Calling function 'hash', 1st argument 'key_ptr' value is 0 awffull-3.10.2/src/hashtab.c:846:12: note: Null pointer addition head awffull-3.10.2/src/hashtab.c:846:12: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] awffull-3.10.2/src/hashtab.c:682:15: note: Assuming allocation function fails awffull-3.10.2/src/hashtab.c:682:15: note: Assignment 'key_ptr=(char*)xmalloc((len_url+len_ref+1)*sizeof(char))', assigned value is 0 awffull-3.10.2/src/hashtab.c:687:21: note: Calling function 'hash', 1st argument 'key_ptr' value is 0 awffull-3.10.2/src/hashtab.c:846:12: note: Null pointer addition head awffull-3.10.2/src/linklist.c:107:29: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] awffull-3.10.2/src/linklist.c:97:14: note: Assuming allocation function fails awffull-3.10.2/src/linklist.c:97:14: note: Assignment 'newptr=(struct nlist*)xmalloc(1*sizeof(struct nlist))', assigned value is 0 awffull-3.10.2/src/linklist.c:107:29: note: Null pointer dereference head awffull-3.10.2/src/linklist.c:110:27: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] awffull-3.10.2/src/linklist.c:97:14: note: Assuming allocation function fails awffull-3.10.2/src/linklist.c:97:14: note: Assignment 'newptr=(struct nlist*)xmalloc(1*sizeof(struct nlist))', assigned value is 0 awffull-3.10.2/src/linklist.c:110:27: note: Null pointer dereference head awffull-3.10.2/src/linklist.c:113:28: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] awffull-3.10.2/src/linklist.c:97:14: note: Assuming allocation function fails awffull-3.10.2/src/linklist.c:97:14: note: Assignment 'newptr=(struct nlist*)xmalloc(1*sizeof(struct nlist))', assigned value is 0 awffull-3.10.2/src/linklist.c:113:28: note: Null pointer dereference head awffull-3.10.2/src/linklist.c:113:49: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] awffull-3.10.2/src/linklist.c:97:14: note: Assuming allocation function fails awffull-3.10.2/src/linklist.c:97:14: note: Assignment 'newptr=(struct nlist*)xmalloc(1*sizeof(struct nlist))', assigned value is 0 awffull-3.10.2/src/linklist.c:113:49: note: Null pointer dereference head awffull-3.10.2/src/linklist.c:116:40: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] awffull-3.10.2/src/linklist.c:97:14: note: Assuming allocation function fails awffull-3.10.2/src/linklist.c:97:14: note: Assignment 'newptr=(struct nlist*)xmalloc(1*sizeof(struct nlist))', assigned value is 0 awffull-3.10.2/src/linklist.c:116:40: note: Null pointer dereference head awffull-3.10.2/src/linklist.c:119:29: warning: If memory allocation fails, then there is a possible null pointer dereference: newptr [nullPointerOutOfMemory] awffull-3.10.2/src/linklist.c:97:14: note: Assuming allocation function fails awffull-3.10.2/src/linklist.c:97:14: note: Assignment 'newptr=(struct nlist*)xmalloc(1*sizeof(struct nlist))', assigned value is 0 awffull-3.10.2/src/linklist.c:119:29: note: Null pointer dereference DONE