2025-07-25 04:25 ftp://ftp.de.debian.org/debian/pool/main/b/bareos/bareos_16.2.6.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --library=python --library=qt --library=sqlite3 --library=bsd --library=openssl --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.18.0 head-info: 55e2dc6 (2025-07-24 17:37:42 +0200) count: 1923 1923 elapsed-time: 4.0 4.0 head-timing-info: old-timing-info: head results: bareos-Release-16.2.6/platforms/freebsd/tapetest.c:175:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/platforms/freebsd/tapetest.c:229:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBADF [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/platforms/freebsd/tapetest.c:259:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBADF [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/platforms/freebsd/tapetest.c:338:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/platforms/freebsd/tapetest.c:353:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/platforms/freebsd/tapetest.c:397:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/platforms/freebsd/tapetest.c:446:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/platforms/freebsd/tapetest.c:564:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/platforms/freebsd/tapetest.c:584:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/platforms/freebsd/tapetest.c:360:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] bareos-Release-16.2.6/platforms/freebsd/tapetest.c:394:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] bareos-Release-16.2.6/platforms/freebsd/tapetest.c:454:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] bareos-Release-16.2.6/platforms/freebsd/tapetest.c:370:1: error: Resource leak: rfd [resourceLeak] bareos-Release-16.2.6/platforms/freebsd/tapetest.c:213:11: warning: If memory allocation fails, then there is a possible null pointer dereference: dev [nullPointerOutOfMemory] bareos-Release-16.2.6/platforms/freebsd/tapetest.c:212:26: note: Assuming allocation function fails bareos-Release-16.2.6/platforms/freebsd/tapetest.c:212:10: note: Assignment 'dev=(DEVICE*)malloc(sizeof(DEVICE))', assigned value is 0 bareos-Release-16.2.6/platforms/freebsd/tapetest.c:213:11: note: Null pointer dereference bareos-Release-16.2.6/platforms/freebsd/tapetest.c:214:4: warning: If memory allocation fails, then there is a possible null pointer dereference: dev [nullPointerOutOfMemory] bareos-Release-16.2.6/platforms/freebsd/tapetest.c:212:26: note: Assuming allocation function fails bareos-Release-16.2.6/platforms/freebsd/tapetest.c:212:10: note: Assignment 'dev=(DEVICE*)malloc(sizeof(DEVICE))', assigned value is 0 bareos-Release-16.2.6/platforms/freebsd/tapetest.c:214:4: note: Null pointer dereference bareos-Release-16.2.6/platforms/freebsd/tapetest.c:215:4: warning: If memory allocation fails, then there is a possible null pointer dereference: dev [nullPointerOutOfMemory] bareos-Release-16.2.6/platforms/freebsd/tapetest.c:212:26: note: Assuming allocation function fails bareos-Release-16.2.6/platforms/freebsd/tapetest.c:212:10: note: Assignment 'dev=(DEVICE*)malloc(sizeof(DEVICE))', assigned value is 0 bareos-Release-16.2.6/platforms/freebsd/tapetest.c:215:4: note: Null pointer dereference bareos-Release-16.2.6/platforms/freebsd/tapetest.c:216:4: warning: If memory allocation fails, then there is a possible null pointer dereference: dev [nullPointerOutOfMemory] bareos-Release-16.2.6/platforms/freebsd/tapetest.c:212:26: note: Assuming allocation function fails bareos-Release-16.2.6/platforms/freebsd/tapetest.c:212:10: note: Assignment 'dev=(DEVICE*)malloc(sizeof(DEVICE))', assigned value is 0 bareos-Release-16.2.6/platforms/freebsd/tapetest.c:216:4: note: Null pointer dereference bareos-Release-16.2.6/platforms/freebsd/tapetest.c:217:4: warning: If memory allocation fails, then there is a possible null pointer dereference: dev [nullPointerOutOfMemory] bareos-Release-16.2.6/platforms/freebsd/tapetest.c:212:26: note: Assuming allocation function fails bareos-Release-16.2.6/platforms/freebsd/tapetest.c:212:10: note: Assignment 'dev=(DEVICE*)malloc(sizeof(DEVICE))', assigned value is 0 bareos-Release-16.2.6/platforms/freebsd/tapetest.c:217:4: note: Null pointer dereference bareos-Release-16.2.6/platforms/freebsd/tapetest.c:324:10: style: Local variable 'buf' shadows outer variable [shadowVariable] bareos-Release-16.2.6/platforms/freebsd/tapetest.c:125:6: note: Shadowed declaration bareos-Release-16.2.6/platforms/freebsd/tapetest.c:324:10: note: Shadow variable bareos-Release-16.2.6/platforms/freebsd/tapetest.c:490:19: style: Variable 's1' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/platforms/freebsd/tapetest.c:490:23: style: Variable 's2' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/platforms/freebsd/tapetest.c:580:15: style: Parameter 'prompt' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/console/console_conf.h:56:1: error: Code 'classCONRES:' is invalid C code. [syntaxError] bareos-Release-16.2.6/platforms/freebsd/tapetest.c:491:20: style: Variable 'c1' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/platforms/freebsd/tapetest.c:491:26: style: Variable 'c2' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/dird/dird_conf.h:103:1: error: Code 'classDIRRES:' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/dird/dird_conf.c:1891:13: error: syntax error [syntaxError] bareos-Release-16.2.6/src/dird/dbcheck.c:106:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/dird/dbcheck.c:135:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/dird/dbcheck.c:360:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_MESSAGE [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/dird/dbcheck.c:394:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable verbose [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/dird/dbcheck.c:622:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable verbose [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/dird/dbcheck.c:696:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/dird/dbcheck.c:764:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/dird/dbcheck.c:832:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/dird/dbcheck.c:877:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable verbose [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/dird/dbcheck.c:922:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db_int64_handler [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/dird/dbcheck.c:1010:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable verbose [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/dird/dbcheck.c:1060:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable verbose [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/dird/dbcheck.c:1106:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable verbose [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/dird/dbcheck.c:1151:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable verbose [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/dird/dbcheck.c:1194:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable verbose [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/dird/dbcheck.c:1230:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable verbose [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/dird/dbcheck.c:1267:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable verbose [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/dird/dbcheck.c:1338:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable verbose [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/dird/dbcheck.c:1405:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/dird/dbcheck.c:1503:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/dird/dbcheck.c:1538:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/dird/dbcheck.c:1563:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/dird/testfind.c:93:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/dird/testfind.c:252:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_level [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/dird/testfind.c:350:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_FNAME [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/dird/testfind.c:424:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable findFILESET [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/dird/testfind.c:540:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FO_EXCLUDE [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/dird/testfind.c:425:11: warning: If memory allocation fails, then there is a possible null pointer dereference: fileset [nullPointerOutOfMemory] bareos-Release-16.2.6/src/dird/testfind.c:424:35: note: Assuming allocation function fails bareos-Release-16.2.6/src/dird/testfind.c:424:14: note: Assignment 'fileset=(findFILESET*)malloc(sizeof(findFILESET))', assigned value is 0 bareos-Release-16.2.6/src/dird/testfind.c:425:11: note: Null pointer dereference bareos-Release-16.2.6/src/dird/testfind.c:428:4: warning: If memory allocation fails, then there is a possible null pointer dereference: fileset [nullPointerOutOfMemory] bareos-Release-16.2.6/src/dird/testfind.c:424:35: note: Assuming allocation function fails bareos-Release-16.2.6/src/dird/testfind.c:424:14: note: Assignment 'fileset=(findFILESET*)malloc(sizeof(findFILESET))', assigned value is 0 bareos-Release-16.2.6/src/dird/testfind.c:428:4: note: Null pointer dereference bareos-Release-16.2.6/src/dird/testfind.c:429:4: warning: If memory allocation fails, then there is a possible null pointer dereference: fileset [nullPointerOutOfMemory] bareos-Release-16.2.6/src/dird/testfind.c:424:35: note: Assuming allocation function fails bareos-Release-16.2.6/src/dird/testfind.c:424:14: note: Assignment 'fileset=(findFILESET*)malloc(sizeof(findFILESET))', assigned value is 0 bareos-Release-16.2.6/src/dird/testfind.c:429:4: note: Null pointer dereference bareos-Release-16.2.6/src/dird/testfind.c:430:4: warning: If memory allocation fails, then there is a possible null pointer dereference: fileset [nullPointerOutOfMemory] bareos-Release-16.2.6/src/dird/testfind.c:424:35: note: Assuming allocation function fails bareos-Release-16.2.6/src/dird/testfind.c:424:14: note: Assignment 'fileset=(findFILESET*)malloc(sizeof(findFILESET))', assigned value is 0 bareos-Release-16.2.6/src/dird/testfind.c:430:4: note: Null pointer dereference bareos-Release-16.2.6/src/dird/testfind.c:446:13: warning: If memory allocation fails, then there is a possible null pointer dereference: fileset [nullPointerOutOfMemory] bareos-Release-16.2.6/src/dird/testfind.c:424:35: note: Assuming allocation function fails bareos-Release-16.2.6/src/dird/testfind.c:424:14: note: Assignment 'fileset=(findFILESET*)malloc(sizeof(findFILESET))', assigned value is 0 bareos-Release-16.2.6/src/dird/testfind.c:446:13: note: Null pointer dereference bareos-Release-16.2.6/src/dird/testfind.c:447:20: warning: If memory allocation fails, then there is a possible null pointer dereference: fileset [nullPointerOutOfMemory] bareos-Release-16.2.6/src/dird/testfind.c:424:35: note: Assuming allocation function fails bareos-Release-16.2.6/src/dird/testfind.c:424:14: note: Assignment 'fileset=(findFILESET*)malloc(sizeof(findFILESET))', assigned value is 0 bareos-Release-16.2.6/src/dird/testfind.c:447:20: note: Null pointer dereference bareos-Release-16.2.6/src/dird/testfind.c:448:13: warning: If memory allocation fails, then there is a possible null pointer dereference: fileset [nullPointerOutOfMemory] bareos-Release-16.2.6/src/dird/testfind.c:424:35: note: Assuming allocation function fails bareos-Release-16.2.6/src/dird/testfind.c:424:14: note: Assignment 'fileset=(findFILESET*)malloc(sizeof(findFILESET))', assigned value is 0 bareos-Release-16.2.6/src/dird/testfind.c:448:13: note: Null pointer dereference bareos-Release-16.2.6/src/dird/testfind.c:449:13: warning: If memory allocation fails, then there is a possible null pointer dereference: fileset [nullPointerOutOfMemory] bareos-Release-16.2.6/src/dird/testfind.c:424:35: note: Assuming allocation function fails bareos-Release-16.2.6/src/dird/testfind.c:424:14: note: Assignment 'fileset=(findFILESET*)malloc(sizeof(findFILESET))', assigned value is 0 bareos-Release-16.2.6/src/dird/testfind.c:449:13: note: Null pointer dereference bareos-Release-16.2.6/src/dird/testfind.c:450:13: warning: If memory allocation fails, then there is a possible null pointer dereference: fileset [nullPointerOutOfMemory] bareos-Release-16.2.6/src/dird/testfind.c:424:35: note: Assuming allocation function fails bareos-Release-16.2.6/src/dird/testfind.c:424:14: note: Assignment 'fileset=(findFILESET*)malloc(sizeof(findFILESET))', assigned value is 0 bareos-Release-16.2.6/src/dird/testfind.c:450:13: note: Null pointer dereference bareos-Release-16.2.6/src/dird/testfind.c:450:42: warning: If memory allocation fails, then there is a possible null pointer dereference: fileset [nullPointerOutOfMemory] bareos-Release-16.2.6/src/dird/testfind.c:424:35: note: Assuming allocation function fails bareos-Release-16.2.6/src/dird/testfind.c:424:14: note: Assignment 'fileset=(findFILESET*)malloc(sizeof(findFILESET))', assigned value is 0 bareos-Release-16.2.6/src/dird/testfind.c:450:42: note: Null pointer dereference bareos-Release-16.2.6/src/dird/testfind.c:466:20: warning: If memory allocation fails, then there is a possible null pointer dereference: current_opts [nullPointerOutOfMemory] bareos-Release-16.2.6/src/dird/testfind.c:465:47: note: Assuming allocation function fails bareos-Release-16.2.6/src/dird/testfind.c:465:28: note: Assignment 'current_opts=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/dird/testfind.c:466:20: note: Null pointer dereference bareos-Release-16.2.6/src/dird/testfind.c:470:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: current_opts [nullPointerOutOfMemory] bareos-Release-16.2.6/src/dird/testfind.c:465:47: note: Assuming allocation function fails bareos-Release-16.2.6/src/dird/testfind.c:465:28: note: Assignment 'current_opts=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/dird/testfind.c:470:13: note: Null pointer dereference bareos-Release-16.2.6/src/dird/testfind.c:471:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: current_opts [nullPointerOutOfMemory] bareos-Release-16.2.6/src/dird/testfind.c:465:47: note: Assuming allocation function fails bareos-Release-16.2.6/src/dird/testfind.c:465:28: note: Assignment 'current_opts=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/dird/testfind.c:471:13: note: Null pointer dereference bareos-Release-16.2.6/src/dird/testfind.c:472:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: current_opts [nullPointerOutOfMemory] bareos-Release-16.2.6/src/dird/testfind.c:465:47: note: Assuming allocation function fails bareos-Release-16.2.6/src/dird/testfind.c:465:28: note: Assignment 'current_opts=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/dird/testfind.c:472:13: note: Null pointer dereference bareos-Release-16.2.6/src/dird/testfind.c:473:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: current_opts [nullPointerOutOfMemory] bareos-Release-16.2.6/src/dird/testfind.c:465:47: note: Assuming allocation function fails bareos-Release-16.2.6/src/dird/testfind.c:465:28: note: Assignment 'current_opts=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/dird/testfind.c:473:13: note: Null pointer dereference bareos-Release-16.2.6/src/dird/testfind.c:474:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: current_opts [nullPointerOutOfMemory] bareos-Release-16.2.6/src/dird/testfind.c:465:47: note: Assuming allocation function fails bareos-Release-16.2.6/src/dird/testfind.c:465:28: note: Assignment 'current_opts=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/dird/testfind.c:474:13: note: Null pointer dereference bareos-Release-16.2.6/src/dird/testfind.c:475:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: current_opts [nullPointerOutOfMemory] bareos-Release-16.2.6/src/dird/testfind.c:465:47: note: Assuming allocation function fails bareos-Release-16.2.6/src/dird/testfind.c:465:28: note: Assignment 'current_opts=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/dird/testfind.c:475:13: note: Null pointer dereference bareos-Release-16.2.6/src/dird/testfind.c:476:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: current_opts [nullPointerOutOfMemory] bareos-Release-16.2.6/src/dird/testfind.c:465:47: note: Assuming allocation function fails bareos-Release-16.2.6/src/dird/testfind.c:465:28: note: Assignment 'current_opts=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/dird/testfind.c:476:13: note: Null pointer dereference bareos-Release-16.2.6/src/dird/testfind.c:477:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: current_opts [nullPointerOutOfMemory] bareos-Release-16.2.6/src/dird/testfind.c:465:47: note: Assuming allocation function fails bareos-Release-16.2.6/src/dird/testfind.c:465:28: note: Assignment 'current_opts=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/dird/testfind.c:477:13: note: Null pointer dereference bareos-Release-16.2.6/src/dird/testfind.c:478:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: current_opts [nullPointerOutOfMemory] bareos-Release-16.2.6/src/dird/testfind.c:465:47: note: Assuming allocation function fails bareos-Release-16.2.6/src/dird/testfind.c:465:28: note: Assignment 'current_opts=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/dird/testfind.c:478:13: note: Null pointer dereference bareos-Release-16.2.6/src/dird/testfind.c:484:16: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: current_opts [nullPointerOutOfMemory] bareos-Release-16.2.6/src/dird/testfind.c:465:47: note: Assuming allocation function fails bareos-Release-16.2.6/src/dird/testfind.c:465:28: note: Assignment 'current_opts=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/dird/testfind.c:484:16: note: Null pointer dereference bareos-Release-16.2.6/src/dird/testfind.c:488:16: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: current_opts [nullPointerOutOfMemory] bareos-Release-16.2.6/src/dird/testfind.c:465:47: note: Assuming allocation function fails bareos-Release-16.2.6/src/dird/testfind.c:465:28: note: Assignment 'current_opts=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/dird/testfind.c:488:16: note: Null pointer dereference bareos-Release-16.2.6/src/dird/testfind.c:492:16: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: current_opts [nullPointerOutOfMemory] bareos-Release-16.2.6/src/dird/testfind.c:465:47: note: Assuming allocation function fails bareos-Release-16.2.6/src/dird/testfind.c:465:28: note: Assignment 'current_opts=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/dird/testfind.c:492:16: note: Null pointer dereference bareos-Release-16.2.6/src/dird/testfind.c:495:16: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: current_opts [nullPointerOutOfMemory] bareos-Release-16.2.6/src/dird/testfind.c:465:47: note: Assuming allocation function fails bareos-Release-16.2.6/src/dird/testfind.c:465:28: note: Assignment 'current_opts=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/dird/testfind.c:495:16: note: Null pointer dereference bareos-Release-16.2.6/src/dird/testfind.c:346:33: style:inconclusive: Function 'count_files' argument 1 names different: declaration 'ff' definition 'ar'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/dird/testfind.c:55:33: note: Function 'count_files' argument 1 names different: declaration 'ff' definition 'ar'. bareos-Release-16.2.6/src/dird/testfind.c:346:33: note: Function 'count_files' argument 1 names different: declaration 'ff' definition 'ar'. bareos-Release-16.2.6/src/dird/testfind.c:38:33: style: Parameter 'jcr' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/dird/testfind.c:38:66: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/dird/dbcheck.c:1462:24: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] bareos-Release-16.2.6/src/dird/dbcheck.c:1505:28: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] bareos-Release-16.2.6/src/dird/unittests/test_dir.c:43:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dbg_timestamp [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/dird/dbcheck.c:841:18: style: Condition 'id_list.num_ids' is always true [knownConditionTrueFalse] bareos-Release-16.2.6/src/dird/dbcheck.c:961:18: style: Condition 'id_list.num_ids' is always true [knownConditionTrueFalse] bareos-Release-16.2.6/src/dird/dbcheck.c:1023:18: style: Condition 'id_list.num_ids' is always true [knownConditionTrueFalse] bareos-Release-16.2.6/src/dird/dbcheck.c:200:37: warning:inconclusive: Possible null pointer dereference: catalog [nullPointer] bareos-Release-16.2.6/src/dird/dbcheck.c:191:25: note: Assignment 'catalog=NULL', assigned value is 0 bareos-Release-16.2.6/src/dird/dbcheck.c:200:37: note: Null pointer dereference bareos-Release-16.2.6/src/dird/dbcheck.c:522:37: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'print_name_handler' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/dird/dbcheck.c:1352:37: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/dird/dbcheck.c:522:37: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/dird/dbcheck.c:672:40: style: Parameter 'name_list' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/dird/dbcheck.c:1310:17: style: Variable 'len' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/filed/filed_conf.h:53:1: error: Code 'classDIRRES:' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/findlib/attribs.c:75:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_RESTORE_FIRST [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/attribs.c:221:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_level [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/attribs.c:381:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_level [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/attribs.c:536:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_UNIX_ATTRIBUTES [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/acl.c:70:39: style: Parameter 'jcr' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/findlib/acl.c:71:46: style: Parameter 'acl_data' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/findlib/acl.c:72:42: style: Parameter 'ff_pkt' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/findlib/acl.c:77:39: style: Parameter 'jcr' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/findlib/acl.c:78:46: style: Parameter 'acl_data' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/findlib/acl.c:80:40: style: Parameter 'content' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/findlib/drivetype.c:77:41: style:inconclusive: Function 'drivetype' argument 2 names different: declaration 'fs' definition 'dt'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/findlib/protos.h:100:41: note: Function 'drivetype' argument 2 names different: declaration 'fs' definition 'dt'. bareos-Release-16.2.6/src/findlib/drivetype.c:77:41: note: Function 'drivetype' argument 2 names different: declaration 'fs' definition 'dt'. bareos-Release-16.2.6/src/findlib/drivetype.c:77:49: style:inconclusive: Function 'drivetype' argument 3 names different: declaration 'fslen' definition 'dtlen'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/findlib/protos.h:100:49: note: Function 'drivetype' argument 3 names different: declaration 'fslen' definition 'dtlen'. bareos-Release-16.2.6/src/findlib/drivetype.c:77:49: note: Function 'drivetype' argument 3 names different: declaration 'fslen' definition 'dtlen'. bareos-Release-16.2.6/src/findlib/drivetype.c:77:41: style: Parameter 'dt' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/findlib/create_file.c:85:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IWUSR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/create_file.c:513:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_ERROR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/create_file.c:527:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_FNAME [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/attribs.c:345:11: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] bareos-Release-16.2.6/src/findlib/bfile.c:88:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAMMASK_TYPE [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/bfile.c:350:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/bfile.c:1112:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_NOATIME [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/bfile.c:1197:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/bfile.c:1214:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/bfile.c:1226:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/bfile.c:1243:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/enable_priv.c:38:35: style: Parameter 'jcr' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/findlib/find.c:92:64: debug: Function::addArguments found argument 'jcr' with varid 0. [varid0] bareos-Release-16.2.6/src/findlib/fstype.c:189:14: style: Condition 'fstype(fname,fs_typename,sizeof(fs_typename))' is always false [knownConditionTrueFalse] bareos-Release-16.2.6/src/findlib/fstype.c:189:14: note: Calling function 'fstype' returns 0 bareos-Release-16.2.6/src/findlib/fstype.c:189:14: note: Condition 'fstype(fname,fs_typename,sizeof(fs_typename))' is always false bareos-Release-16.2.6/src/findlib/fstype.c:173:38: style: Parameter 'fs' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/findlib/create_file.c:63:46: style:inconclusive: Function 'create_file' argument 3 names different: declaration 'ofd' definition 'bfd'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/findlib/protos.h:39:46: note: Function 'create_file' argument 3 names different: declaration 'ofd' definition 'bfd'. bareos-Release-16.2.6/src/findlib/create_file.c:63:46: note: Function 'create_file' argument 3 names different: declaration 'ofd' definition 'bfd'. bareos-Release-16.2.6/src/findlib/find.c:60:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_FNAME [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/find.c:95:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable check_fct [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/find.c:108:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable file_save [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/find.c:246:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FO_ENHANCEDWILD [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/hardlink.c:63:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable htable [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/find_one.c:58:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_FNAME [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/find_one.c:275:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_REG [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/find_one.c:338:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FO_MTIMEONLY [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/find_one.c:363:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_FNAME [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/find_one.c:460:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_LNKSAVED [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/find_one.c:500:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/find_one.c:537:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_NOFOLLOW [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/find_one.c:606:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_DIRNOCHG [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/find_one.c:832:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_RAW [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/find_one.c:857:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_INFO [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/find_one.c:914:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_UNSET [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/bfile.c:226:16: style: Variable 'pv' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/findlib/bfile.c:246:16: style: Variable 'pv' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/findlib/bfile.c:1003:30: style: Parameter 'bfd' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/findlib/bfile.c:1008:33: style: Parameter 'bfd' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/findlib/bfile.c:1017:32: style: Parameter 'bfd' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/findlib/bfile.c:1022:22: style: Parameter 'bfd' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/findlib/bfile.c:1022:33: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/findlib/bfile.c:1022:44: style: Parameter 'jcr' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/findlib/bfile.c:1166:23: style: Parameter 'bfd' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/findlib/bfile.c:1230:22: style: Parameter 'bfd' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/findlib/mkpath.c:61:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_ERROR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/mkpath.c:94:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_WARNING [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/mkpath.c:132:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_ERROR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/match.c:61:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable file_save [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/match.c:137:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FO_ACL [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/match.c:471:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FO_MAX [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/match.c:524:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNM_PATHNAME [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/savecwd.h:29:1: error: Code 'classsaveCWD{' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/findlib/mkpath.c:145:19: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] bareos-Release-16.2.6/src/findlib/find.c:272:74: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] bareos-Release-16.2.6/src/findlib/find.c:282:75: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] bareos-Release-16.2.6/src/findlib/find.c:292:74: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] bareos-Release-16.2.6/src/findlib/find.c:303:68: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] bareos-Release-16.2.6/src/findlib/find.c:365:68: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] bareos-Release-16.2.6/src/findlib/find.c:376:46: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] bareos-Release-16.2.6/src/findlib/find.c:467:11: warning: If memory allocation fails, then there is a possible null pointer dereference: incexe [nullPointerOutOfMemory] bareos-Release-16.2.6/src/findlib/find.c:466:33: note: Assuming allocation function fails bareos-Release-16.2.6/src/findlib/find.c:466:13: note: Assignment 'incexe=(findINCEXE*)malloc(sizeof(findINCEXE))', assigned value is 0 bareos-Release-16.2.6/src/findlib/find.c:467:11: note: Null pointer dereference bareos-Release-16.2.6/src/findlib/find.c:468:4: warning: If memory allocation fails, then there is a possible null pointer dereference: incexe [nullPointerOutOfMemory] bareos-Release-16.2.6/src/findlib/find.c:466:33: note: Assuming allocation function fails bareos-Release-16.2.6/src/findlib/find.c:466:13: note: Assignment 'incexe=(findINCEXE*)malloc(sizeof(findINCEXE))', assigned value is 0 bareos-Release-16.2.6/src/findlib/find.c:468:4: note: Null pointer dereference bareos-Release-16.2.6/src/findlib/find.c:469:4: warning: If memory allocation fails, then there is a possible null pointer dereference: incexe [nullPointerOutOfMemory] bareos-Release-16.2.6/src/findlib/find.c:466:33: note: Assuming allocation function fails bareos-Release-16.2.6/src/findlib/find.c:466:13: note: Assignment 'incexe=(findINCEXE*)malloc(sizeof(findINCEXE))', assigned value is 0 bareos-Release-16.2.6/src/findlib/find.c:469:4: note: Null pointer dereference bareos-Release-16.2.6/src/findlib/find.c:470:4: warning: If memory allocation fails, then there is a possible null pointer dereference: incexe [nullPointerOutOfMemory] bareos-Release-16.2.6/src/findlib/find.c:466:33: note: Assuming allocation function fails bareos-Release-16.2.6/src/findlib/find.c:466:13: note: Assignment 'incexe=(findINCEXE*)malloc(sizeof(findINCEXE))', assigned value is 0 bareos-Release-16.2.6/src/findlib/find.c:470:4: note: Null pointer dereference bareos-Release-16.2.6/src/findlib/find.c:541:14: warning: If memory allocation fails, then there is a possible null pointer dereference: fo [nullPointerOutOfMemory] bareos-Release-16.2.6/src/findlib/find.c:540:42: note: Assuming allocation function fails bareos-Release-16.2.6/src/findlib/find.c:540:23: note: Assignment 'fo=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/findlib/find.c:541:14: note: Null pointer dereference bareos-Release-16.2.6/src/findlib/find.c:542:7: warning: If memory allocation fails, then there is a possible null pointer dereference: fo [nullPointerOutOfMemory] bareos-Release-16.2.6/src/findlib/find.c:540:42: note: Assuming allocation function fails bareos-Release-16.2.6/src/findlib/find.c:540:23: note: Assignment 'fo=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/findlib/find.c:542:7: note: Null pointer dereference bareos-Release-16.2.6/src/findlib/find.c:543:7: warning: If memory allocation fails, then there is a possible null pointer dereference: fo [nullPointerOutOfMemory] bareos-Release-16.2.6/src/findlib/find.c:540:42: note: Assuming allocation function fails bareos-Release-16.2.6/src/findlib/find.c:540:23: note: Assignment 'fo=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/findlib/find.c:543:7: note: Null pointer dereference bareos-Release-16.2.6/src/findlib/find.c:544:7: warning: If memory allocation fails, then there is a possible null pointer dereference: fo [nullPointerOutOfMemory] bareos-Release-16.2.6/src/findlib/find.c:540:42: note: Assuming allocation function fails bareos-Release-16.2.6/src/findlib/find.c:540:23: note: Assignment 'fo=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/findlib/find.c:544:7: note: Null pointer dereference bareos-Release-16.2.6/src/findlib/find.c:545:7: warning: If memory allocation fails, then there is a possible null pointer dereference: fo [nullPointerOutOfMemory] bareos-Release-16.2.6/src/findlib/find.c:540:42: note: Assuming allocation function fails bareos-Release-16.2.6/src/findlib/find.c:540:23: note: Assignment 'fo=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/findlib/find.c:545:7: note: Null pointer dereference bareos-Release-16.2.6/src/findlib/find.c:546:7: warning: If memory allocation fails, then there is a possible null pointer dereference: fo [nullPointerOutOfMemory] bareos-Release-16.2.6/src/findlib/find.c:540:42: note: Assuming allocation function fails bareos-Release-16.2.6/src/findlib/find.c:540:23: note: Assignment 'fo=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/findlib/find.c:546:7: note: Null pointer dereference bareos-Release-16.2.6/src/findlib/find.c:547:7: warning: If memory allocation fails, then there is a possible null pointer dereference: fo [nullPointerOutOfMemory] bareos-Release-16.2.6/src/findlib/find.c:540:42: note: Assuming allocation function fails bareos-Release-16.2.6/src/findlib/find.c:540:23: note: Assignment 'fo=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/findlib/find.c:547:7: note: Null pointer dereference bareos-Release-16.2.6/src/findlib/find.c:548:7: warning: If memory allocation fails, then there is a possible null pointer dereference: fo [nullPointerOutOfMemory] bareos-Release-16.2.6/src/findlib/find.c:540:42: note: Assuming allocation function fails bareos-Release-16.2.6/src/findlib/find.c:540:23: note: Assignment 'fo=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/findlib/find.c:548:7: note: Null pointer dereference bareos-Release-16.2.6/src/findlib/find.c:549:7: warning: If memory allocation fails, then there is a possible null pointer dereference: fo [nullPointerOutOfMemory] bareos-Release-16.2.6/src/findlib/find.c:540:42: note: Assuming allocation function fails bareos-Release-16.2.6/src/findlib/find.c:540:23: note: Assignment 'fo=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/findlib/find.c:549:7: note: Null pointer dereference bareos-Release-16.2.6/src/findlib/find.c:550:7: warning: If memory allocation fails, then there is a possible null pointer dereference: fo [nullPointerOutOfMemory] bareos-Release-16.2.6/src/findlib/find.c:540:42: note: Assuming allocation function fails bareos-Release-16.2.6/src/findlib/find.c:540:23: note: Assignment 'fo=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/findlib/find.c:550:7: note: Null pointer dereference bareos-Release-16.2.6/src/findlib/find.c:551:7: warning: If memory allocation fails, then there is a possible null pointer dereference: fo [nullPointerOutOfMemory] bareos-Release-16.2.6/src/findlib/find.c:540:42: note: Assuming allocation function fails bareos-Release-16.2.6/src/findlib/find.c:540:23: note: Assignment 'fo=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/findlib/find.c:551:7: note: Null pointer dereference bareos-Release-16.2.6/src/findlib/find.c:567:11: warning: If memory allocation fails, then there is a possible null pointer dereference: fo [nullPointerOutOfMemory] bareos-Release-16.2.6/src/findlib/find.c:566:28: note: Assuming allocation function fails bareos-Release-16.2.6/src/findlib/find.c:566:9: note: Assignment 'fo=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/findlib/find.c:567:11: note: Null pointer dereference bareos-Release-16.2.6/src/findlib/find.c:568:4: warning: If memory allocation fails, then there is a possible null pointer dereference: fo [nullPointerOutOfMemory] bareos-Release-16.2.6/src/findlib/find.c:566:28: note: Assuming allocation function fails bareos-Release-16.2.6/src/findlib/find.c:566:9: note: Assignment 'fo=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/findlib/find.c:568:4: note: Null pointer dereference bareos-Release-16.2.6/src/findlib/find.c:569:4: warning: If memory allocation fails, then there is a possible null pointer dereference: fo [nullPointerOutOfMemory] bareos-Release-16.2.6/src/findlib/find.c:566:28: note: Assuming allocation function fails bareos-Release-16.2.6/src/findlib/find.c:566:9: note: Assignment 'fo=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/findlib/find.c:569:4: note: Null pointer dereference bareos-Release-16.2.6/src/findlib/find.c:570:4: warning: If memory allocation fails, then there is a possible null pointer dereference: fo [nullPointerOutOfMemory] bareos-Release-16.2.6/src/findlib/find.c:566:28: note: Assuming allocation function fails bareos-Release-16.2.6/src/findlib/find.c:566:9: note: Assignment 'fo=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/findlib/find.c:570:4: note: Null pointer dereference bareos-Release-16.2.6/src/findlib/find.c:571:4: warning: If memory allocation fails, then there is a possible null pointer dereference: fo [nullPointerOutOfMemory] bareos-Release-16.2.6/src/findlib/find.c:566:28: note: Assuming allocation function fails bareos-Release-16.2.6/src/findlib/find.c:566:9: note: Assignment 'fo=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/findlib/find.c:571:4: note: Null pointer dereference bareos-Release-16.2.6/src/findlib/find.c:572:4: warning: If memory allocation fails, then there is a possible null pointer dereference: fo [nullPointerOutOfMemory] bareos-Release-16.2.6/src/findlib/find.c:566:28: note: Assuming allocation function fails bareos-Release-16.2.6/src/findlib/find.c:566:9: note: Assignment 'fo=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/findlib/find.c:572:4: note: Null pointer dereference bareos-Release-16.2.6/src/findlib/find.c:573:4: warning: If memory allocation fails, then there is a possible null pointer dereference: fo [nullPointerOutOfMemory] bareos-Release-16.2.6/src/findlib/find.c:566:28: note: Assuming allocation function fails bareos-Release-16.2.6/src/findlib/find.c:566:9: note: Assignment 'fo=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/findlib/find.c:573:4: note: Null pointer dereference bareos-Release-16.2.6/src/findlib/find.c:574:4: warning: If memory allocation fails, then there is a possible null pointer dereference: fo [nullPointerOutOfMemory] bareos-Release-16.2.6/src/findlib/find.c:566:28: note: Assuming allocation function fails bareos-Release-16.2.6/src/findlib/find.c:566:9: note: Assignment 'fo=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/findlib/find.c:574:4: note: Null pointer dereference bareos-Release-16.2.6/src/findlib/find.c:575:4: warning: If memory allocation fails, then there is a possible null pointer dereference: fo [nullPointerOutOfMemory] bareos-Release-16.2.6/src/findlib/find.c:566:28: note: Assuming allocation function fails bareos-Release-16.2.6/src/findlib/find.c:566:9: note: Assignment 'fo=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/findlib/find.c:575:4: note: Null pointer dereference bareos-Release-16.2.6/src/findlib/find.c:576:4: warning: If memory allocation fails, then there is a possible null pointer dereference: fo [nullPointerOutOfMemory] bareos-Release-16.2.6/src/findlib/find.c:566:28: note: Assuming allocation function fails bareos-Release-16.2.6/src/findlib/find.c:566:9: note: Assignment 'fo=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/findlib/find.c:576:4: note: Null pointer dereference bareos-Release-16.2.6/src/findlib/find.c:577:4: warning: If memory allocation fails, then there is a possible null pointer dereference: fo [nullPointerOutOfMemory] bareos-Release-16.2.6/src/findlib/find.c:566:28: note: Assuming allocation function fails bareos-Release-16.2.6/src/findlib/find.c:566:9: note: Assignment 'fo=(findFOPTS*)malloc(sizeof(findFOPTS))', assigned value is 0 bareos-Release-16.2.6/src/findlib/find.c:577:4: note: Null pointer dereference bareos-Release-16.2.6/src/findlib/find.c:84:60: style:inconclusive: Function 'set_find_options' argument 3 names different: declaration 'mtime' definition 'save_time'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/findlib/protos.h:43:60: note: Function 'set_find_options' argument 3 names different: declaration 'mtime' definition 'save_time'. bareos-Release-16.2.6/src/findlib/find.c:84:60: note: Function 'set_find_options' argument 3 names different: declaration 'mtime' definition 'save_time'. bareos-Release-16.2.6/src/findlib/find.c:359:19: style: Local variable 'incexe' shadows outer variable [shadowVariable] bareos-Release-16.2.6/src/findlib/find.c:242:16: note: Shadowed declaration bareos-Release-16.2.6/src/findlib/find.c:359:19: note: Shadow variable bareos-Release-16.2.6/src/findlib/find.c:374:16: style: Variable 'fname' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/findlib/shadowing.c:54:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_WARNING [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/shadowing.c:119:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FO_NO_RECURSION [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/shadowing.c:143:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FO_EXCLUDE [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/shadowing.c:231:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_WARNING [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/shadowing.c:360:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_WARNING [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/address_conf.c:37:1: error: Code 'IPADDR::IPADDR' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/findlib/find_one.c:406:4: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] bareos-Release-16.2.6/src/findlib/find_one.c:530:27: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] bareos-Release-16.2.6/src/findlib/find_one.c:876:8: style: Condition '!accept_drivetype(ff_pkt,NULL)' is always false [knownConditionTrueFalse] bareos-Release-16.2.6/src/findlib/find_one.c:876:25: note: Calling function 'accept_drivetype' returns 1 bareos-Release-16.2.6/src/findlib/find_one.c:876:8: note: Condition '!accept_drivetype(ff_pkt,NULL)' is always false bareos-Release-16.2.6/src/lib/alist.c:39:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable items [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/alist.c:53:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur_item [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/alist.c:63:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_items [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/alist.c:73:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur_item [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/alist.c:82:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur_item [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/alist.c:94:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_items [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/find_one.c:906:24: warning: Function 'find_one_file' argument order different: declaration 'jcr, ff, , p, parent_device' definition 'jcr, ff_pkt, jcr, ff, top_level' [funcArgOrderDifferent] bareos-Release-16.2.6/src/findlib/protos.h:72:24: note: Function 'find_one_file' argument order different: declaration 'jcr, ff, , p, parent_device' definition 'jcr, ff_pkt, jcr, ff, top_level' bareos-Release-16.2.6/src/findlib/find_one.c:906:24: note: Function 'find_one_file' argument order different: declaration 'jcr, ff, , p, parent_device' definition 'jcr, ff_pkt, jcr, ff, top_level' bareos-Release-16.2.6/src/lib/alist.c:111:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable items [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/alist.c:118:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_items [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/alist.c:133:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_items [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/alist.c:142:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable items [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/findlib/find_one.c:158:45: style: Parameter 'ff' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/findlib/find_one.c:158:55: style: Parameter 'dummy' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/findlib/find_one.c:202:33: style: Parameter 'jcr' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/findlib/find_one.c:202:46: style: Parameter 'ff_pkt' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/findlib/find_one.c:218:45: style: Parameter 'jcr' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/findlib/find_one.c:380:61: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/findlib/xattr.c:59:43: style: Parameter 'jcr' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/findlib/xattr.c:60:52: style: Parameter 'xattr_data' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/findlib/xattr.c:61:46: style: Parameter 'ff_pkt' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/findlib/xattr.c:66:43: style: Parameter 'jcr' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/findlib/xattr.c:67:52: style: Parameter 'xattr_data' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/findlib/xattr.c:69:44: style: Parameter 'content' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/attribs.c:114:5: error: Code 'template<...' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/lib/berrno.c:42:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_buf [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/berrno.c:49:15: style: Variable 'status' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/lib/attr.c:35:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATTR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/attr.c:72:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_FATAL [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/attr.c:173:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_LNKSAVED [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/attr.c:252:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_DELETED [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/bget_msg.c:90:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNET_EOD [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/base64.c:95:39: style: Parameter 'where' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/base64.c:129:48: style: Parameter 'bin' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/base64.c:178:52: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/binflate.c:37:52: error: Code 'int& out_len' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/lib/attr.c:265:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bareos-Release-16.2.6/src/lib/attr.c:36:11: warning: If memory allocation fails, then there is a possible null pointer dereference: attr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/attr.c:35:31: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/attr.c:35:17: note: Assignment 'attr=(ATTR*)malloc(sizeof(ATTR))', assigned value is 0 bareos-Release-16.2.6/src/lib/attr.c:36:11: note: Null pointer dereference bareos-Release-16.2.6/src/lib/attr.c:37:4: warning: If memory allocation fails, then there is a possible null pointer dereference: attr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/attr.c:35:31: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/attr.c:35:17: note: Assignment 'attr=(ATTR*)malloc(sizeof(ATTR))', assigned value is 0 bareos-Release-16.2.6/src/lib/attr.c:37:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/attr.c:38:4: warning: If memory allocation fails, then there is a possible null pointer dereference: attr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/attr.c:35:31: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/attr.c:35:17: note: Assignment 'attr=(ATTR*)malloc(sizeof(ATTR))', assigned value is 0 bareos-Release-16.2.6/src/lib/attr.c:38:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/attr.c:39:4: warning: If memory allocation fails, then there is a possible null pointer dereference: attr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/attr.c:35:31: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/attr.c:35:17: note: Assignment 'attr=(ATTR*)malloc(sizeof(ATTR))', assigned value is 0 bareos-Release-16.2.6/src/lib/attr.c:39:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/attr.c:40:4: warning: If memory allocation fails, then there is a possible null pointer dereference: attr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/attr.c:35:31: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/attr.c:35:17: note: Assignment 'attr=(ATTR*)malloc(sizeof(ATTR))', assigned value is 0 bareos-Release-16.2.6/src/lib/attr.c:40:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/attr.c:41:4: warning: If memory allocation fails, then there is a possible null pointer dereference: attr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/attr.c:35:31: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/attr.c:35:17: note: Assignment 'attr=(ATTR*)malloc(sizeof(ATTR))', assigned value is 0 bareos-Release-16.2.6/src/lib/attr.c:41:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/attr.c:249:14: style: Variable 'f' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/dird/ndmp_dma_priv.h:127:53: error: Code 'POOL_MEM& attribs' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/lib/bnet.c:209:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_ABORT [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/bnet.c:215:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_ABORT [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/bnet.c:325:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable h_errno [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/bnet.c:372:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_MULTIPLE [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/bnet.c:396:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_MULTIPLE [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/bnet.c:418:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/bnet_server_tcp.c:125:63: debug: Function::addArguments found argument 'bsock' with varid 0. [varid0] bareos-Release-16.2.6/src/findlib/match.c:524:43: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] bareos-Release-16.2.6/src/findlib/match.c:458:84: style:inconclusive: Function 'get_next_included_file' argument 2 names different: declaration 'inc' definition 'ainc'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/findlib/protos.h:67:72: note: Function 'get_next_included_file' argument 2 names different: declaration 'inc' definition 'ainc'. bareos-Release-16.2.6/src/findlib/match.c:458:84: note: Function 'get_next_included_file' argument 2 names different: declaration 'inc' definition 'ainc'. bareos-Release-16.2.6/src/lib/bnet_server_tcp.c:70:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMEOUT_SIGNAL [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/bnet_server_tcp.c:103:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_FATAL [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/bnet_server_tcp.c:191:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/bnet.c:361:14: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] bareos-Release-16.2.6/src/lib/bnet.c:566:39: style: Parameter 'bs' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/bpipe.c:352:49: error: Code '*& results' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/lib/breg.h:54:1: error: Code 'classBREGEXP{' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/lib/bsock.c:32:1: error: Code 'BSOCK::BSOCK' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/lib/bsock_sctp.h:25:1: error: Code 'classBSOCK_SCTP:' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/lib/bsock_udt.h:25:1: error: Code 'classBSOCK_UDT:' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/lib/bsock_tcp.c:53:1: error: Code 'BSOCK_TCP::BSOCK_TCP' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/lib/bsys.c:254:38: error: Code 'POOL_MEM& src' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/lib/btimers.c:59:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE_CHILD [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/btimers.c:139:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE_PTHREAD [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/btimers.c:169:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE_BSOCK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/btimers.c:226:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE_BSOCK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/btimers.c:239:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable btimer_t [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/btimers.c:258:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_ABORT [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/cbuf.h:31:1: error: Code 'classcircbuf:' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/findlib/shadowing.c:180:15: style: Variable 'fo' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/btimers.c:241:4: warning: If memory allocation fails, then there is a possible null pointer dereference: wid [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/btimers.c:239:38: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/btimers.c:239:20: note: Assignment 'wid=(btimer_t*)malloc(sizeof(btimer_t))', assigned value is 0 bareos-Release-16.2.6/src/lib/btimers.c:241:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/btimers.c:242:8: warning: If memory allocation fails, then there is a possible null pointer dereference: wid [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/btimers.c:239:38: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/btimers.c:239:20: note: Assignment 'wid=(btimer_t*)malloc(sizeof(btimer_t))', assigned value is 0 bareos-Release-16.2.6/src/lib/btimers.c:242:8: note: Null pointer dereference bareos-Release-16.2.6/src/lib/btimers.c:246:4: warning: If memory allocation fails, then there is a possible null pointer dereference: wid [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/btimers.c:239:38: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/btimers.c:239:20: note: Assignment 'wid=(btimer_t*)malloc(sizeof(btimer_t))', assigned value is 0 bareos-Release-16.2.6/src/lib/btimers.c:242:16: note: Assuming condition is false bareos-Release-16.2.6/src/lib/btimers.c:246:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/btimers.c:247:4: warning: If memory allocation fails, then there is a possible null pointer dereference: wid [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/btimers.c:239:38: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/btimers.c:239:20: note: Assignment 'wid=(btimer_t*)malloc(sizeof(btimer_t))', assigned value is 0 bareos-Release-16.2.6/src/lib/btimers.c:242:16: note: Assuming condition is false bareos-Release-16.2.6/src/lib/btimers.c:247:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/btimers.c:260:24: warning: Either the condition 'wid==NULL' is redundant or there is possible null pointer dereference: wid. [nullPointerRedundantCheck] bareos-Release-16.2.6/src/lib/btimers.c:257:12: note: Assuming that condition 'wid==NULL' is not redundant bareos-Release-16.2.6/src/lib/btimers.c:260:24: note: Null pointer dereference bareos-Release-16.2.6/src/lib/btimers.c:261:9: warning: Either the condition 'wid==NULL' is redundant or there is possible null pointer dereference: wid. [nullPointerRedundantCheck] bareos-Release-16.2.6/src/lib/btimers.c:257:12: note: Assuming that condition 'wid==NULL' is not redundant bareos-Release-16.2.6/src/lib/btimers.c:261:9: note: Null pointer dereference bareos-Release-16.2.6/src/lib/btimers.c:162:13: style: Checking if unsigned expression 'wait' is less than zero. [unsignedLessThanZero] bareos-Release-16.2.6/src/lib/connection_pool.h:31:1: error: Code 'classCONNECTION:' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/lib/bnet_server_tcp.c:185:28: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] bareos-Release-16.2.6/src/lib/compression.c:873:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_ERROR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/bnet_server_tcp.c:163:20: style: Local variable 'to_free' shadows outer variable [shadowVariable] bareos-Release-16.2.6/src/lib/bnet_server_tcp.c:135:28: note: Shadowed declaration bareos-Release-16.2.6/src/lib/bnet_server_tcp.c:163:20: note: Shadow variable bareos-Release-16.2.6/src/lib/bnet_server_tcp.c:81:14: style: Variable 'fd_ptr' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/compression.c:841:37: style: Parameter 'jcr' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/compression.c:844:42: style: Parameter 'compress_buf_size' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/compression.c:855:25: style: Parameter 'jcr' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/compression.c:857:26: style: Parameter 'rbuf' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/compression.c:859:35: style: Parameter 'cbuf' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/compression.c:861:30: style: Parameter 'compress_len' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/compression.c:877:31: style: Parameter 'jcr' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/bnet_server_tcp.c:163:20: style: Unused variable: to_free [unusedVariable] bareos-Release-16.2.6/src/lib/crypto.c:155:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRYPTO_DIGEST_MD5 [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/cram-md5.c:49:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_NAME [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/cram-md5.c:114:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_NAME [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/crypto_none.c:125:56: error: Code 'crypto_digest_t& type' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/lib/btime.c:317:37: warning: Logical disjunction always evaluates to true: second_fraction >= 0.0 || second_fraction < 1.0. [incorrectLogicOperator] bareos-Release-16.2.6/src/lib/btime.c:99:14: style: Variable 'q' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/btime.c:400:34: style: Parameter 'tm' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/btime.c:446:41: style: Parameter 'dt1' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/btime.c:446:64: style: Parameter 'dt2' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/cram-md5.c:125:8: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] bareos-Release-16.2.6/src/lib/cram-md5.c:127:15: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] bareos-Release-16.2.6/src/lib/cram-md5.c:128:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] bareos-Release-16.2.6/src/lib/cram-md5.c:67:4: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] bareos-Release-16.2.6/src/lib/cram-md5.c:73:6: note: Found duplicate branches for 'if' and 'else'. bareos-Release-16.2.6/src/lib/cram-md5.c:67:4: note: Found duplicate branches for 'if' and 'else'. bareos-Release-16.2.6/src/lib/crypto_cache.c:52:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/crypto_cache.c:130:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_FNAME [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/crypto_cache.c:156:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/crypto_cache.c:196:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_FNAME [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/crypto_cache.c:319:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_MESSAGE [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/crypto_wrap.c:213:45: style: Parameter 'plain' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/crypto_wrap.c:224:63: style: Parameter 'plain' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/devlock.h:41:1: error: Code 'classdevlock{' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/lib/daemon.c:56:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_ABORT [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/edit.c:480:48: error: Code '*& msg' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/lib/dlist.c:37:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tail [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/dlist.c:53:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable head [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/dlist.c:76:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable head [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/dlist.c:93:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tail [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/dlist.c:112:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_items [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/dlist.c:202:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable compare [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/dlist.c:219:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_items [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/dlist.c:279:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable head [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/dlist.c:307:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable head [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/dlist.c:315:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tail [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/dlist.c:324:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable head [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/dlist.c:343:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dlink [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/crypto_cache.c:230:16: warning: If memory allocation fails, then there is a possible null pointer dereference: cce [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/crypto_cache.c:229:43: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/crypto_cache.c:229:13: note: Assignment 'cce=(crypto_cache_entry_t*)malloc(sizeof(crypto_cache_entry_t))', assigned value is 0 bareos-Release-16.2.6/src/lib/crypto_cache.c:230:16: note: Null pointer dereference bareos-Release-16.2.6/src/lib/crypto_cache.c:231:16: warning: If memory allocation fails, then there is a possible null pointer dereference: cce [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/crypto_cache.c:229:43: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/crypto_cache.c:229:13: note: Assignment 'cce=(crypto_cache_entry_t*)malloc(sizeof(crypto_cache_entry_t))', assigned value is 0 bareos-Release-16.2.6/src/lib/crypto_cache.c:231:16: note: Null pointer dereference bareos-Release-16.2.6/src/lib/crypto_cache.c:232:7: warning: If memory allocation fails, then there is a possible null pointer dereference: cce [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/crypto_cache.c:229:43: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/crypto_cache.c:229:13: note: Assignment 'cce=(crypto_cache_entry_t*)malloc(sizeof(crypto_cache_entry_t))', assigned value is 0 bareos-Release-16.2.6/src/lib/crypto_cache.c:232:7: note: Null pointer dereference bareos-Release-16.2.6/src/lib/crypto_cache.c:273:19: warning: If memory allocation fails, then there is a possible null pointer dereference: cce [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/crypto_cache.c:272:46: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/crypto_cache.c:272:16: note: Assignment 'cce=(crypto_cache_entry_t*)malloc(sizeof(crypto_cache_entry_t))', assigned value is 0 bareos-Release-16.2.6/src/lib/crypto_cache.c:273:19: note: Null pointer dereference bareos-Release-16.2.6/src/lib/crypto_cache.c:274:19: warning: If memory allocation fails, then there is a possible null pointer dereference: cce [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/crypto_cache.c:272:46: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/crypto_cache.c:272:16: note: Assignment 'cce=(crypto_cache_entry_t*)malloc(sizeof(crypto_cache_entry_t))', assigned value is 0 bareos-Release-16.2.6/src/lib/crypto_cache.c:274:19: note: Null pointer dereference bareos-Release-16.2.6/src/lib/crypto_cache.c:275:10: warning: If memory allocation fails, then there is a possible null pointer dereference: cce [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/crypto_cache.c:272:46: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/crypto_cache.c:272:16: note: Assignment 'cce=(crypto_cache_entry_t*)malloc(sizeof(crypto_cache_entry_t))', assigned value is 0 bareos-Release-16.2.6/src/lib/crypto_cache.c:275:10: note: Null pointer dereference bareos-Release-16.2.6/src/lib/crypto_cache.c:43:36: style:inconclusive: Function 'read_crypto_cache' argument 1 names different: declaration 'dir' definition 'cache_file'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/lib/crypto_cache.h:45:36: note: Function 'read_crypto_cache' argument 1 names different: declaration 'dir' definition 'cache_file'. bareos-Release-16.2.6/src/lib/crypto_cache.c:43:36: note: Function 'read_crypto_cache' argument 1 names different: declaration 'dir' definition 'cache_file'. bareos-Release-16.2.6/src/lib/crypto_cache.c:140:37: style:inconclusive: Function 'write_crypto_cache' argument 1 names different: declaration 'dir' definition 'cache_file'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/lib/crypto_cache.h:47:37: note: Function 'write_crypto_cache' argument 1 names different: declaration 'dir' definition 'cache_file'. bareos-Release-16.2.6/src/lib/crypto_cache.c:140:37: note: Function 'write_crypto_cache' argument 1 names different: declaration 'dir' definition 'cache_file'. bareos-Release-16.2.6/src/lib/crypto_cache.c:121:17: style: Local variable 'cached_crypto_keys' shadows outer variable [shadowVariable] bareos-Release-16.2.6/src/lib/crypto_cache.c:32:15: note: Shadowed declaration bareos-Release-16.2.6/src/lib/crypto_cache.c:121:17: note: Shadow variable bareos-Release-16.2.6/src/lib/crypto_cache.c:411:11: style: Local variable 'cached_crypto_keys' shadows outer variable [shadowVariable] bareos-Release-16.2.6/src/lib/crypto_cache.c:32:15: note: Shadowed declaration bareos-Release-16.2.6/src/lib/crypto_cache.c:411:11: note: Shadow variable bareos-Release-16.2.6/src/lib/crypto_cache.c:122:29: style: Variable 'cached_crypto_keys' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/lib/crypto_cache.c:412:23: style: Variable 'cached_crypto_keys' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/lib/hmac.c:45:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MD5HashSize [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/guid_to_name.c:48:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable guid_list [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/htable.c:170:1: error: Code 'htable::htable' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/lib/guid_to_name.c:100:12: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] bareos-Release-16.2.6/src/lib/guid_to_name.c:113:12: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] bareos-Release-16.2.6/src/lib/guid_to_name.c:49:4: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/guid_to_name.c:48:30: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/guid_to_name.c:48:11: note: Assignment 'list=(guid_list*)malloc(sizeof(guid_list))', assigned value is 0 bareos-Release-16.2.6/src/lib/guid_to_name.c:49:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/guid_to_name.c:50:4: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/guid_to_name.c:48:30: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/guid_to_name.c:48:11: note: Assignment 'list=(guid_list*)malloc(sizeof(guid_list))', assigned value is 0 bareos-Release-16.2.6/src/lib/guid_to_name.c:50:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/guid_to_name.c:132:7: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/guid_to_name.c:131:30: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/guid_to_name.c:131:14: note: Assignment 'item=(guitem*)malloc(sizeof(guitem))', assigned value is 0 bareos-Release-16.2.6/src/lib/guid_to_name.c:132:7: note: Null pointer dereference bareos-Release-16.2.6/src/lib/guid_to_name.c:133:7: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/guid_to_name.c:131:30: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/guid_to_name.c:131:14: note: Assignment 'item=(guitem*)malloc(sizeof(guitem))', assigned value is 0 bareos-Release-16.2.6/src/lib/guid_to_name.c:133:7: note: Null pointer dereference bareos-Release-16.2.6/src/lib/guid_to_name.c:135:12: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/guid_to_name.c:131:30: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/guid_to_name.c:131:14: note: Assignment 'item=(guitem*)malloc(sizeof(guitem))', assigned value is 0 bareos-Release-16.2.6/src/lib/guid_to_name.c:135:12: note: Null pointer dereference bareos-Release-16.2.6/src/lib/guid_to_name.c:136:10: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/guid_to_name.c:131:30: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/guid_to_name.c:131:14: note: Assignment 'item=(guitem*)malloc(sizeof(guitem))', assigned value is 0 bareos-Release-16.2.6/src/lib/guid_to_name.c:136:10: note: Null pointer dereference bareos-Release-16.2.6/src/lib/guid_to_name.c:137:50: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/guid_to_name.c:131:30: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/guid_to_name.c:131:14: note: Assignment 'item=(guitem*)malloc(sizeof(guitem))', assigned value is 0 bareos-Release-16.2.6/src/lib/guid_to_name.c:137:50: note: Null pointer dereference bareos-Release-16.2.6/src/lib/guid_to_name.c:146:19: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/guid_to_name.c:131:30: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/guid_to_name.c:131:14: note: Assignment 'item=(guitem*)malloc(sizeof(guitem))', assigned value is 0 bareos-Release-16.2.6/src/lib/guid_to_name.c:146:19: note: Null pointer dereference bareos-Release-16.2.6/src/lib/guid_to_name.c:159:7: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/guid_to_name.c:158:30: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/guid_to_name.c:158:14: note: Assignment 'item=(guitem*)malloc(sizeof(guitem))', assigned value is 0 bareos-Release-16.2.6/src/lib/guid_to_name.c:159:7: note: Null pointer dereference bareos-Release-16.2.6/src/lib/guid_to_name.c:160:7: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/guid_to_name.c:158:30: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/guid_to_name.c:158:14: note: Assignment 'item=(guitem*)malloc(sizeof(guitem))', assigned value is 0 bareos-Release-16.2.6/src/lib/guid_to_name.c:160:7: note: Null pointer dereference bareos-Release-16.2.6/src/lib/guid_to_name.c:162:12: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/guid_to_name.c:158:30: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/guid_to_name.c:158:14: note: Assignment 'item=(guitem*)malloc(sizeof(guitem))', assigned value is 0 bareos-Release-16.2.6/src/lib/guid_to_name.c:162:12: note: Null pointer dereference bareos-Release-16.2.6/src/lib/guid_to_name.c:163:10: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/guid_to_name.c:158:30: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/guid_to_name.c:158:14: note: Assignment 'item=(guitem*)malloc(sizeof(guitem))', assigned value is 0 bareos-Release-16.2.6/src/lib/guid_to_name.c:163:10: note: Null pointer dereference bareos-Release-16.2.6/src/lib/guid_to_name.c:173:19: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/guid_to_name.c:158:30: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/guid_to_name.c:158:14: note: Assignment 'item=(guitem*)malloc(sizeof(guitem))', assigned value is 0 bareos-Release-16.2.6/src/lib/guid_to_name.c:173:19: note: Null pointer dereference bareos-Release-16.2.6/src/lib/guid_to_name.c:70:12: style: Variable 'i1' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/guid_to_name.c:71:12: style: Variable 'i2' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/guid_to_name.c:83:12: style: Variable 'i1' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/guid_to_name.c:84:12: style: Variable 'i2' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/dlist.c:344:13: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/dlist.c:343:32: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/dlist.c:343:11: note: Assignment 'node=(dlistString*)malloc(sizeof(dlink)+len+1)', assigned value is 0 bareos-Release-16.2.6/src/lib/dlist.c:344:13: note: Null pointer dereference bareos-Release-16.2.6/src/lib/dlist.c:344:13: error: Memory is allocated but not initialized: node [uninitdata] bareos-Release-16.2.6/src/lib/ini.h:119:1: error: Code 'classConfigFile{' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/lib/lockmgr.c:93:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_ABORT [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/lockmgr.c:103:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_ABORT [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/lockmgr.c:951:27: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/mem_pool.c:519:25: error: Code '*& pm' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/lib/jcr.c:161:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_last_job [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/jcr.c:200:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_last_job [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/jcr.c:238:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_JobType [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/jcr.c:265:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_JobType [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/jcr.c:289:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_JobType [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/jcr.c:313:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable job_push_item [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/jcr.c:417:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_FNAME [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/jcr.c:465:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_ABORT [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/jcr.c:581:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_ERROR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/jcr.c:666:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable my_thread_killable [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/jcr.c:681:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JobId [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/jcr.c:698:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_JCR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/jcr.c:712:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_ABORT [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/jcr.c:727:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_JCR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/jcr.c:742:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_JCR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/jcr.c:965:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dir_bsock [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/jcr.c:979:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dir_bsock [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/jcr.c:989:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable job_started [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/jcr.c:999:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JobStatus [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/jcr.c:1195:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable watchdog_time [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/lex.c:79:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_NAME [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/lex.c:124:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_NAME [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/lex.c:186:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_ABORT [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/lex.c:242:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_ERROR_TERM [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/lex.c:292:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bpipe [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/lex.c:372:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_ABORT [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/lex.c:501:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/lex.c:520:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/lex.c:897:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/message.c:51:36: error: There is an unknown macro here somewhere. Configuration is required. If BDATE is a macro then please configure it. [unknownMacro] bareos-Release-16.2.6/src/lib/mntent_cache.c:233:77: debug: Function::addArguments found argument 'dev' with varid 0. [varid0] bareos-Release-16.2.6/src/lib/output_formatter.c:44:1: error: Code 'OUTPUT_FORMATTER::OUTPUT_FORMATTER' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/lib/mntent_cache.c:158:11: warning: If memory allocation fails, then there is a possible null pointer dereference: mce [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/mntent_cache.c:157:40: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/mntent_cache.c:157:10: note: Assignment 'mce=(mntent_cache_entry_t*)malloc(sizeof(mntent_cache_entry_t))', assigned value is 0 bareos-Release-16.2.6/src/lib/mntent_cache.c:158:11: note: Null pointer dereference bareos-Release-16.2.6/src/lib/mntent_cache.c:159:4: warning: If memory allocation fails, then there is a possible null pointer dereference: mce [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/mntent_cache.c:157:40: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/mntent_cache.c:157:10: note: Assignment 'mce=(mntent_cache_entry_t*)malloc(sizeof(mntent_cache_entry_t))', assigned value is 0 bareos-Release-16.2.6/src/lib/mntent_cache.c:159:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/mntent_cache.c:160:4: warning: If memory allocation fails, then there is a possible null pointer dereference: mce [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/mntent_cache.c:157:40: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/mntent_cache.c:157:10: note: Assignment 'mce=(mntent_cache_entry_t*)malloc(sizeof(mntent_cache_entry_t))', assigned value is 0 bareos-Release-16.2.6/src/lib/mntent_cache.c:160:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/mntent_cache.c:161:4: warning: If memory allocation fails, then there is a possible null pointer dereference: mce [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/mntent_cache.c:157:40: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/mntent_cache.c:157:10: note: Assignment 'mce=(mntent_cache_entry_t*)malloc(sizeof(mntent_cache_entry_t))', assigned value is 0 bareos-Release-16.2.6/src/lib/mntent_cache.c:161:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/mntent_cache.c:162:4: warning: If memory allocation fails, then there is a possible null pointer dereference: mce [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/mntent_cache.c:157:40: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/mntent_cache.c:157:10: note: Assignment 'mce=(mntent_cache_entry_t*)malloc(sizeof(mntent_cache_entry_t))', assigned value is 0 bareos-Release-16.2.6/src/lib/mntent_cache.c:162:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/mntent_cache.c:164:7: warning: If memory allocation fails, then there is a possible null pointer dereference: mce [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/mntent_cache.c:157:40: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/mntent_cache.c:157:10: note: Assignment 'mce=(mntent_cache_entry_t*)malloc(sizeof(mntent_cache_entry_t))', assigned value is 0 bareos-Release-16.2.6/src/lib/mntent_cache.c:164:7: note: Null pointer dereference bareos-Release-16.2.6/src/lib/mntent_cache.c:517:14: style: Local variable 'mntent_cache_entries' shadows outer variable [shadowVariable] bareos-Release-16.2.6/src/lib/mntent_cache.c:101:15: note: Shadowed declaration bareos-Release-16.2.6/src/lib/mntent_cache.c:517:14: note: Shadow variable bareos-Release-16.2.6/src/lib/mntent_cache.c:120:26: style: Variable 'mce1' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/mntent_cache.c:120:33: style: Variable 'mce2' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/mntent_cache.c:514:37: error: Uninitialized variables: mce.link, mce.dev, mce.special, mce.mountpoint, mce.fstype, mce.mntopts, mce.reference_count, mce.validated, mce.destroyed [uninitvar] bareos-Release-16.2.6/src/lib/bregex.c:1942:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_FNAME [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/parse_bsr.c:107:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_NAME [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/parse_bsr.c:142:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_NAME [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/parse_bsr.c:213:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_ERROR_TERM [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/parse_bsr.c:272:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_STRING [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/parse_bsr.c:316:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_STRING [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/parse_bsr.c:336:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_STRING [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/parse_bsr.c:350:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_STRING [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/parse_bsr.c:372:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_NAME [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/parse_bsr.c:405:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_NAME [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/parse_bsr.c:441:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_PINT32_RANGE [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/parse_bsr.c:478:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_PINT32_RANGE [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/parse_bsr.c:513:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_PINT32 [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/parse_bsr.c:527:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_STRING [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/parse_bsr.c:572:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_PINT32_RANGE [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/parse_bsr.c:612:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_PINT32_RANGE [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/parse_bsr.c:652:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_PINT64_RANGE [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/parse_bsr.c:689:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_PINT32_RANGE [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/parse_bsr.c:726:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_PINT32 [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/parse_bsr.c:762:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_INT32 [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/parse_bsr.c:796:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_PINT32 [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/parse_bsr.c:918:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_level [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/parse_conf.c:472:40: error: Code 'POOL_MEM& full_path' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/lib/jcr.c:791:8: style: Condition 'found' is always false [knownConditionTrueFalse] bareos-Release-16.2.6/src/lib/jcr.c:781:17: note: Assignment 'found=false', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:784:24: note: Assuming condition is false bareos-Release-16.2.6/src/lib/jcr.c:791:8: note: Condition 'found' is always false bareos-Release-16.2.6/src/lib/jcr.c:315:4: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:313:34: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:313:11: note: Assignment 'item=(job_push_item*)malloc(sizeof(job_push_item))', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:315:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:316:4: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:313:34: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:313:11: note: Assignment 'item=(job_push_item*)malloc(sizeof(job_push_item))', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:316:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:402:11: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:401:23: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:401:10: note: Assignment 'jcr=(JCR*)malloc(size)', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:402:11: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:404:4: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:401:23: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:401:10: note: Assignment 'jcr=(JCR*)malloc(size)', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:404:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:410:4: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:401:23: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:401:10: note: Assignment 'jcr=(JCR*)malloc(size)', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:410:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:411:4: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:401:23: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:401:10: note: Assignment 'jcr=(JCR*)malloc(size)', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:411:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:412:4: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:401:23: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:401:10: note: Assignment 'jcr=(JCR*)malloc(size)', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:412:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:413:4: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:401:23: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:401:10: note: Assignment 'jcr=(JCR*)malloc(size)', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:413:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:413:30: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:401:23: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:401:10: note: Assignment 'jcr=(JCR*)malloc(size)', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:413:30: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:414:4: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:401:23: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:401:10: note: Assignment 'jcr=(JCR*)malloc(size)', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:414:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:415:4: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:401:23: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:401:10: note: Assignment 'jcr=(JCR*)malloc(size)', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:415:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:416:4: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:401:23: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:401:10: note: Assignment 'jcr=(JCR*)malloc(size)', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:416:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:417:4: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:401:23: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:401:10: note: Assignment 'jcr=(JCR*)malloc(size)', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:417:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:418:4: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:401:23: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:401:10: note: Assignment 'jcr=(JCR*)malloc(size)', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:418:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:419:4: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:401:23: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:401:10: note: Assignment 'jcr=(JCR*)malloc(size)', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:419:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:420:4: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:401:23: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:401:10: note: Assignment 'jcr=(JCR*)malloc(size)', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:420:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:421:4: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:401:23: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:401:10: note: Assignment 'jcr=(JCR*)malloc(size)', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:421:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:422:4: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:401:23: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:401:10: note: Assignment 'jcr=(JCR*)malloc(size)', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:422:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:427:13: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:401:23: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:401:10: note: Assignment 'jcr=(JCR*)malloc(size)', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:427:13: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:428:4: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:401:23: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:401:10: note: Assignment 'jcr=(JCR*)malloc(size)', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:428:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:429:4: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:401:23: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:401:10: note: Assignment 'jcr=(JCR*)malloc(size)', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:429:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:430:4: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:401:23: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:401:10: note: Assignment 'jcr=(JCR*)malloc(size)', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:430:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:431:4: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:401:23: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:401:10: note: Assignment 'jcr=(JCR*)malloc(size)', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:431:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:621:17: warning: If memory allocation fails, then there is a possible null pointer dereference: je [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:620:42: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:620:15: note: Assignment 'je=(struct s_last_job*)malloc(sizeof(struct s_last_job))', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:621:17: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:622:10: warning: If memory allocation fails, then there is a possible null pointer dereference: je [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:620:42: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:620:15: note: Assignment 'je=(struct s_last_job*)malloc(sizeof(struct s_last_job))', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:622:10: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:623:10: warning: If memory allocation fails, then there is a possible null pointer dereference: je [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:620:42: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:620:15: note: Assignment 'je=(struct s_last_job*)malloc(sizeof(struct s_last_job))', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:623:10: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:624:10: warning: If memory allocation fails, then there is a possible null pointer dereference: je [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:620:42: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:620:15: note: Assignment 'je=(struct s_last_job*)malloc(sizeof(struct s_last_job))', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:624:10: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:625:10: warning: If memory allocation fails, then there is a possible null pointer dereference: je [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:620:42: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:620:15: note: Assignment 'je=(struct s_last_job*)malloc(sizeof(struct s_last_job))', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:625:10: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:626:10: warning: If memory allocation fails, then there is a possible null pointer dereference: je [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:620:42: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:620:15: note: Assignment 'je=(struct s_last_job*)malloc(sizeof(struct s_last_job))', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:626:10: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:627:19: warning: If memory allocation fails, then there is a possible null pointer dereference: je [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:620:42: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:620:15: note: Assignment 'je=(struct s_last_job*)malloc(sizeof(struct s_last_job))', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:627:19: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:628:10: warning: If memory allocation fails, then there is a possible null pointer dereference: je [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:620:42: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:620:15: note: Assignment 'je=(struct s_last_job*)malloc(sizeof(struct s_last_job))', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:628:10: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:629:10: warning: If memory allocation fails, then there is a possible null pointer dereference: je [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:620:42: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:620:15: note: Assignment 'je=(struct s_last_job*)malloc(sizeof(struct s_last_job))', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:629:10: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:630:10: warning: If memory allocation fails, then there is a possible null pointer dereference: je [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:620:42: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:620:15: note: Assignment 'je=(struct s_last_job*)malloc(sizeof(struct s_last_job))', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:630:10: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:631:10: warning: If memory allocation fails, then there is a possible null pointer dereference: je [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:620:42: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:620:15: note: Assignment 'je=(struct s_last_job*)malloc(sizeof(struct s_last_job))', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:631:10: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:632:10: warning: If memory allocation fails, then there is a possible null pointer dereference: je [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:620:42: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:620:15: note: Assignment 'je=(struct s_last_job*)malloc(sizeof(struct s_last_job))', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:632:10: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:633:10: warning: If memory allocation fails, then there is a possible null pointer dereference: je [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/jcr.c:620:42: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/jcr.c:620:15: note: Assignment 'je=(struct s_last_job*)malloc(sizeof(struct s_last_job))', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:633:10: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:784:25: warning:inconclusive: Possible null pointer dereference: jcr [nullPointer] bareos-Release-16.2.6/src/lib/jcr.c:780:15: note: Assignment 'jcr=NULL', assigned value is 0 bareos-Release-16.2.6/src/lib/jcr.c:784:25: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:125:14: style: Local variable 'last_jobs' shadows outer variable [shadowVariable] bareos-Release-16.2.6/src/lib/jcr.c:70:8: note: Shadowed declaration bareos-Release-16.2.6/src/lib/jcr.c:125:14: note: Shadow variable bareos-Release-16.2.6/src/lib/jcr.c:130:14: style: Local variable 'jcrs' shadows outer variable [shadowVariable] bareos-Release-16.2.6/src/lib/jcr.c:73:15: note: Shadowed declaration bareos-Release-16.2.6/src/lib/jcr.c:130:14: note: Shadow variable bareos-Release-16.2.6/src/lib/jcr.c:693:31: style: Parameter 'jcr' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/jcr.c:695:9: style: Variable 'tjcr' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/jcr.c:739:9: style: Variable 'jcr' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/passphrase.c:131:7: warning: If memory allocation fails, then there is a possible null pointer dereference: rand_bytes [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/passphrase.c:127:30: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/passphrase.c:127:17: note: Assignment 'rand_bytes=(int*)malloc(length*sizeof(int))', assigned value is 0 bareos-Release-16.2.6/src/lib/passphrase.c:131:7: note: Null pointer dereference bareos-Release-16.2.6/src/lib/passphrase.c:142:11: warning: If memory allocation fails, then there is a possible null pointer dereference: rand_bytes [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/passphrase.c:127:30: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/passphrase.c:127:17: note: Assignment 'rand_bytes=(int*)malloc(length*sizeof(int))', assigned value is 0 bareos-Release-16.2.6/src/lib/passphrase.c:142:11: note: Null pointer dereference bareos-Release-16.2.6/src/lib/passphrase.c:143:7: warning: If memory allocation fails, then there is a possible null pointer dereference: passphrase [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/passphrase.c:128:31: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/passphrase.c:128:17: note: Assignment 'passphrase=(char*)malloc(length)', assigned value is 0 bareos-Release-16.2.6/src/lib/passphrase.c:143:7: note: Null pointer dereference bareos-Release-16.2.6/src/lib/jcr.c:126:17: style: Variable 'last_jobs' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/lib/jcr.c:131:12: style: Variable 'jcrs' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/lib/passphrase.c:122:9: style: Variable 'valid_chars' can be declared as const array [constVariable] bareos-Release-16.2.6/src/lib/path_list.c:43:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable htable [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/path_list.c:89:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_FNAME [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/plugins.c:38:0: error: #error "Cannot load dynamic objects into program" [preprocessorErrorDirective] bareos-Release-16.2.6/src/lib/plugins.c:38:2: error: #error "Cannot load dynamic objects into program" [preprocessorErrorDirective] bareos-Release-16.2.6/src/lib/path_list.c:48:4: warning: If memory allocation fails, then there is a possible null pointer dereference: path_list [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/path_list.c:43:32: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/path_list.c:43:16: note: Assignment 'path_list=(htable*)malloc(sizeof(htable))', assigned value is 0 bareos-Release-16.2.6/src/lib/path_list.c:48:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/parse_bsr.c:96:11: warning: If memory allocation fails, then there is a possible null pointer dereference: bsr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/parse_bsr.c:95:28: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/parse_bsr.c:95:15: note: Assignment 'bsr=(BSR*)malloc(sizeof(BSR))', assigned value is 0 bareos-Release-16.2.6/src/lib/parse_bsr.c:96:11: note: Null pointer dereference bareos-Release-16.2.6/src/lib/parse_bsr.c:216:4: warning: Either the condition '(lc=lex_open_file(lc,fname,s_err,s_warn))==NULL' is redundant or there is possible null pointer dereference: lc. [nullPointerRedundantCheck] bareos-Release-16.2.6/src/lib/parse_bsr.c:211:55: note: Assuming that condition '(lc=lex_open_file(lc,fname,s_err,s_warn))==NULL' is not redundant bareos-Release-16.2.6/src/lib/parse_bsr.c:216:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/parse_bsr.c:290:14: warning: If memory allocation fails, then there is a possible null pointer dereference: volume [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/parse_bsr.c:289:36: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/parse_bsr.c:289:16: note: Assignment 'volume=(BSR_VOLUME*)malloc(sizeof(BSR_VOLUME))', assigned value is 0 bareos-Release-16.2.6/src/lib/parse_bsr.c:290:14: note: Null pointer dereference bareos-Release-16.2.6/src/lib/parse_bsr.c:291:16: warning: If memory allocation fails, then there is a possible null pointer dereference: volume [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/parse_bsr.c:289:36: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/parse_bsr.c:289:16: note: Assignment 'volume=(BSR_VOLUME*)malloc(sizeof(BSR_VOLUME))', assigned value is 0 bareos-Release-16.2.6/src/lib/parse_bsr.c:291:16: note: Null pointer dereference bareos-Release-16.2.6/src/lib/parse_bsr.c:377:14: warning: If memory allocation fails, then there is a possible null pointer dereference: client [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/parse_bsr.c:376:36: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/parse_bsr.c:376:16: note: Assignment 'client=(BSR_CLIENT*)malloc(sizeof(BSR_CLIENT))', assigned value is 0 bareos-Release-16.2.6/src/lib/parse_bsr.c:377:14: note: Null pointer dereference bareos-Release-16.2.6/src/lib/parse_bsr.c:378:16: warning: If memory allocation fails, then there is a possible null pointer dereference: client [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/parse_bsr.c:376:36: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/parse_bsr.c:376:16: note: Assignment 'client=(BSR_CLIENT*)malloc(sizeof(BSR_CLIENT))', assigned value is 0 bareos-Release-16.2.6/src/lib/parse_bsr.c:378:16: note: Null pointer dereference bareos-Release-16.2.6/src/lib/parse_bsr.c:410:14: warning: If memory allocation fails, then there is a possible null pointer dereference: job [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/parse_bsr.c:409:30: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/parse_bsr.c:409:13: note: Assignment 'job=(BSR_JOB*)malloc(sizeof(BSR_JOB))', assigned value is 0 bareos-Release-16.2.6/src/lib/parse_bsr.c:410:14: note: Null pointer dereference bareos-Release-16.2.6/src/lib/parse_bsr.c:411:16: warning: If memory allocation fails, then there is a possible null pointer dereference: job [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/parse_bsr.c:409:30: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/parse_bsr.c:409:13: note: Assignment 'job=(BSR_JOB*)malloc(sizeof(BSR_JOB))', assigned value is 0 bareos-Release-16.2.6/src/lib/parse_bsr.c:411:16: note: Null pointer dereference bareos-Release-16.2.6/src/lib/parse_bsr.c:446:14: warning: If memory allocation fails, then there is a possible null pointer dereference: findex [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/parse_bsr.c:445:36: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/parse_bsr.c:445:16: note: Assignment 'findex=(BSR_FINDEX*)malloc(sizeof(BSR_FINDEX))', assigned value is 0 bareos-Release-16.2.6/src/lib/parse_bsr.c:446:14: note: Null pointer dereference bareos-Release-16.2.6/src/lib/parse_bsr.c:447:7: warning: If memory allocation fails, then there is a possible null pointer dereference: findex [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/parse_bsr.c:445:36: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/parse_bsr.c:445:16: note: Assignment 'findex=(BSR_FINDEX*)malloc(sizeof(BSR_FINDEX))', assigned value is 0 bareos-Release-16.2.6/src/lib/parse_bsr.c:447:7: note: Null pointer dereference bareos-Release-16.2.6/src/lib/parse_bsr.c:448:7: warning: If memory allocation fails, then there is a possible null pointer dereference: findex [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/parse_bsr.c:445:36: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/parse_bsr.c:445:16: note: Assignment 'findex=(BSR_FINDEX*)malloc(sizeof(BSR_FINDEX))', assigned value is 0 bareos-Release-16.2.6/src/lib/parse_bsr.c:448:7: note: Null pointer dereference bareos-Release-16.2.6/src/lib/parse_bsr.c:483:14: warning: If memory allocation fails, then there is a possible null pointer dereference: jobid [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/parse_bsr.c:482:34: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/parse_bsr.c:482:15: note: Assignment 'jobid=(BSR_JOBID*)malloc(sizeof(BSR_JOBID))', assigned value is 0 bareos-Release-16.2.6/src/lib/parse_bsr.c:483:14: note: Null pointer dereference bareos-Release-16.2.6/src/lib/parse_bsr.c:484:7: warning: If memory allocation fails, then there is a possible null pointer dereference: jobid [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/parse_bsr.c:482:34: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/parse_bsr.c:482:15: note: Assignment 'jobid=(BSR_JOBID*)malloc(sizeof(BSR_JOBID))', assigned value is 0 bareos-Release-16.2.6/src/lib/parse_bsr.c:484:7: note: Null pointer dereference bareos-Release-16.2.6/src/lib/parse_bsr.c:485:7: warning: If memory allocation fails, then there is a possible null pointer dereference: jobid [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/parse_bsr.c:482:34: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/parse_bsr.c:482:15: note: Assignment 'jobid=(BSR_JOBID*)malloc(sizeof(BSR_JOBID))', assigned value is 0 bareos-Release-16.2.6/src/lib/parse_bsr.c:485:7: note: Null pointer dereference bareos-Release-16.2.6/src/lib/parse_bsr.c:577:14: warning: If memory allocation fails, then there is a possible null pointer dereference: volfile [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/parse_bsr.c:576:38: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/parse_bsr.c:576:17: note: Assignment 'volfile=(BSR_VOLFILE*)malloc(sizeof(BSR_VOLFILE))', assigned value is 0 bareos-Release-16.2.6/src/lib/parse_bsr.c:577:14: note: Null pointer dereference bareos-Release-16.2.6/src/lib/parse_bsr.c:578:7: warning: If memory allocation fails, then there is a possible null pointer dereference: volfile [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/parse_bsr.c:576:38: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/parse_bsr.c:576:17: note: Assignment 'volfile=(BSR_VOLFILE*)malloc(sizeof(BSR_VOLFILE))', assigned value is 0 bareos-Release-16.2.6/src/lib/parse_bsr.c:578:7: note: Null pointer dereference bareos-Release-16.2.6/src/lib/parse_bsr.c:579:7: warning: If memory allocation fails, then there is a possible null pointer dereference: volfile [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/parse_bsr.c:576:38: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/parse_bsr.c:576:17: note: Assignment 'volfile=(BSR_VOLFILE*)malloc(sizeof(BSR_VOLFILE))', assigned value is 0 bareos-Release-16.2.6/src/lib/parse_bsr.c:579:7: note: Null pointer dereference bareos-Release-16.2.6/src/lib/parse_bsr.c:617:14: warning: If memory allocation fails, then there is a possible null pointer dereference: volblock [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/parse_bsr.c:616:40: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/parse_bsr.c:616:18: note: Assignment 'volblock=(BSR_VOLBLOCK*)malloc(sizeof(BSR_VOLBLOCK))', assigned value is 0 bareos-Release-16.2.6/src/lib/parse_bsr.c:617:14: note: Null pointer dereference bareos-Release-16.2.6/src/lib/parse_bsr.c:618:7: warning: If memory allocation fails, then there is a possible null pointer dereference: volblock [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/parse_bsr.c:616:40: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/parse_bsr.c:616:18: note: Assignment 'volblock=(BSR_VOLBLOCK*)malloc(sizeof(BSR_VOLBLOCK))', assigned value is 0 bareos-Release-16.2.6/src/lib/parse_bsr.c:618:7: note: Null pointer dereference bareos-Release-16.2.6/src/lib/parse_bsr.c:619:7: warning: If memory allocation fails, then there is a possible null pointer dereference: volblock [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/parse_bsr.c:616:40: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/parse_bsr.c:616:18: note: Assignment 'volblock=(BSR_VOLBLOCK*)malloc(sizeof(BSR_VOLBLOCK))', assigned value is 0 bareos-Release-16.2.6/src/lib/parse_bsr.c:619:7: note: Null pointer dereference bareos-Release-16.2.6/src/lib/parse_bsr.c:657:14: warning: If memory allocation fails, then there is a possible null pointer dereference: voladdr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/parse_bsr.c:656:38: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/parse_bsr.c:656:17: note: Assignment 'voladdr=(BSR_VOLADDR*)malloc(sizeof(BSR_VOLADDR))', assigned value is 0 bareos-Release-16.2.6/src/lib/parse_bsr.c:657:14: note: Null pointer dereference bareos-Release-16.2.6/src/lib/parse_bsr.c:658:7: warning: If memory allocation fails, then there is a possible null pointer dereference: voladdr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/parse_bsr.c:656:38: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/parse_bsr.c:656:17: note: Assignment 'voladdr=(BSR_VOLADDR*)malloc(sizeof(BSR_VOLADDR))', assigned value is 0 bareos-Release-16.2.6/src/lib/parse_bsr.c:658:7: note: Null pointer dereference bareos-Release-16.2.6/src/lib/parse_bsr.c:659:7: warning: If memory allocation fails, then there is a possible null pointer dereference: voladdr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/parse_bsr.c:656:38: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/parse_bsr.c:656:17: note: Assignment 'voladdr=(BSR_VOLADDR*)malloc(sizeof(BSR_VOLADDR))', assigned value is 0 bareos-Release-16.2.6/src/lib/parse_bsr.c:659:7: note: Null pointer dereference bareos-Release-16.2.6/src/lib/parse_bsr.c:694:14: warning: If memory allocation fails, then there is a possible null pointer dereference: sid [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/parse_bsr.c:693:33: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/parse_bsr.c:693:13: note: Assignment 'sid=(BSR_SESSID*)malloc(sizeof(BSR_SESSID))', assigned value is 0 bareos-Release-16.2.6/src/lib/parse_bsr.c:694:14: note: Null pointer dereference bareos-Release-16.2.6/src/lib/path_list.c:106:12: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/parse_bsr.c:695:7: warning: If memory allocation fails, then there is a possible null pointer dereference: sid [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/parse_bsr.c:693:33: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/parse_bsr.c:693:13: note: Assignment 'sid=(BSR_SESSID*)malloc(sizeof(BSR_SESSID))', assigned value is 0 bareos-Release-16.2.6/src/lib/parse_bsr.c:695:7: note: Null pointer dereference bareos-Release-16.2.6/src/lib/parse_bsr.c:696:7: warning: If memory allocation fails, then there is a possible null pointer dereference: sid [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/parse_bsr.c:693:33: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/parse_bsr.c:693:13: note: Assignment 'sid=(BSR_SESSID*)malloc(sizeof(BSR_SESSID))', assigned value is 0 bareos-Release-16.2.6/src/lib/parse_bsr.c:696:7: note: Null pointer dereference bareos-Release-16.2.6/src/lib/parse_bsr.c:731:14: warning: If memory allocation fails, then there is a possible null pointer dereference: stime [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/parse_bsr.c:730:37: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/parse_bsr.c:730:15: note: Assignment 'stime=(BSR_SESSTIME*)malloc(sizeof(BSR_SESSTIME))', assigned value is 0 bareos-Release-16.2.6/src/lib/parse_bsr.c:731:14: note: Null pointer dereference bareos-Release-16.2.6/src/lib/parse_bsr.c:732:7: warning: If memory allocation fails, then there is a possible null pointer dereference: stime [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/parse_bsr.c:730:37: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/parse_bsr.c:730:15: note: Assignment 'stime=(BSR_SESSTIME*)malloc(sizeof(BSR_SESSTIME))', assigned value is 0 bareos-Release-16.2.6/src/lib/parse_bsr.c:732:7: note: Null pointer dereference bareos-Release-16.2.6/src/lib/parse_bsr.c:767:14: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/parse_bsr.c:766:36: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/parse_bsr.c:766:16: note: Assignment 'stream=(BSR_STREAM*)malloc(sizeof(BSR_STREAM))', assigned value is 0 bareos-Release-16.2.6/src/lib/parse_bsr.c:767:14: note: Null pointer dereference bareos-Release-16.2.6/src/lib/parse_bsr.c:768:7: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/parse_bsr.c:766:36: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/parse_bsr.c:766:16: note: Assignment 'stream=(BSR_STREAM*)malloc(sizeof(BSR_STREAM))', assigned value is 0 bareos-Release-16.2.6/src/lib/parse_bsr.c:768:7: note: Null pointer dereference bareos-Release-16.2.6/src/lib/path_list.c:48:4: error: Memory is allocated but not initialized: path_list [uninitdata] bareos-Release-16.2.6/src/lib/parse_bsr.c:203:32: style:inconclusive: Function 'parse_bsr' argument 2 names different: declaration 'lf' definition 'fname'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/lib/bsr.h:170:32: note: Function 'parse_bsr' argument 2 names different: declaration 'lf' definition 'fname'. bareos-Release-16.2.6/src/lib/parse_bsr.c:203:32: note: Function 'parse_bsr' argument 2 names different: declaration 'lf' definition 'fname'. bareos-Release-16.2.6/src/lib/poll.c:141:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/poll.c:174:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/priv.c:44:17: style: Parameter 'uname' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/priv.c:44:30: style: Parameter 'gname' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/rblist.c:51:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable head [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/rblist.c:144:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable head [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/rblist.c:166:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable head [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/rblist.c:203:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable down [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/rblist.c:245:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable down [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/rblist.c:284:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable head [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/rblist.c:307:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable head [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/rblist.c:339:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable head [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/res.c:1485:10: error: syntax error [syntaxError] bareos-Release-16.2.6/src/lib/runscript.h:65:1: error: Code 'classRUNSCRIPT{' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/lib/rblist.c:89:6: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment] bareos-Release-16.2.6/src/lib/rblist.c:77:6: note: x is assigned bareos-Release-16.2.6/src/lib/rblist.c:89:6: note: x is overwritten bareos-Release-16.2.6/src/lib/scan.c:232:40: error: Code '*& args' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/lib/scsi_crypto.c:33:41: error: Code '*& status' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/lib/rwlock.c:60:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RWLOCK_VALID [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/rwlock.c:74:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RWLOCK_VALID [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/rwlock.c:109:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RWLOCK_VALID [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/rwlock.c:143:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RWLOCK_VALID [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/rwlock.c:175:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RWLOCK_VALID [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/rwlock.c:197:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RWLOCK_VALID [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/rwlock.c:220:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RWLOCK_VALID [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/rwlock.c:260:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RWLOCK_VALID [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/rwlock.c:290:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RWLOCK_VALID [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/scsi_lli.c:511:31: style: Parameter 'cdb' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/scsi_lli.c:512:31: style: Parameter 'cmd_page' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/scsi_lli.c:518:31: style: Parameter 'cdb' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/scsi_lli.c:519:31: style: Parameter 'cmd_page' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/sellist.c:50:20: debug: Scope::checkVariable found variable 'p' with varid 0. [varid0] bareos-Release-16.2.6/src/lib/sellist.c:38:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errmsg [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/sellist.c:131:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable str [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/rwlock.c:107:29: style: Parameter 'rwl' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/signal.c:304:38: debug: Function::addArguments found argument 'sig' with varid 0. [varid0] bareos-Release-16.2.6/src/lib/serial.c:125:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable btime_t [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/serial.c:151:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable float64_t [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/serial.c:253:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable btime_t [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/serial.c:283:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable float64_t [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/signal.c:83:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable working_directory [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/signal.c:321:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable terminate [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/serial.c:89:18: style: Variable 'pv' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/serial.c:109:18: style: Variable 'pv' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/serial.c:129:18: style: Variable 'pv' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/serial.c:155:18: style: Variable 'pv' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/serial.c:169:10: style: Variable 'src' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/serial.c:234:18: style: Variable 'pv' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/serial.c:257:18: style: Variable 'pv' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/serial.c:287:18: style: Variable 'pv' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/serial.c:302:10: style: Variable 'src' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/tls_none.c:38:52: style: Parameter 'pem_callback' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/tls_none.c:47:36: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/tls_none.c:51:35: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/tls_none.c:56:35: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/tls_none.c:60:34: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/tls_none.c:65:34: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/tls_none.c:69:39: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/tls_none.c:74:49: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/tls_none.c:79:42: style: Parameter 'tls_conn' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/tls_none.c:83:32: style: Parameter 'bsock' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/tree.c:368:58: error: Code '*& path' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/lib/unittests/base64_test.c:78:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/unittests/alist_test.c:108:11: warning: If memory allocation fails, then there is a possible null pointer dereference: fileset [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/alist_test.c:107:31: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/alist_test.c:107:14: note: Assignment 'fileset=(FILESET*)malloc(sizeof(FILESET))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/alist_test.c:108:11: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/alist_test.c:109:4: warning: If memory allocation fails, then there is a possible null pointer dereference: fileset [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/alist_test.c:107:31: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/alist_test.c:107:14: note: Assignment 'fileset=(FILESET*)malloc(sizeof(FILESET))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/alist_test.c:109:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/alist_test.c:112:21: warning: If memory allocation fails, then there is a possible null pointer dereference: fileset [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/alist_test.c:107:31: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/alist_test.c:107:14: note: Assignment 'fileset=(FILESET*)malloc(sizeof(FILESET))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/alist_test.c:112:21: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/alist_test.c:113:40: warning: If memory allocation fails, then there is a possible null pointer dereference: fileset [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/alist_test.c:107:31: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/alist_test.c:107:14: note: Assignment 'fileset=(FILESET*)malloc(sizeof(FILESET))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/alist_test.c:113:40: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/alist_test.c:115:4: warning: If memory allocation fails, then there is a possible null pointer dereference: fileset [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/alist_test.c:107:31: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/alist_test.c:107:14: note: Assignment 'fileset=(FILESET*)malloc(sizeof(FILESET))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/alist_test.c:115:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/base64_test.c:169:8: style: Variable 'len' is reassigned a value before the old one has been used. [redundantAssignment] bareos-Release-16.2.6/src/lib/unittests/base64_test.c:165:8: note: len is assigned bareos-Release-16.2.6/src/lib/unittests/base64_test.c:169:8: note: len is overwritten bareos-Release-16.2.6/src/lib/unittests/base64_test.c:65:10: style: Variable 'fname' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/unittests/base64_test.c:68:20: style: Variable 'debug_level' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/lib/unittests/base64_test.c:71:13: style: Variable 't' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/lib/unittests/base64_test.c:148:8: style: Variable 'xx' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/lib/unittests/base64_test.c:68:8: style: Variable 'debug_level' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/lib/unittests/base64_test.c:69:10: style: Unused variable: p [unusedVariable] bareos-Release-16.2.6/src/lib/unittests/base64_test.c:71:11: style: Variable 't' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/lib/unittests/base64_test.c:148:5: style: Variable 'xx' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:186:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dlist [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/unittests/bsnprintf_test.c:147:13: style: Variable 'fail' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/lib/unittests/bsnprintf_test.c:148:12: style: Variable 'num' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/lib/unittests/bsnprintf_test.c:147:8: style: Variable 'fail' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/lib/unittests/bsnprintf_test.c:148:8: style: Variable 'num' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/lib/unittests/edit_test.c:47:10: style: Variable 'str' can be declared as const array [constVariable] bareos-Release-16.2.6/src/lib/unittests/edit_test.c:151:14: style: Variable 'fail' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/lib/unittests/edit_test.c:151:9: style: Variable 'fail' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/lib/unittests/htable_test.c:66:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable htable [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/unittests/htable_test.c:69:4: warning: If memory allocation fails, then there is a possible null pointer dereference: jcrtbl [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/htable_test.c:66:29: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/htable_test.c:66:13: note: Assignment 'jcrtbl=(htable*)malloc(sizeof(htable))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/htable_test.c:69:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/htable_test.c:78:26: warning: If memory allocation fails, then there is a possible null pointer dereference: jcrtbl [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/htable_test.c:66:29: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/htable_test.c:66:13: note: Assignment 'jcrtbl=(htable*)malloc(sizeof(htable))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/htable_test.c:78:26: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/htable_test.c:79:26: warning: If memory allocation fails, then there is a possible null pointer dereference: jcrtbl [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/htable_test.c:66:29: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/htable_test.c:66:13: note: Assignment 'jcrtbl=(htable*)malloc(sizeof(htable))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/htable_test.c:79:26: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/htable_test.c:86:7: warning: If memory allocation fails, then there is a possible null pointer dereference: jcrtbl [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/htable_test.c:66:29: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/htable_test.c:66:13: note: Assignment 'jcrtbl=(htable*)malloc(sizeof(htable))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/htable_test.c:86:7: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/htable_test.c:91:41: warning: If memory allocation fails, then there is a possible null pointer dereference: jcrtbl [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/htable_test.c:66:29: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/htable_test.c:66:13: note: Assignment 'jcrtbl=(htable*)malloc(sizeof(htable))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/htable_test.c:91:41: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/htable_test.c:91:56: warning: Possible null pointer dereference: save_jcr [nullPointer] bareos-Release-16.2.6/src/lib/unittests/htable_test.c:62:26: note: Assignment 'save_jcr=NULL', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/htable_test.c:87:13: note: Assuming condition is false bareos-Release-16.2.6/src/lib/unittests/htable_test.c:91:56: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/htable_test.c:96:4: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: jcrtbl [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/htable_test.c:66:29: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/htable_test.c:66:13: note: Assignment 'jcrtbl=(htable*)malloc(sizeof(htable))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/htable_test.c:96:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/htable_test.c:62:33: style: Variable 'item' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/unittests/htable_test.c:110:15: style: Variable 'jcr1' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/unittests/htable_test.c:110:22: style: Variable 'jcr2' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/unittests/htable_test.c:69:4: error: Memory is allocated but not initialized: jcrtbl [uninitdata] bareos-Release-16.2.6/src/lib/unittests/ini_test.c:79:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable new [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/unittests/ini_test.c:122:9: style: Redundant initialization for 'list'. The initialized value is overwritten before it is read. [redundantInitialization] bareos-Release-16.2.6/src/lib/unittests/ini_test.c:113:16: note: list is initialized bareos-Release-16.2.6/src/lib/unittests/ini_test.c:122:9: note: list is overwritten bareos-Release-16.2.6/src/lib/unittests/ini_test.c:200:11: style: Unused variable: buf [unusedVariable] bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:82:27: warning:inconclusive: Possible null pointer dereference: val [nullPointer] bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:73:21: note: Assignment 'val=NULL', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:82:27: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:98:7: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:94:32: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:94:13: note: Assignment 'jcr=(LIST_ITEM*)malloc(sizeof(MYJCR))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:98:7: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:187:4: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr_chain [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:186:31: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:186:16: note: Assignment 'jcr_chain=(dlist*)malloc(sizeof(dlist))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:187:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:192:7: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:191:28: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:191:13: note: Assignment 'jcr=(MYJCR*)malloc(sizeof(MYJCR))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:192:7: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:193:7: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr_chain [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:186:31: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:186:16: note: Assignment 'jcr_chain=(dlist*)malloc(sizeof(dlist))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:193:7: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:199:24: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr_chain [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:186:31: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:186:16: note: Assignment 'jcr_chain=(dlist*)malloc(sizeof(dlist))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:199:24: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:202:4: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr1 [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:201:26: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:201:11: note: Assignment 'jcr1=(MYJCR*)malloc(sizeof(MYJCR))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:202:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:202:16: warning:inconclusive: Possible null pointer dereference: save_jcr [nullPointer] bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:181:22: note: Assignment 'save_jcr=NULL', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:194:13: note: Assuming condition is false bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:202:16: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:203:4: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr_chain [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:186:31: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:186:16: note: Assignment 'jcr_chain=(dlist*)malloc(sizeof(dlist))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:203:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:205:4: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr_chain [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:186:31: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:186:16: note: Assignment 'jcr_chain=(dlist*)malloc(sizeof(dlist))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:205:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:213:4: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: jcr_chain [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:186:31: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:186:16: note: Assignment 'jcr_chain=(dlist*)malloc(sizeof(dlist))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:213:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:224:7: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:223:28: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:223:13: note: Assignment 'jcr=(MYJCR*)malloc(sizeof(MYJCR))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:224:7: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:234:4: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:233:25: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:233:10: note: Assignment 'jcr=(MYJCR*)malloc(sizeof(MYJCR))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:234:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:241:36: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:233:25: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:233:10: note: Assignment 'jcr=(MYJCR*)malloc(sizeof(MYJCR))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:241:36: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:243:12: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:233:25: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:233:10: note: Assignment 'jcr=(MYJCR*)malloc(sizeof(MYJCR))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:243:12: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:259:13: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:258:34: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:258:19: note: Assignment 'jcr=(MYJCR*)malloc(sizeof(MYJCR))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:259:13: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:273:4: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:271:25: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:271:10: note: Assignment 'jcr=(MYJCR*)malloc(sizeof(MYJCR))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:273:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:275:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:271:25: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:271:10: note: Assignment 'jcr=(MYJCR*)malloc(sizeof(MYJCR))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:275:9: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:277:4: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:271:25: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:271:10: note: Assignment 'jcr=(MYJCR*)malloc(sizeof(MYJCR))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:277:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:279:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:271:25: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:271:10: note: Assignment 'jcr=(MYJCR*)malloc(sizeof(MYJCR))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:279:9: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:239:9: style: Variable 'index' is reassigned a value before the old one has been used. [redundantAssignment] bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:210:12: note: index is assigned bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:239:9: note: index is overwritten bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:60:11: style: Variable 'jcr1' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:60:18: style: Variable 'jcr2' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:187:4: error: Memory is allocated but not initialized: jcr_chain [uninitdata] bareos-Release-16.2.6/src/lib/unittests/dlist_test.c:293:11: style: Unused variable: jcr_chain [unusedVariable] bareos-Release-16.2.6/src/lib/unittests/scan_test.c:58:34: error: There is an unknown macro here somewhere. Configuration is required. If lld is a macro then please configure it. [unknownMacro] bareos-Release-16.2.6/src/lib/lex.c:188:42: warning: Either the condition 'lf==NULL' is redundant or there is possible null pointer dereference: lf. [nullPointerRedundantCheck] bareos-Release-16.2.6/src/lib/lex.c:185:11: note: Assuming that condition 'lf==NULL' is not redundant bareos-Release-16.2.6/src/lib/lex.c:188:42: note: Null pointer dereference bareos-Release-16.2.6/src/lib/lex.c:190:9: warning: Either the condition 'lf==NULL' is redundant or there is possible null pointer dereference: lf. [nullPointerRedundantCheck] bareos-Release-16.2.6/src/lib/lex.c:185:11: note: Assuming that condition 'lf==NULL' is not redundant bareos-Release-16.2.6/src/lib/lex.c:190:9: note: Null pointer dereference bareos-Release-16.2.6/src/lib/lex.c:191:8: warning: Either the condition 'lf==NULL' is redundant or there is possible null pointer dereference: lf. [nullPointerRedundantCheck] bareos-Release-16.2.6/src/lib/lex.c:185:11: note: Assuming that condition 'lf==NULL' is not redundant bareos-Release-16.2.6/src/lib/lex.c:191:8: note: Null pointer dereference bareos-Release-16.2.6/src/lib/lex.c:292:10: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] bareos-Release-16.2.6/src/lib/unittests/rblist_test.c:79:20: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/rblist_test.c:78:38: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/rblist_test.c:78:19: note: Assignment 'jcr=(RBLISTJCR*)malloc(sizeof(RBLISTJCR))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/rblist_test.c:79:20: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/rblist_test.c:80:13: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/rblist_test.c:78:38: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/rblist_test.c:78:19: note: Assignment 'jcr=(RBLISTJCR*)malloc(sizeof(RBLISTJCR))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/rblist_test.c:80:13: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/rblist_test.c:98:11: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/rblist_test.c:97:29: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/rblist_test.c:97:10: note: Assignment 'jcr=(RBLISTJCR*)malloc(sizeof(RBLISTJCR))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/rblist_test.c:98:11: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/rblist_test.c:100:4: warning: If memory allocation fails, then there is a possible null pointer dereference: jcr [nullPointerOutOfMemory] bareos-Release-16.2.6/src/lib/unittests/rblist_test.c:97:29: note: Assuming allocation function fails bareos-Release-16.2.6/src/lib/unittests/rblist_test.c:97:10: note: Assignment 'jcr=(RBLISTJCR*)malloc(sizeof(RBLISTJCR))', assigned value is 0 bareos-Release-16.2.6/src/lib/unittests/rblist_test.c:100:4: note: Null pointer dereference bareos-Release-16.2.6/src/lib/unittests/rblist_test.c:48:15: style: Variable 'jcr1' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/unittests/rblist_test.c:48:22: style: Variable 'jcr2' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/unittests/rblist_test.c:146:11: style: Unused variable: jcr_chain [unusedVariable] bareos-Release-16.2.6/src/lib/unittests/tree_test.c:43:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/unittests/tree_test.c:86:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/watchdog.c:278:7: portability: Omitted return type of function 'foreach_dlist' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] bareos-Release-16.2.6/src/lib/util.c:38:30: error: Code 'POOL_MEM& snew' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/lib/watchdog.c:164:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable watchdog_t [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/watchdog.c:142:11: style: Local variable 'wd_queue' shadows outer variable [shadowVariable] bareos-Release-16.2.6/src/lib/watchdog.c:52:15: note: Shadowed declaration bareos-Release-16.2.6/src/lib/watchdog.c:142:11: note: Shadow variable bareos-Release-16.2.6/src/lib/watchdog.c:154:11: style: Local variable 'wd_inactive' shadows outer variable [shadowVariable] bareos-Release-16.2.6/src/lib/watchdog.c:53:15: note: Shadowed declaration bareos-Release-16.2.6/src/lib/watchdog.c:154:11: note: Shadow variable bareos-Release-16.2.6/src/lib/unittests/tree_test.c:112:15: style: Variable 'type' is reassigned a value before the old one has been used. [redundantAssignment] bareos-Release-16.2.6/src/lib/unittests/tree_test.c:110:12: note: type is assigned bareos-Release-16.2.6/src/lib/unittests/tree_test.c:112:15: note: type is overwritten bareos-Release-16.2.6/src/lib/unittests/tree_test.c:81:15: style: Variable 'newparent' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/watchdog.c:143:13: style: Variable 'wd_queue' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/lib/watchdog.c:155:16: style: Variable 'wd_inactive' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/lib/unittests/tree_test.c:81:15: style: Variable 'newparent' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/lib/unittests/tree_test.c:89:8: style: Unused variable: i [unusedVariable] bareos-Release-16.2.6/src/lib/workq.c:68:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_CREATE_DETACHED [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/workq.c:101:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WORKQ_VALID [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/workq.c:150:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WORKQ_VALID [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/workq.c:223:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WORKQ_VALID [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lmdb/mdb.c:234:0: error: #error "Unknown or unsupported endianness (BYTE_ORDER)" [preprocessorErrorDirective] bareos-Release-16.2.6/src/lmdb/mdb.c:234:3: error: #error "Unknown or unsupported endianness (BYTE_ORDER)" [preprocessorErrorDirective] bareos-Release-16.2.6/src/lmdb/midl.c:136:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lmdb/midl.c:149:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lmdb/midl.c:162:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lmdb/midl.c:176:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lmdb/midl.c:190:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/ndmp/ndma_comm_dispatch.c:628:5: error: There is an unknown macro here somewhere. Configuration is required. If NDMS_ENDWITH is a macro then please configure it. [unknownMacro] bareos-Release-16.2.6/src/lmdb/midl.c:134:2: error: Common realloc mistake: 'idn' nulled but not freed upon failure [memleakOnRealloc] bareos-Release-16.2.6/src/lmdb/midl.c:33:35: style: Parameter 'ids' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lmdb/midl.c:170:49: style: Parameter 'app' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lmdb/midl.c:200:44: style: Parameter 'merge' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lmdb/midl.c:315:46: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lmdb/midl.c:346:46: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/var.c:872:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rm_so [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/var.c:1036:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/ndmp/ndmagents.h:263:2: error: There is an unknown macro here somewhere. Configuration is required. If NDM_FLAG_DECL is a macro then please configure it. [unknownMacro] bareos-Release-16.2.6/src/ndmp/md5c.c:279:8: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/md5c.c:297:16: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndma_ctrl_calls.c:64:2: error: There is an unknown macro here somewhere. Configuration is required. If NDMC_ENDWITH is a macro then please configure it. [unknownMacro] bareos-Release-16.2.6/src/ndmp/ndma_noti_calls.c:61:2: error: There is an unknown macro here somewhere. Configuration is required. If NDMC_ENDWITH is a macro then please configure it. [unknownMacro] bareos-Release-16.2.6/src/ndmp/ndmos.h:165:1: error: syntax error [syntaxError] bareos-Release-16.2.6/src/lib/bregex.c:1703:13: error: Memory leak: state.stack [memleak] bareos-Release-16.2.6/src/lib/bregex.c:1559:4: style: Variable 'state.level' is reassigned a value before the old one has been used. [redundantAssignment] bareos-Release-16.2.6/src/lib/bregex.c:1559:4: note: state.level is assigned bareos-Release-16.2.6/src/lib/bregex.c:1559:4: note: state.level is overwritten bareos-Release-16.2.6/src/lib/bregex.c:1632:10: style: Variable 'item' is reassigned a value before the old one has been used. [redundantAssignment] bareos-Release-16.2.6/src/lib/bregex.c:1632:10: note: item is assigned bareos-Release-16.2.6/src/lib/bregex.c:1632:10: note: item is overwritten bareos-Release-16.2.6/src/lib/bregex.c:1638:10: style: Variable 'item' is reassigned a value before the old one has been used. [redundantAssignment] bareos-Release-16.2.6/src/lib/bregex.c:1638:10: note: item is assigned bareos-Release-16.2.6/src/lib/bregex.c:1638:10: note: item is overwritten bareos-Release-16.2.6/src/lib/bregex.c:702:35: style:inconclusive: Function 'b_re_compile_fastmap' argument 1 names different: declaration 'compiled' definition 'bufp'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/lib/bregex.h:176:34: note: Function 'b_re_compile_fastmap' argument 1 names different: declaration 'compiled' definition 'bufp'. bareos-Release-16.2.6/src/lib/bregex.c:702:35: note: Function 'b_re_compile_fastmap' argument 1 names different: declaration 'compiled' definition 'bufp'. bareos-Release-16.2.6/src/lib/bregex.c:1061:42: style:inconclusive: Function 'b_re_compile_pattern' argument 1 names different: declaration 'compiled' definition 'bufp'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/lib/bregex.h:150:41: note: Function 'b_re_compile_pattern' argument 1 names different: declaration 'compiled' definition 'bufp'. bareos-Release-16.2.6/src/lib/bregex.c:1061:42: note: Function 'b_re_compile_pattern' argument 1 names different: declaration 'compiled' definition 'bufp'. bareos-Release-16.2.6/src/lib/bregex.c:1453:23: style:inconclusive: Function 'b_regcomp' argument 1 names different: declaration 'preg' definition 'bufp'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/lib/bregex.h:182:22: note: Function 'b_regcomp' argument 1 names different: declaration 'preg' definition 'bufp'. bareos-Release-16.2.6/src/lib/bregex.c:1453:23: note: Function 'b_regcomp' argument 1 names different: declaration 'preg' definition 'bufp'. bareos-Release-16.2.6/src/lib/bregex.c:1530:24: style:inconclusive: Function 'b_re_match' argument 1 names different: declaration 'compiled' definition 'bufp'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/lib/bregex.h:159:23: note: Function 'b_re_match' argument 1 names different: declaration 'compiled' definition 'bufp'. bareos-Release-16.2.6/src/lib/bregex.c:1530:24: note: Function 'b_re_match' argument 1 names different: declaration 'compiled' definition 'bufp'. bareos-Release-16.2.6/src/lib/bregex.c:1926:25: style:inconclusive: Function 'b_re_search' argument 1 names different: declaration 'compiled' definition 'bufp'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/lib/bregex.h:166:24: note: Function 'b_re_search' argument 1 names different: declaration 'compiled' definition 'bufp'. bareos-Release-16.2.6/src/lib/bregex.c:1926:25: note: Function 'b_re_search' argument 1 names different: declaration 'compiled' definition 'bufp'. bareos-Release-16.2.6/src/lib/bregex.c:1926:46: style:inconclusive: Function 'b_re_search' argument 2 names different: declaration 'string' definition 'str'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/lib/bregex.h:166:49: note: Function 'b_re_search' argument 2 names different: declaration 'string' definition 'str'. bareos-Release-16.2.6/src/lib/bregex.c:1926:46: note: Function 'b_re_search' argument 2 names different: declaration 'string' definition 'str'. bareos-Release-16.2.6/src/lib/bregex.c:1926:65: style:inconclusive: Function 'b_re_search' argument 4 names different: declaration 'startpos' definition 'pos'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/lib/bregex.h:166:71: note: Function 'b_re_search' argument 4 names different: declaration 'startpos' definition 'pos'. bareos-Release-16.2.6/src/lib/bregex.c:1926:65: note: Function 'b_re_search' argument 4 names different: declaration 'startpos' definition 'pos'. bareos-Release-16.2.6/src/lib/bregex.c:749:19: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/bregex.c:1061:63: style: Parameter 'regex' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/bregex.c:1076:19: style: Variable 'translate' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/bregex.c:1534:19: style: Variable 'translate' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/bregex.c:1536:19: style: Variable 'textstart' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/bregex.c:1537:19: style: Variable 'textend' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/bregex.c:1544:19: style: Variable 'regend' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/bregex.c:1722:25: style: Variable 'pinst' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/bregex.c:1929:19: style: Variable 'fastmap' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/bregex.c:1930:19: style: Variable 'translate' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/bregex.c:1932:19: style: Variable 'partstart' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/bregex.c:1933:19: style: Variable 'partend' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/bregex.c:102:6: style: union member 'item_t::cntr' is never used. [unusedStructMember] bareos-Release-16.2.6/src/lib/bregex.c:99:11: style: struct member 'Anonymous2::num' is never used. [unusedStructMember] bareos-Release-16.2.6/src/lib/bregex.c:100:11: style: struct member 'Anonymous2::level' is never used. [unusedStructMember] bareos-Release-16.2.6/src/lib/bregex.c:101:11: style: struct member 'Anonymous2::count' is never used. [unusedStructMember] bareos-Release-16.2.6/src/lib/bregex.c:629:14: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:138:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ndm_auth_callbacks [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:132:30: style: Parameter 'callbacks' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:72:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ndmp9_config_info [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:227:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:234:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:284:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NDMP9_DEV_NOT_OPEN_ERR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:290:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NDMP9_NOT_SUPPORTED_ERR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:296:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NDMP9_NOT_SUPPORTED_ERR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:303:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NDMP9_NOT_SUPPORTED_ERR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:310:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NDMP9_NOT_SUPPORTED_ERR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:317:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NDMP9_NOT_SUPPORTED_ERR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:325:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NDMP9_NOT_SUPPORTED_ERR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:365:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NDMP9_DEV_NOT_OPEN_ERR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:371:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NDMP9_NOT_SUPPORTED_ERR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:377:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NDMP9_NOT_SUPPORTED_ERR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:384:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NDMP9_NOT_SUPPORTED_ERR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:391:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NDMP9_NOT_SUPPORTED_ERR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:398:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NDMP9_NOT_SUPPORTED_ERR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:406:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NDMP9_NOT_SUPPORTED_ERR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/ndmp/ndmos_freebsd.c:97:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NDMP9_NO_ERR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/ndmp/ndmos_freebsd.c:117:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NDMP9_DEVICE_OPENED_ERR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/ndmp/ndmos_freebsd.c:151:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NDMP9_DEV_NOT_OPEN_ERR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/ndmp/ndmos_freebsd.c:166:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NDMP9_NOT_SUPPORTED_ERR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/ndmp/ndmos_freebsd.c:172:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NDMP9_NOT_SUPPORTED_ERR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/ndmp/ndmos_freebsd.c:179:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NDMP9_NOT_SUPPORTED_ERR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/ndmp/ndmos_freebsd.c:198:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NDMP9_IO_ERR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:209:52: style: Parameter 'sess' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:218:53: style: Parameter 'sess' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:274:44: style: Parameter 'sess' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:280:44: style: Parameter 'sess' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:288:38: style: Parameter 'sess' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:288:50: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:294:39: style: Parameter 'sess' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:300:39: style: Parameter 'sess' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:300:51: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:301:30: style: Parameter 'done_count' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:307:38: style: Parameter 'sess' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:307:50: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:308:30: style: Parameter 'done_count' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:314:38: style: Parameter 'sess' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:315:30: style: Parameter 'done_count' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:321:45: style: Parameter 'sess' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:322:30: style: Parameter 'request' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:323:28: style: Parameter 'reply' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:357:44: style: Parameter 'sess' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:369:38: style: Parameter 'sess' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:369:50: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:375:39: style: Parameter 'sess' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:382:44: style: Parameter 'sess' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:389:46: style: Parameter 'sess' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:396:43: style: Parameter 'sess' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:402:45: style: Parameter 'sess' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:403:30: style: Parameter 'request' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:404:28: style: Parameter 'reply' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:442:45: style: Parameter 'sess' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:443:23: style: Parameter 'xa' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_common.c:443:43: style: Parameter 'ref_conn' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_freebsd.c:240:2: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] bareos-Release-16.2.6/src/ndmp/ndmos_freebsd.c:277:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] bareos-Release-16.2.6/src/ndmp/ndmos_freebsd.c:90:44: style: Parameter 'sess' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_freebsd.c:93:23: style: Variable 'camdev' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/ndmp/ndmos_freebsd.c:164:44: style: Parameter 'sess' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_freebsd.c:170:46: style: Parameter 'sess' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_freebsd.c:177:43: style: Parameter 'sess' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_freebsd.c:183:45: style: Parameter 'sess' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/ndmp/ndmos_freebsd.c:315:16: style: Variable 'data_in_ptr' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/plugins/dird/python-dir.c:34:0: error: #error "Need at least Python version 2.6 or newer" [preprocessorErrorDirective] bareos-Release-16.2.6/src/plugins/dird/python-dir.c:34:2: error: #error "Need at least Python version 2.6 or newer" [preprocessorErrorDirective] bareos-Release-16.2.6/src/plugins/dird/example-plugin-dir.c:94:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/dird/example-plugin-dir.c:103:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/dird/example-plugin-dir.c:113:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bDirVarJobId [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/dird/example-plugin-dir.c:125:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bDirVarJobId [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/dird/example-plugin-dir.c:133:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/dird/example-plugin-dir.c:139:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/dird/example-plugin-dir.c:152:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bDirVarJob [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/dird/example-plugin-dir.c:130:38: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'getPluginValue' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/dird/example-plugin-dir.c:66:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/dird/example-plugin-dir.c:130:38: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/dird/example-plugin-dir.c:130:67: style: Parameter 'value' can be declared as pointer to const. However it seems that 'getPluginValue' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/dird/example-plugin-dir.c:66:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/dird/example-plugin-dir.c:130:67: note: Parameter 'value' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/dird/example-plugin-dir.c:136:38: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'setPluginValue' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/dird/example-plugin-dir.c:67:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/dird/example-plugin-dir.c:136:38: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/dird/example-plugin-dir.c:136:67: style: Parameter 'value' can be declared as pointer to const. However it seems that 'setPluginValue' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/dird/example-plugin-dir.c:67:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/dird/example-plugin-dir.c:136:67: note: Parameter 'value' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/dird/example-plugin-dir.c:142:57: style: Parameter 'event' can be declared as pointer to const. However it seems that 'handlePluginEvent' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/dird/example-plugin-dir.c:68:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/dird/example-plugin-dir.c:142:57: note: Parameter 'event' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:103:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:113:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:130:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bVarJobId [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:154:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bVarJobId [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:166:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:176:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:228:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bVarFDName [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:242:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:250:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:275:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:280:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:285:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:297:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:305:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:310:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:315:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:320:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:325:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:333:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:202:7: warning: %c in format string (no. 1) requires 'unsigned int' but the argument type is 'signed long'. [invalidPrintfArgType_uint] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:202:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:205:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:163:38: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'getPluginValue' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:67:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:163:38: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:163:64: style: Parameter 'value' can be declared as pointer to const. However it seems that 'getPluginValue' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:67:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:163:64: note: Parameter 'value' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:173:38: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'setPluginValue' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:68:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:173:38: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:173:64: style: Parameter 'value' can be declared as pointer to const. However it seems that 'setPluginValue' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:68:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:173:64: note: Parameter 'value' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:184:54: style: Parameter 'event' can be declared as pointer to const. However it seems that 'handlePluginEvent' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:69:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:184:54: note: Parameter 'event' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:240:39: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'startBackupFile' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:70:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:240:39: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:240:61: style: Parameter 'sp' can be declared as pointer to const. However it seems that 'startBackupFile' is a callback function, if 'sp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:70:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:240:61: note: Parameter 'sp' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:248:37: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'endBackupFile' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:71:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:248:37: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:278:40: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'startRestoreFile' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:72:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:278:40: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:283:38: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'endRestoreFile' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:73:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:283:38: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:295:34: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'createFile' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:75:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:295:34: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:295:59: style: Parameter 'rp' can be declared as pointer to const. However it seems that 'createFile' is a callback function, if 'rp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:75:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:295:59: note: Parameter 'rp' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:303:41: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'setFileAttributes' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:76:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:303:41: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:303:66: style: Parameter 'rp' can be declared as pointer to const. However it seems that 'setFileAttributes' is a callback function, if 'rp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:76:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:303:66: note: Parameter 'rp' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:308:30: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'getAcl' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:78:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:308:30: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:308:44: style: Parameter 'ap' can be declared as pointer to const. However it seems that 'getAcl' is a callback function, if 'ap' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:78:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:308:44: note: Parameter 'ap' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:313:30: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'setAcl' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:79:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:313:30: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:313:44: style: Parameter 'ap' can be declared as pointer to const. However it seems that 'setAcl' is a callback function, if 'ap' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:79:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:313:44: note: Parameter 'ap' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:318:32: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'getXattr' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:80:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:318:32: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:318:48: style: Parameter 'xp' can be declared as pointer to const. However it seems that 'getXattr' is a callback function, if 'xp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:80:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:318:48: note: Parameter 'xp' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:323:32: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'setXattr' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:81:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:323:32: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:323:48: style: Parameter 'xp' can be declared as pointer to const. However it seems that 'setXattr' is a callback function, if 'xp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:81:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:323:48: note: Parameter 'xp' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:331:33: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'checkFile' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:77:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:331:33: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:331:44: style: Parameter 'fname' can be declared as pointer to const. However it seems that 'checkFile' is a callback function, if 'fname' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:77:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/example-plugin-fd.c:331:44: note: Parameter 'fname' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/python-fd.c:37:0: error: #error "Need at least Python version 2.6 or newer" [preprocessorErrorDirective] bareos-Release-16.2.6/src/plugins/filed/python-fd.c:37:2: error: #error "Need at least Python version 2.6 or newer" [preprocessorErrorDirective] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:168:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:176:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:195:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:220:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:249:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:257:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:265:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:325:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:356:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:366:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:457:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:472:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:496:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CF_EXTRACT [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:502:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:510:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:515:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:520:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:525:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:530:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:587:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_FATAL [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:683:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:884:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:195:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:203:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:222:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:277:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:327:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:335:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:347:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:432:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_ERROR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:587:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FO_MAX [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:747:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:825:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:947:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_ERROR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:982:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:1012:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:1030:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:1116:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:1136:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:1145:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:1159:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_FNAME [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:1235:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:1389:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:1439:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:1458:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ser_declare [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:1496:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_MESSAGE [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:1582:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unser_declare [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:1633:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_MESSAGE [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:1797:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/var.c:2316:34: style: Condition 'rc2>0' is always true [knownConditionTrueFalse] bareos-Release-16.2.6/src/lib/var.c:2314:34: note: Assuming that condition 'rc2==0' is not redundant bareos-Release-16.2.6/src/lib/var.c:2316:34: note: Condition 'rc2>0' is always true bareos-Release-16.2.6/src/lib/var.c:2402:13: style:inconclusive: Function 'var_create' argument 1 names different: declaration 'var' definition 'pvar'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/lib/var.h:130:34: note: Function 'var_create' argument 1 names different: declaration 'var' definition 'pvar'. bareos-Release-16.2.6/src/lib/var.c:2402:13: note: Function 'var_create' argument 1 names different: declaration 'var' definition 'pvar'. bareos-Release-16.2.6/src/lib/var.c:2504:17: style:inconclusive: Function 'var_unescape' argument 2 names different: declaration 'src_ptr' definition 'src'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/lib/var.h:133:51: note: Function 'var_unescape' argument 2 names different: declaration 'src_ptr' definition 'src'. bareos-Release-16.2.6/src/lib/var.c:2504:17: note: Function 'var_unescape' argument 2 names different: declaration 'src_ptr' definition 'src'. bareos-Release-16.2.6/src/lib/var.c:2504:26: style:inconclusive: Function 'var_unescape' argument 3 names different: declaration 'src_len' definition 'srclen'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/lib/var.h:133:64: note: Function 'var_unescape' argument 3 names different: declaration 'src_len' definition 'srclen'. bareos-Release-16.2.6/src/lib/var.c:2504:26: note: Function 'var_unescape' argument 3 names different: declaration 'src_len' definition 'srclen'. bareos-Release-16.2.6/src/lib/var.c:2505:11: style:inconclusive: Function 'var_unescape' argument 4 names different: declaration 'dst_ptr' definition 'dst'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/lib/var.h:133:80: note: Function 'var_unescape' argument 4 names different: declaration 'dst_ptr' definition 'dst'. bareos-Release-16.2.6/src/lib/var.c:2505:11: note: Function 'var_unescape' argument 4 names different: declaration 'dst_ptr' definition 'dst'. bareos-Release-16.2.6/src/lib/var.c:2505:20: style:inconclusive: Function 'var_unescape' argument 5 names different: declaration 'dst_len' definition 'dstlen'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/lib/var.h:133:93: note: Function 'var_unescape' argument 5 names different: declaration 'dst_len' definition 'dstlen'. bareos-Release-16.2.6/src/lib/var.c:2505:20: note: Function 'var_unescape' argument 5 names different: declaration 'dst_len' definition 'dstlen'. bareos-Release-16.2.6/src/lib/var.c:248:18: style: Parameter 'upper' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/var.c:281:17: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/var.c:290:17: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/var.c:393:37: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/var.c:583:12: style: Parameter 'var' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/var.c:583:30: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/var.c:602:12: style: Parameter 'var' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/var.c:602:30: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/var.c:621:12: style: Parameter 'var' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/var.c:621:30: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/var.c:643:12: style: Parameter 'var' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/var.c:643:30: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/var.c:812:17: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/var.c:841:17: style: Parameter 'orig' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/var.c:842:17: style: Parameter 'pmatch' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/var.c:955:17: style: Parameter 'flags' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/var.c:1836:12: style: Parameter 'var' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/var.c:1836:30: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/var.c:2208:12: style: Parameter 'var' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/var.c:2208:30: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/var.c:2444:27: style: Variable 's' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/lib/var.c:2503:12: style: Parameter 'var' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/var.c:2722:33: style: Parameter 'var' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/lib/var.c:1700:17: style: Variable 'ctx' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:202:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:210:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:229:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:260:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:322:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:330:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:342:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:426:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:478:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:523:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:589:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:759:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_ERROR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:812:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:904:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:923:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:987:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:1007:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:1016:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:1035:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:1113:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:1121:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:1126:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:1131:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:1142:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:1203:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/test-deltaseq-fd.c:95:1: error: Code 'classdelta_test{' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:566:11: style: Condition 'p=imsg' is always true [knownConditionTrueFalse] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:891:9: warning: Either the condition '!p_ctx' is redundant or there is possible null pointer dereference: p_ctx. [nullPointerRedundantCheck] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:887:8: note: Assuming that condition '!p_ctx' is not redundant bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:891:9: note: Null pointer dereference bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:320:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:328:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:247:38: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'getPluginValue' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:91:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:247:38: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:347:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:247:64: style: Parameter 'value' can be declared as pointer to const. However it seems that 'getPluginValue' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:91:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:247:64: note: Parameter 'value' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:391:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:255:38: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'setPluginValue' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:92:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:255:38: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:458:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:255:64: style: Parameter 'value' can be declared as pointer to const. However it seems that 'setPluginValue' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:92:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:255:64: note: Parameter 'value' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:466:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:323:23: style: Variable 'p_ctx' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:478:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:351:37: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'endBackupFile' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:95:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:351:37: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:566:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_ERROR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:470:23: style: Variable 'p_ctx' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:819:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FO_MAX [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:500:41: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'setFileAttributes' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:100:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:500:41: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:975:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:500:66: style: Parameter 'rp' can be declared as pointer to const. However it seems that 'setFileAttributes' is a callback function, if 'rp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:100:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:500:66: note: Parameter 'rp' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:1055:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:508:33: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'checkFile' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:101:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:508:33: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:1178:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_FNAME [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:508:44: style: Parameter 'fname' can be declared as pointer to const. However it seems that 'checkFile' is a callback function, if 'fname' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:101:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:508:44: note: Parameter 'fname' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:1448:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:513:30: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'getAcl' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:102:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:513:30: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:1512:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:513:44: style: Parameter 'ap' can be declared as pointer to const. However it seems that 'getAcl' is a callback function, if 'ap' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:102:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:513:44: note: Parameter 'ap' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:1607:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:518:30: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'setAcl' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:103:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:518:30: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:1625:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:518:44: style: Parameter 'ap' can be declared as pointer to const. However it seems that 'setAcl' is a callback function, if 'ap' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:103:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:518:44: note: Parameter 'ap' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:1713:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:523:32: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'getXattr' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:104:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:523:32: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:1733:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:523:48: style: Parameter 'xp' can be declared as pointer to const. However it seems that 'getXattr' is a callback function, if 'xp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:104:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:523:48: note: Parameter 'xp' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:1742:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:528:32: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'setXattr' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:105:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:528:32: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:1761:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:528:48: style: Parameter 'xp' can be declared as pointer to const. However it seems that 'setXattr' is a callback function, if 'xp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:105:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:528:48: note: Parameter 'xp' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:1915:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:885:16: style: Variable 'p_ctx' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:1967:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:1986:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ser_declare [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:2024:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_MESSAGE [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:2110:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unser_declare [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:2161:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_MESSAGE [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:2326:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/bpipe-fd.c:567:26: error: Uninitialized variable: p [legacyUninitvar] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:151:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:159:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:178:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:201:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:219:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:227:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:238:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:350:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:611:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:616:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:621:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:626:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:638:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:649:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:664:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:674:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:695:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CF_EXTRACT [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:702:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:708:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:620:16: warning: If memory allocation fails, then there is a possible null pointer dereference: new_entry [nullPointerOutOfMemory] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:618:60: note: Assuming allocation function fails bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:618:28: note: Assignment 'new_entry=(struct dir_stack_entry*)malloc(sizeof(struct dir_stack_entry))', assigned value is 0 bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:620:16: note: Null pointer dereference bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:423:34: style: Local variable 'entry' shadows outer variable [shadowVariable] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:410:19: note: Shadowed declaration bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:423:34: note: Shadow variable bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:648:29: style: Local variable 'be' shadows outer variable [shadowVariable] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:629:23: note: Shadowed declaration bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:648:29: note: Shadow variable bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:325:38: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'getPluginValue' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:101:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:325:38: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:325:64: style: Parameter 'value' can be declared as pointer to const. However it seems that 'getPluginValue' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:101:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:325:64: note: Parameter 'value' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:333:38: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'setPluginValue' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:102:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:333:38: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:333:64: style: Parameter 'value' can be declared as pointer to const. However it seems that 'setPluginValue' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:102:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:333:64: note: Parameter 'value' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:977:47: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:1007:48: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:1009:16: style: Variable 'p_ctx' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:1117:16: style: Variable 'p_ctx' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:1134:40: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'startRestoreFile' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:106:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:1134:40: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:1143:38: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'endRestoreFile' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:107:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:1143:38: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:1434:44: style: Parameter 'fname' can be declared as pointer to const. However it seems that 'checkFile' is a callback function, if 'fname' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:111:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:1434:44: note: Parameter 'fname' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/cephfs-fd.c:1436:16: style: Variable 'p_ctx' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/plugins/stored/autoxflate-sd.c:155:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/autoxflate-sd.c:163:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/autoxflate-sd.c:182:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bsdVarJobId [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/autoxflate-sd.c:219:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bsdVarJobId [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/autoxflate-sd.c:242:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/autoxflate-sd.c:252:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/autoxflate-sd.c:271:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/autoxflate-sd.c:292:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_INFO [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/autoxflate-sd.c:323:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/autoxflate-sd.c:423:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/autoxflate-sd.c:462:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/autoxflate-sd.c:502:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_NETWORK_BUFFER_SIZE [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/autoxflate-sd.c:592:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_NETWORK_BUFFER_SIZE [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/autoxflate-sd.c:621:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ser_declare [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/autoxflate-sd.c:846:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_FILE_DATA [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:320:38: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'getPluginValue' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:107:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:320:38: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:320:64: style: Parameter 'value' can be declared as pointer to const. However it seems that 'getPluginValue' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:107:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:320:64: note: Parameter 'value' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:328:38: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'setPluginValue' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:108:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:328:38: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:328:64: style: Parameter 'value' can be declared as pointer to const. However it seems that 'setPluginValue' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:108:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:328:64: note: Parameter 'value' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:475:16: style: Variable 'p_ctx' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:520:16: style: Variable 'p_ctx' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:806:47: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:899:48: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:901:16: style: Variable 'p_ctx' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:988:16: style: Variable 'p_ctx' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:1005:40: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'startRestoreFile' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:112:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:1005:40: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:1014:38: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'endRestoreFile' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:113:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:1014:38: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:1111:41: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'setFileAttributes' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:116:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:1111:41: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:1111:66: style: Parameter 'rp' can be declared as pointer to const. However it seems that 'setFileAttributes' is a callback function, if 'rp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:116:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:1111:66: note: Parameter 'rp' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:1119:33: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'checkFile' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:117:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:1119:33: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:1119:44: style: Parameter 'fname' can be declared as pointer to const. However it seems that 'checkFile' is a callback function, if 'fname' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:117:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:1119:44: note: Parameter 'fname' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:1124:30: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'getAcl' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:118:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:1124:30: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:1124:44: style: Parameter 'ap' can be declared as pointer to const. However it seems that 'getAcl' is a callback function, if 'ap' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:118:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:1124:44: note: Parameter 'ap' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:1129:30: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'setAcl' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:119:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:1129:30: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:1129:44: style: Parameter 'ap' can be declared as pointer to const. However it seems that 'setAcl' is a callback function, if 'ap' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:119:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/rados-fd.c:1129:44: note: Parameter 'ap' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/stored/example-plugin-sd.c:93:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/example-plugin-sd.c:102:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/example-plugin-sd.c:120:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bsdVarJobId [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/example-plugin-sd.c:135:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bsdVarJobId [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/example-plugin-sd.c:146:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/example-plugin-sd.c:155:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/example-plugin-sd.c:172:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bsdVarJobName [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/example-plugin-sd.c:143:38: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'getPluginValue' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/stored/example-plugin-sd.c:66:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/stored/example-plugin-sd.c:143:38: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/stored/example-plugin-sd.c:143:66: style: Parameter 'value' can be declared as pointer to const. However it seems that 'getPluginValue' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/stored/example-plugin-sd.c:66:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/stored/example-plugin-sd.c:143:66: note: Parameter 'value' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/stored/example-plugin-sd.c:152:38: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'setPluginValue' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/stored/example-plugin-sd.c:67:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/stored/example-plugin-sd.c:152:38: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/stored/example-plugin-sd.c:152:66: style: Parameter 'value' can be declared as pointer to const. However it seems that 'setPluginValue' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/stored/example-plugin-sd.c:67:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/stored/example-plugin-sd.c:152:66: note: Parameter 'value' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/stored/example-plugin-sd.c:161:56: style: Parameter 'event' can be declared as pointer to const. However it seems that 'handlePluginEvent' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/stored/example-plugin-sd.c:68:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/stored/example-plugin-sd.c:161:56: note: Parameter 'event' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/stored/example-plugin-sd.c:161:69: style: Parameter 'value' can be declared as pointer to const. However it seems that 'handlePluginEvent' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/stored/example-plugin-sd.c:68:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/stored/example-plugin-sd.c:161:69: note: Parameter 'value' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:367:22: style: The if condition is the same as the previous if condition [duplicateCondition] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:353:22: note: First condition bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:367:22: note: Second condition bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:217:38: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'getPluginValue' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:84:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:217:38: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:217:64: style: Parameter 'value' can be declared as pointer to const. However it seems that 'getPluginValue' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:84:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:217:64: note: Parameter 'value' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:225:38: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'setPluginValue' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:85:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:225:38: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:225:64: style: Parameter 'value' can be declared as pointer to const. However it seems that 'setPluginValue' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:85:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:225:64: note: Parameter 'value' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:609:30: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'getAcl' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:95:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:609:30: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:609:44: style: Parameter 'ap' can be declared as pointer to const. However it seems that 'getAcl' is a callback function, if 'ap' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:95:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:609:44: note: Parameter 'ap' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:614:30: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'setAcl' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:96:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:614:30: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:614:44: style: Parameter 'ap' can be declared as pointer to const. However it seems that 'setAcl' is a callback function, if 'ap' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:96:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:614:44: note: Parameter 'ap' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:619:32: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'getXattr' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:97:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:619:32: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:619:48: style: Parameter 'xp' can be declared as pointer to const. However it seems that 'getXattr' is a callback function, if 'xp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:97:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:619:48: note: Parameter 'xp' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:624:32: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'setXattr' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:98:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:624:32: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:624:48: style: Parameter 'xp' can be declared as pointer to const. However it seems that 'setXattr' is a callback function, if 'xp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:98:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:624:48: note: Parameter 'xp' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:632:37: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'endBackupFile' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:88:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:632:37: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:647:23: style: Variable 'p_ctx' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:661:40: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'startRestoreFile' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:89:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:661:40: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:671:38: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'endRestoreFile' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:90:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:671:38: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:699:41: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'setFileAttributes' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:93:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:699:41: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:699:66: style: Parameter 'rp' can be declared as pointer to const. However it seems that 'setFileAttributes' is a callback function, if 'rp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:93:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:699:66: note: Parameter 'rp' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:706:33: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'checkFile' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:94:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:706:33: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:706:44: style: Parameter 'fname' can be declared as pointer to const. However it seems that 'checkFile' is a callback function, if 'fname' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:94:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/test-plugin-fd.c:706:44: note: Parameter 'fname' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/stored/python-sd.c:34:0: error: #error "Need at least Python version 2.6 or newer" [preprocessorErrorDirective] bareos-Release-16.2.6/src/plugins/stored/python-sd.c:34:2: error: #error "Need at least Python version 2.6 or newer" [preprocessorErrorDirective] bareos-Release-16.2.6/src/plugins/stored/autoxflate-sd.c:227:8: style: Condition 'p_ctx' is always true [knownConditionTrueFalse] bareos-Release-16.2.6/src/plugins/stored/autoxflate-sd.c:586:55: style: Parameter 'dcr' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/plugins/stored/autoxflate-sd.c:442:22: style: Variable 'swap_record' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/plugins/stored/autoxflate-sd.c:481:22: style: Variable 'swap_record' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/plugins/stored/scsitapealert-sd.c:103:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/scsicrypto-sd.c:141:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/scsitapealert-sd.c:111:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/scsicrypto-sd.c:149:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/scsitapealert-sd.c:129:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bsdVarJobId [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/scsicrypto-sd.c:167:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bsdVarJobId [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/scsitapealert-sd.c:154:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bsdVarJobId [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/scsicrypto-sd.c:217:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bsdVarJobId [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/scsitapealert-sd.c:167:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/scsicrypto-sd.c:230:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/scsitapealert-sd.c:177:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/scsicrypto-sd.c:240:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/scsitapealert-sd.c:193:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/scsicrypto-sd.c:263:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/scsitapealert-sd.c:213:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/scsicrypto-sd.c:277:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NAME_LENGTH [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/scsicrypto-sd.c:312:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NAME_LENGTH [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/scsicrypto-sd.c:423:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/scsicrypto-sd.c:481:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/scsicrypto-sd.c:549:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/scsicrypto-sd.c:574:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bRC_Error [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/bat_conf.cpp:116:38: debug: Function::addArguments found argument 'sock' with varid 0. [varid0] bareos-Release-16.2.6/src/plugins/stored/scsitapealert-sd.c:205:12: style: Variable 'device' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/qt-console/bat_conf.cpp:146:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sendit [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/bat_conf.cpp:221:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/bcomm/dircomm.cpp:38:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_console [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/bcomm/dircomm.cpp:56:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_sock [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/bcomm/dircomm.cpp:83:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_sock [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/bcomm/dircomm.cpp:258:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_sock [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/bcomm/dircomm.cpp:271:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_sock [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/bcomm/dircomm.cpp:314:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_sock [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/bcomm/dircomm.cpp:489:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_notify [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/bcomm/dircomm.cpp:517:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_notify [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/bcomm/dircomm.cpp:531:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_notify [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/plugins/stored/scsicrypto-sd.c:310:12: style: Variable 'device' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/plugins/stored/scsicrypto-sd.c:412:9: style: Variable 'dcr' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/plugins/stored/scsicrypto-sd.c:414:12: style: Variable 'device' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/plugins/stored/scsicrypto-sd.c:471:9: style: Variable 'dcr' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/plugins/stored/scsicrypto-sd.c:473:12: style: Variable 'device' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/qt-console/bat_conf.cpp:271:8: style: Condition '!error' is always true [knownConditionTrueFalse] bareos-Release-16.2.6/src/qt-console/bat_conf.cpp:216:16: note: Assignment 'error=0', assigned value is 0 bareos-Release-16.2.6/src/qt-console/bat_conf.cpp:236:13: note: Assuming condition is false bareos-Release-16.2.6/src/qt-console/bat_conf.cpp:271:8: note: Condition '!error' is always true bareos-Release-16.2.6/src/qt-console/bat_conf.cpp:273:14: warning: If memory allocation fails, then there is a possible null pointer dereference: res [nullPointerOutOfMemory] bareos-Release-16.2.6/src/qt-console/bat_conf.cpp:272:27: note: Assuming allocation function fails bareos-Release-16.2.6/src/qt-console/bat_conf.cpp:272:13: note: Assignment 'res=(union URES*)malloc(resources[rindex].size)', assigned value is 0 bareos-Release-16.2.6/src/qt-console/bat_conf.cpp:273:14: note: Null pointer dereference bareos-Release-16.2.6/src/qt-console/bat_conf.cpp:168:11: style: C-style pointer casting [cstyleCast] bareos-Release-16.2.6/src/qt-console/bat_conf.cpp:272:13: style: C-style pointer casting [cstyleCast] bareos-Release-16.2.6/src/qt-console/bat_conf.cpp:305:17: style: C-style pointer casting [cstyleCast] bareos-Release-16.2.6/src/qt-console/bat_conf.cpp:119:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] bareos-Release-16.2.6/src/qt-console/bat_conf.cpp:160:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] bareos-Release-16.2.6/src/qt-console/bat_conf.cpp:275:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] bareos-Release-16.2.6/src/qt-console/bat_conf.cpp:289:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] bareos-Release-16.2.6/src/qt-console/bat_conf.cpp:213:10: style: The scope of the variable 'res' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/clients/clients.cpp:39:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_name [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/clients/clients.cpp:65:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_populated [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/clients/clients.cpp:180:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_populated [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/clients/clients.cpp:195:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_checkcurwidget [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/clients/clients.cpp:226:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ActionsContextMenu [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/clients/clients.cpp:253:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_currentlyselected [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/clients/clients.cpp:263:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_currentlyselected [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/clients/clients.cpp:272:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_populated [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/clients/clients.cpp:293:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_currentlyselected [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/clients/clients.cpp:308:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_currentlyselected [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/clients/clients.cpp:318:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pagehash [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/bcomm/dircomm.cpp:106:11: style: C-style pointer casting [cstyleCast] bareos-Release-16.2.6/src/qt-console/clients/clients.cpp:93:4: performance: Range variable 'clientName' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/clients/clients.cpp:117:10: performance: Range variable 'resultline' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/fileset/fileset.cpp:37:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_name [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/fileset/fileset.cpp:64:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tableWidget [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/fileset/fileset.cpp:172:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_populated [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/fileset/fileset.cpp:191:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_currentlyselected [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/fileset/fileset.cpp:215:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ActionsContextMenu [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/fileset/fileset.cpp:236:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_currentlyselected [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/fileset/fileset.cpp:245:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_populated [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/fileset/fileset.cpp:280:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_currentlyselected [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/help/help.cpp:38:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WA_DeleteOnClose [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/fileset/fileset.cpp:109:22: style: The scope of the variable 'fieldlist' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/fileset/fileset.cpp:84:4: performance: Range variable 'filesetName' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/fileset/fileset.cpp:112:10: performance: Range variable 'resultline' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/console/console.cpp:36:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_name [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/console/console.cpp:73:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_checkMessagesInterval [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/console/console.cpp:93:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_notify [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/console/console.cpp:121:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_dir [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/console/console.cpp:147:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_connDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/console/console.cpp:184:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_connDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/console/console.cpp:236:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_connDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/console/console.cpp:292:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_MESSAGE [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/console/console.cpp:381:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/console/console.cpp:424:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_connDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/console/console.cpp:612:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable End [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/console/console.cpp:623:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_commDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/console/console.cpp:639:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_commDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/console/console.cpp:659:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_commDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/console/console.cpp:684:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_commDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/console/console.cpp:805:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/console/console.cpp:866:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_connDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/console/console.cpp:891:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_connDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/console/console.cpp:906:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_connDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:43:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_name [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:105:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mp_tableWidget [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:233:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable client_list [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:289:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clientComboBox [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:399:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ActionsContextMenu [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:426:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_longList [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:433:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_longList [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:440:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_longList [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:455:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:473:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_commandDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:491:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:509:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_JOBIDLIST [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:517:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_JOBDATETIME [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:619:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable actionRefreshJobList [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/job/job.cpp:81:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/job/job.cpp:94:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/job/job.cpp:136:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_sqlDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/job/job.cpp:273:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_miscDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/job/job.cpp:409:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unchecked [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/job/job.cpp:421:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_sqlDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/joblog/joblog.cpp:71:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_sqlDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:148:19: style: The scope of the variable 'fieldlist' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:38:33: style:inconclusive: Function 'JobList' argument 1 names different: declaration 'medianame' definition 'mediaName'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/qt-console/joblist/joblist.h:37:27: note: Function 'JobList' argument 1 names different: declaration 'medianame' definition 'mediaName'. bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:38:33: note: Function 'JobList' argument 1 names different: declaration 'medianame' definition 'mediaName'. bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:38:59: style:inconclusive: Function 'JobList' argument 2 names different: declaration 'clientname' definition 'clientName'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/qt-console/joblist/joblist.h:37:53: note: Function 'JobList' argument 2 names different: declaration 'clientname' definition 'clientName'. bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:38:59: note: Function 'JobList' argument 2 names different: declaration 'clientname' definition 'clientName'. bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:39:26: style:inconclusive: Function 'JobList' argument 3 names different: declaration 'jobname' definition 'jobName'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/qt-console/joblist/joblist.h:38:27: note: Function 'JobList' argument 3 names different: declaration 'jobname' definition 'jobName'. bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:39:26: note: Function 'JobList' argument 3 names different: declaration 'jobname' definition 'jobName'. bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:39:50: style:inconclusive: Function 'JobList' argument 4 names different: declaration 'filesetname' definition 'filesetName'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/qt-console/joblist/joblist.h:38:51: note: Function 'JobList' argument 4 names different: declaration 'filesetname' definition 'filesetName'. bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:39:50: note: Function 'JobList' argument 4 names different: declaration 'filesetname' definition 'filesetName'. bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:310:4: performance: Range variable 'condition' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:495:4: performance: Range variable 'job' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:341:45: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:691:39: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:340:22: style: Variable 'sizeSum' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:341:45: style: Variable 'sizeSum' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:654:22: style: Variable 'purged' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/qt-console/joblist/joblist.cpp:654:15: style: Variable 'purged' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/qt-console/jobs/jobs.cpp:36:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_name [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/jobs/jobs.cpp:64:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_populated [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/jobs/jobs.cpp:132:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_populated [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/jobs/jobs.cpp:153:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_currentlyselected [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/jobs/jobs.cpp:180:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ActionsContextMenu [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/jobs/jobs.cpp:203:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_populated [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/jobs/jobs.cpp:216:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_currentlyselected [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/jobs/jobs.cpp:223:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_currentlyselected [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/jobs/jobs.cpp:230:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_currentlyselected [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/jobs/jobs.cpp:237:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_currentlyselected [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/jobs/jobs.cpp:243:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_currentlyselected [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/jobs/jobs.cpp:249:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_currentlyselected [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/jobs/jobs.cpp:256:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_currentlyselected [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/jobs/jobs.cpp:265:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_currentlyselected [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/console/console.h:98:9: style:inconclusive: Either there is a missing 'override', or the member function 'Console::is_messagesPending' can be const. [functionConst] bareos-Release-16.2.6/src/qt-console/console/console.h:66:4: style: Class 'Console' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bareos-Release-16.2.6/src/qt-console/console/console.cpp:317:11: style: Condition 'first' is always true [knownConditionTrueFalse] bareos-Release-16.2.6/src/qt-console/console/console.cpp:310:20: note: Assignment 'first=true', assigned value is 1 bareos-Release-16.2.6/src/qt-console/console/console.cpp:317:11: note: Condition 'first' is always true bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:1323:23: warning: Comparison of a boolean expression with an integer other than 0 or 1. [compareBoolExpressionWithInt] bareos-Release-16.2.6/src/qt-console/console/console.cpp:658:8: style: The scope of the variable 'stat' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/console/console.cpp:261:43: style:inconclusive: Function 'sql_cmd' argument 2 names different: declaration 'cmd' definition 'query'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/qt-console/console/console.h:86:37: note: Function 'sql_cmd' argument 2 names different: declaration 'cmd' definition 'query'. bareos-Release-16.2.6/src/qt-console/console/console.cpp:261:43: note: Function 'sql_cmd' argument 2 names different: declaration 'cmd' definition 'query'. bareos-Release-16.2.6/src/qt-console/console/console.cpp:266:32: style:inconclusive: Function 'sql_cmd' argument 1 names different: declaration 'cmd' definition 'query'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/qt-console/console/console.h:85:26: note: Function 'sql_cmd' argument 1 names different: declaration 'cmd' definition 'query'. bareos-Release-16.2.6/src/qt-console/console/console.cpp:266:32: note: Function 'sql_cmd' argument 1 names different: declaration 'cmd' definition 'query'. bareos-Release-16.2.6/src/qt-console/console/console.cpp:275:35: style:inconclusive: Function 'sql_cmd' argument 1 names different: declaration 'cmd' definition 'query'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/qt-console/console/console.h:84:29: note: Function 'sql_cmd' argument 1 names different: declaration 'cmd' definition 'query'. bareos-Release-16.2.6/src/qt-console/console/console.cpp:275:35: note: Function 'sql_cmd' argument 1 names different: declaration 'cmd' definition 'query'. bareos-Release-16.2.6/src/qt-console/console/console.cpp:288:46: style:inconclusive: Function 'sql_cmd' argument 2 names different: declaration 'cmd' definition 'query'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/qt-console/console/console.h:87:40: note: Function 'sql_cmd' argument 2 names different: declaration 'cmd' definition 'query'. bareos-Release-16.2.6/src/qt-console/console/console.cpp:288:46: note: Function 'sql_cmd' argument 2 names different: declaration 'cmd' definition 'query'. bareos-Release-16.2.6/src/qt-console/console/console.cpp:341:36: style:inconclusive: Function 'write_dir' argument 1 names different: declaration 'buf' definition 'msg'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/qt-console/console/console.h:88:30: note: Function 'write_dir' argument 1 names different: declaration 'buf' definition 'msg'. bareos-Release-16.2.6/src/qt-console/console/console.cpp:341:36: note: Function 'write_dir' argument 1 names different: declaration 'buf' definition 'msg'. bareos-Release-16.2.6/src/qt-console/console/console.cpp:350:36: style:inconclusive: Function 'write_dir' argument 1 names different: declaration 'buf' definition 'msg'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/qt-console/console/console.h:89:30: note: Function 'write_dir' argument 1 names different: declaration 'buf' definition 'msg'. bareos-Release-16.2.6/src/qt-console/console/console.cpp:350:36: note: Function 'write_dir' argument 1 names different: declaration 'buf' definition 'msg'. bareos-Release-16.2.6/src/qt-console/console/console.cpp:359:47: style:inconclusive: Function 'write_dir' argument 2 names different: declaration 'buf' definition 'msg'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/qt-console/console/console.h:90:41: note: Function 'write_dir' argument 2 names different: declaration 'buf' definition 'msg'. bareos-Release-16.2.6/src/qt-console/console/console.cpp:359:47: note: Function 'write_dir' argument 2 names different: declaration 'buf' definition 'msg'. bareos-Release-16.2.6/src/qt-console/console/console.cpp:367:47: style:inconclusive: Function 'write_dir' argument 2 names different: declaration 'buf' definition 'msg'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/qt-console/console/console.h:91:41: note: Function 'write_dir' argument 2 names different: declaration 'buf' definition 'msg'. bareos-Release-16.2.6/src/qt-console/console/console.cpp:367:47: note: Function 'write_dir' argument 2 names different: declaration 'buf' definition 'msg'. bareos-Release-16.2.6/src/qt-console/console/console.cpp:584:42: performance: Function parameter 'buf' should be passed by const reference. [passedByValue] bareos-Release-16.2.6/src/qt-console/console/console.cpp:601:42: performance: Function parameter 'buf' should be passed by const reference. [passedByValue] bareos-Release-16.2.6/src/qt-console/console/console.cpp:822:44: performance: Function parameter 'msg' should be passed by const reference. [passedByValue] bareos-Release-16.2.6/src/qt-console/console/console.cpp:261:43: style: Parameter 'query' can be declared as reference to const [constParameterReference] bareos-Release-16.2.6/src/qt-console/console/console.cpp:266:32: style: Parameter 'query' can be declared as reference to const [constParameterReference] bareos-Release-16.2.6/src/qt-console/console/console.cpp:845:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] bareos-Release-16.2.6/src/qt-console/jobs/jobs.cpp:155:20: style: Variable 'type' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/qt-console/jobs/jobs.cpp:155:15: style: Variable 'type' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:1323:26: style: Comparing expression of type 'bool' against value 47. Condition is always false. [compareValueOutOfTypeRangeError] bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:1323:23: style: Condition '!*bp=='/'' is always false [knownConditionTrueFalse] bareos-Release-16.2.6/src/qt-console/console/console.cpp:324:13: style: Variable 'first' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/qt-console/console/console.cpp:658:13: style: Variable 'stat' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:851:16: warning: If memory allocation fails, then there is a possible null pointer dereference: new_entry [nullPointerOutOfMemory] bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:849:60: note: Assuming allocation function fails bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:849:28: note: Assignment 'new_entry=(struct dir_stack_entry*)malloc(sizeof(struct dir_stack_entry))', assigned value is 0 bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:851:16: note: Null pointer dereference bareos-Release-16.2.6/src/qt-console/label/label.cpp:35:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_closeable [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/label/label.cpp:53:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_name [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/label/label.cpp:81:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/label/label.cpp:107:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_console [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/joblog/joblog.cpp:97:7: performance: Range variable 'resultline' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/joblog/joblog.cpp:31:25: style: Parameter 'jobId' can be declared as reference to const [constParameterReference] bareos-Release-16.2.6/src/qt-console/label/label.h:37:4: style: Class 'labelPage' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:557:37: style: Local variable 'entry' shadows outer variable [shadowVariable] bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:541:19: note: Shadowed declaration bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:557:37: note: Shadow variable bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:456:38: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'getPluginValue' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:100:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:456:38: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:456:64: style: Parameter 'value' can be declared as pointer to const. However it seems that 'getPluginValue' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:100:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:456:64: note: Parameter 'value' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:464:38: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'setPluginValue' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:101:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:464:38: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:464:64: style: Parameter 'value' can be declared as pointer to const. However it seems that 'setPluginValue' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:101:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:464:64: note: Parameter 'value' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:1504:47: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:1602:48: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:1604:16: style: Variable 'p_ctx' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:1714:16: style: Variable 'p_ctx' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:1731:40: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'startRestoreFile' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:105:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:1731:40: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:1740:38: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'endRestoreFile' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:106:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:1740:38: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:1962:44: style: Parameter 'fname' can be declared as pointer to const. However it seems that 'checkFile' is a callback function, if 'fname' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:110:4: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:1962:44: note: Parameter 'fname' can be declared as pointer to const bareos-Release-16.2.6/src/plugins/filed/gfapi-fd.c:1964:16: style: Variable 'p_ctx' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/qt-console/main.cpp:36:0: error: #error "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" [preprocessorErrorDirective] bareos-Release-16.2.6/src/qt-console/main.cpp:36:2: error: #error "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" [preprocessorErrorDirective] bareos-Release-16.2.6/src/qt-console/mediainfo/mediainfo.cpp:87:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/mediainfo/mediainfo.cpp:109:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/mediainfo/mediainfo.cpp:168:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_sqlDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/mediainfo/mediainfo.cpp:213:42: style: Obsolete function 'QString::toAscii' called. It is recommended to use 'QString::toLatin1' instead. [prohibitedtoAsciiCalled] bareos-Release-16.2.6/src/qt-console/mediainfo/mediainfo.cpp:152:11: style: The scope of the variable 'ttime' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/mediainfo/mediainfo.cpp:154:12: style: The scope of the variable 'stat' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/mediainfo/mediainfo.cpp:154:18: style: The scope of the variable 'LastWritten' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/mediainfo/mediainfo.cpp:155:9: style: The scope of the variable 'buf' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/mediainfo/mediainfo.cpp:174:19: style: The scope of the variable 'fieldlist' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/mediainfo/mediainfo.cpp:243:19: style: The scope of the variable 'fieldlist' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/mediainfo/mediainfo.cpp:36:62: style:inconclusive: Function 'MediaInfo' argument 2 names different: declaration 'mediaId' definition 'mediaName'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/qt-console/mediainfo/mediainfo.h:33:54: note: Function 'MediaInfo' argument 2 names different: declaration 'mediaId' definition 'mediaName'. bareos-Release-16.2.6/src/qt-console/mediainfo/mediainfo.cpp:36:62: note: Function 'MediaInfo' argument 2 names different: declaration 'mediaId' definition 'mediaName'. bareos-Release-16.2.6/src/qt-console/mediainfo/mediainfo.cpp:36:62: style: Parameter 'mediaName' can be declared as reference to const [constParameterReference] bareos-Release-16.2.6/src/qt-console/mediaedit/mediaedit.cpp:58:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pool_list [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/mediaedit/mediaedit.cpp:233:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unchecked [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/medialist/medialist.cpp:45:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_name [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/medialist/medialist.cpp:80:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mp_treeWidget [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/medialist/medialist.cpp:317:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserRole [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/medialist/medialist.cpp:344:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ActionsContextMenu [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/medialist/medialist.cpp:396:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/medialist/medialist.cpp:426:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/medialist/medialist.cpp:486:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_console [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/lib/sha1.c:101:7: style: Variable 'a' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/lib/sha1.c:101:11: style: Variable 'b' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/lib/sha1.c:101:15: style: Variable 'c' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/lib/sha1.c:101:19: style: Variable 'd' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/lib/sha1.c:101:23: style: Variable 'e' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/lib/sha1.c:162:7: style: Variable 'i' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/lib/sha1.c:162:11: style: Variable 'j' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:39:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_name [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:138:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:252:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:276:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pool_list [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:339:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_tableMedia [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/job/job.cpp:224:16: style: The scope of the variable 'lst' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/job/job.cpp:225:9: style: The scope of the variable 'parseit' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/job/job.cpp:247:12: style: The scope of the variable 'com' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/job/job.cpp:248:12: style: The scope of the variable 'empty' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/job/job.cpp:334:12: style: The scope of the variable 'stat' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/job/job.cpp:334:18: style: The scope of the variable 'err' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/job/job.cpp:346:27: style: The scope of the variable 'duration' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/job/job.cpp:347:19: style: The scope of the variable 'fieldlist' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/job/job.cpp:427:19: style: The scope of the variable 'fieldlist' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/mount/mount.cpp:37:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_console [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/mount/mount.cpp:50:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_storageName [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/job/job.cpp:161:7: performance: Range variable 'resultline' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/job/job.cpp:251:7: performance: Range variable 'mline' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/job/job.cpp:28:19: style: Parameter 'jobId' can be declared as reference to const [constParameterReference] bareos-Release-16.2.6/src/qt-console/mainwin.cpp:52:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/mainwin.cpp:57:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WaitCursor [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/mainwin.cpp:126:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tabWidget [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/mainwin.cpp:298:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WaitCursor [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/mainwin.cpp:487:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lightGray [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/mainwin.cpp:618:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/mainwin.cpp:795:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unchecked [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/mainwin.cpp:846:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Checked [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/mainwin.cpp:996:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable treeWidget [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/medialist/medialist.cpp:102:12: style: The scope of the variable 'query' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/medialist/medialist.cpp:144:11: style: The scope of the variable 'counter' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/medialist/medialist.cpp:108:4: performance: Range variable 'pool_listItem' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/qstd.cpp:17:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/qstd.cpp:33:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/qstd.cpp:55:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/qstd.cpp:67:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/qstd.cpp:90:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/medialist/medialist.cpp:148:27: style: Variable 'this_pool' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/qt-console/medialist/medialist.cpp:248:18: style: Variable 'counter' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/qt-console/qstd.cpp:31:9: style: The scope of the variable 'result' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/qstd.cpp:49:12: style: The scope of the variable 'result' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/qstd.cpp:15:24: style:inconclusive: Function 'yes' argument 1 names different: declaration 'yesNoQuestion' definition 'question'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/qt-console/qstd.h:39:22: note: Function 'yes' argument 1 names different: declaration 'yesNoQuestion' definition 'question'. bareos-Release-16.2.6/src/qt-console/qstd.cpp:15:24: note: Function 'yes' argument 1 names different: declaration 'yesNoQuestion' definition 'question'. bareos-Release-16.2.6/src/qt-console/qstd.cpp:24:25: style:inconclusive: Function 'more' argument 1 names different: declaration 'prompt' definition 's'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/qt-console/qstd.h:46:23: note: Function 'more' argument 1 names different: declaration 'prompt' definition 's'. bareos-Release-16.2.6/src/qt-console/qstd.cpp:24:25: note: Function 'more' argument 1 names different: declaration 'prompt' definition 's'. bareos-Release-16.2.6/src/qt-console/relabel/relabel.cpp:50:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MatchExactly [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/relabel/relabel.cpp:67:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_sqlDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/relabel/relabel.cpp:84:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:312:42: style: Obsolete function 'QString::toAscii' called. It is recommended to use 'QString::toLatin1' instead. [prohibitedtoAsciiCalled] bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:467:42: style: Obsolete function 'QString::toAscii' called. It is recommended to use 'QString::toLatin1' instead. [prohibitedtoAsciiCalled] bareos-Release-16.2.6/src/qt-console/relabel/relabel.cpp:39:4: performance: Variable 'm_fromVolume' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:95:11: warning: If memory allocation fails, then there is a possible null pointer dereference: tab [nullPointerOutOfMemory] bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:94:25: note: Assuming allocation function fails bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:94:10: note: Assignment 'tab=(bool*)malloc(nr_rows*sizeof(bool))', assigned value is 0 bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:95:11: note: Null pointer dereference bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:99:12: warning: If memory allocation fails, then there is a possible null pointer dereference: tab [nullPointerOutOfMemory] bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:94:25: note: Assuming allocation function fails bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:94:10: note: Assignment 'tab=(bool*)malloc(nr_rows*sizeof(bool))', assigned value is 0 bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:99:12: note: Null pointer dereference bareos-Release-16.2.6/src/qt-console/relabel/relabel.cpp:72:7: performance: Range variable 'resultline' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:94:10: style: C-style pointer casting [cstyleCast] bareos-Release-16.2.6/src/qt-console/relabel/relabel.cpp:61:12: style: Unused variable: job [unusedVariable] bareos-Release-16.2.6/src/qt-console/relabel/relabel.cpp:61:17: style: Unused variable: client [unusedVariable] bareos-Release-16.2.6/src/qt-console/relabel/relabel.cpp:61:25: style: Unused variable: fileset [unusedVariable] bareos-Release-16.2.6/src/qt-console/relabel/relabel.cpp:70:15: style: Unused variable: field [unusedVariable] bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:76:24: style: The scope of the variable 'row' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:118:12: style: The scope of the variable 'cmd' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:142:12: style: The scope of the variable 'scmd' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:161:12: style: The scope of the variable 'scmd' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:256:12: style: The scope of the variable 'scmd' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:298:24: style: The scope of the variable 'stat' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:298:30: style: The scope of the variable 'LastWritten' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:329:11: style: The scope of the variable 'ttime' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:330:12: style: The scope of the variable 'stat' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:334:9: style: The scope of the variable 'buf' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:335:10: style: The scope of the variable 'usage' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:74:43: style:inconclusive: Function 'getSelection' argument 1 names different: declaration 'ret' definition 'list'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/qt-console/medialist/mediaview.h:49:35: note: Function 'getSelection' argument 1 names different: declaration 'ret' definition 'list'. bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:74:43: note: Function 'getSelection' argument 1 names different: declaration 'ret' definition 'list'. bareos-Release-16.2.6/src/qt-console/pages.cpp:79:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Widget [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/pages.cpp:120:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Window [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/pages.cpp:339:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ActivationChange [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/pages.cpp:402:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable black [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:298:12: style: Unused variable: resultline [unusedVariable] bareos-Release-16.2.6/src/qt-console/medialist/mediaview.cpp:331:12: style: Unused variable: str_usage [unusedVariable] bareos-Release-16.2.6/src/qt-console/mainwin.h:56:9: style:inconclusive: Either there is a missing 'override', or the member function 'MainWin::getWaitState' can be const. [functionConst] bareos-Release-16.2.6/src/qt-console/mainwin.h:57:9: style:inconclusive: Either there is a missing 'override', or the member function 'MainWin::isClosing' can be const. [functionConst] bareos-Release-16.2.6/src/qt-console/pages.cpp:148:13: style:inconclusive: Either there is a missing 'override', or the member function 'Pages::isDocked' can be const. [functionConst] bareos-Release-16.2.6/src/qt-console/pages.h:57:9: note: Either there is a missing 'override', or the member function 'Pages::isDocked' can be const. bareos-Release-16.2.6/src/qt-console/pages.cpp:148:13: note: Either there is a missing 'override', or the member function 'Pages::isDocked' can be const. bareos-Release-16.2.6/src/qt-console/pages.cpp:158:13: style:inconclusive: Either there is a missing 'override', or the member function 'Pages::isOnceDocked' can be const. [functionConst] bareos-Release-16.2.6/src/qt-console/pages.h:58:9: note: Either there is a missing 'override', or the member function 'Pages::isOnceDocked' can be const. bareos-Release-16.2.6/src/qt-console/pages.cpp:158:13: note: Either there is a missing 'override', or the member function 'Pages::isOnceDocked' can be const. bareos-Release-16.2.6/src/qt-console/pages.cpp:167:13: style:inconclusive: Either there is a missing 'override', or the member function 'Pages::isCloseable' can be const. [functionConst] bareos-Release-16.2.6/src/qt-console/pages.h:59:9: note: Either there is a missing 'override', or the member function 'Pages::isCloseable' can be const. bareos-Release-16.2.6/src/qt-console/pages.cpp:167:13: note: Either there is a missing 'override', or the member function 'Pages::isCloseable' can be const. bareos-Release-16.2.6/src/qt-console/mainwin.h:44:4: style: Class 'MainWin' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bareos-Release-16.2.6/src/qt-console/pages.cpp:301:9: style: The scope of the variable 'donotify' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/pages.cpp:423:19: style: The scope of the variable 'fieldlist' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/pages.cpp:442:19: style: The scope of the variable 'fieldlist' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/pages.cpp:273:12: style: Local variable 'name' shadows outer function [shadowFunction] bareos-Release-16.2.6/src/qt-console/pages.h:71:13: note: Shadowed declaration bareos-Release-16.2.6/src/qt-console/pages.cpp:273:12: note: Shadow variable bareos-Release-16.2.6/src/qt-console/console/console.h:104:36: performance: Function parameter 'buf' should be passed by const reference. [passedByValue] bareos-Release-16.2.6/src/qt-console/console/console.h:106:36: performance: Function parameter 'buf' should be passed by const reference. [passedByValue] bareos-Release-16.2.6/src/qt-console/pages.cpp:425:7: performance: Range variable 'resultline' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/pages.cpp:444:7: performance: Range variable 'resultline' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/pages.cpp:317:37: style: Parameter 'command' can be declared as reference to const [constParameterReference] bareos-Release-16.2.6/src/qt-console/pages.cpp:422:15: style: Unused variable: field [unusedVariable] bareos-Release-16.2.6/src/qt-console/pages.cpp:441:15: style: Unused variable: field [unusedVariable] bareos-Release-16.2.6/src/qt-console/restore/prerestore.cpp:52:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_name [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/prerestore.cpp:142:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Checked [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/prerestore.cpp:207:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MatchExactly [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/prerestore.cpp:220:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unchecked [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/prerestore.cpp:242:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_sqlDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/prerestore.cpp:272:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/prerestore.cpp:353:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_miscDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/prerestore.cpp:386:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_miscDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:34:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_name [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:104:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserRole [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:150:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FileList [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:293:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FileRevisions [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:357:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserRole [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:394:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable client_list [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:418:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LeftButton [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:430:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LeftButton [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:511:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserRole [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:521:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Checked [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:548:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Checked [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:597:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserRole [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:626:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TableMedia [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:684:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Checked [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:751:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_miscDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/restore.cpp:40:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_name [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/restore.cpp:98:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_FNAME [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/restore.cpp:190:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_miscDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/restore.cpp:315:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserRole [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/restore.cpp:434:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_NAME [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/restore.cpp:469:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/restore.cpp:473:30: error: Returning object that will be invalid when returning. [returnDanglingLifetime] bareos-Release-16.2.6/src/qt-console/restore/restore.cpp:473:30: note: Pointer to container is created here. bareos-Release-16.2.6/src/qt-console/restore/restore.cpp:473:30: note: Returning object that will be invalid when returning. bareos-Release-16.2.6/src/qt-console/restore/restore.h:40:4: style: Class 'bRestoreTable' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bareos-Release-16.2.6/src/qt-console/restore/restore.h:102:4: style: Class 'restorePage' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bareos-Release-16.2.6/src/qt-console/restore/prerestore.cpp:280:11: warning: Return value of function job.toInt() is not used. [ignoredReturnValue] bareos-Release-16.2.6/src/qt-console/restore/restore.h:170:4: style: Class 'bRunRestore' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bareos-Release-16.2.6/src/qt-console/restore/prerestore.cpp:34:4: performance: Variable 'm_dataIn' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] bareos-Release-16.2.6/src/qt-console/restore/prerestore.cpp:42:4: performance: Variable 'm_dataIn' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] bareos-Release-16.2.6/src/qt-console/restore/restore.cpp:188:9: style: The scope of the variable 'ok' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/restore/restore.cpp:311:9: style: The scope of the variable 'cmd' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/restore/restore.cpp:339:24: style: Local variable 'item' shadows outer argument [shadowArgument] bareos-Release-16.2.6/src/qt-console/restore/restore.cpp:309:54: note: Shadowed declaration bareos-Release-16.2.6/src/qt-console/restore/restore.cpp:339:24: note: Shadow variable bareos-Release-16.2.6/src/qt-console/restore/restore.cpp:184:41: style: Parameter 'newdirr' can be declared as reference to const [constParameterReference] bareos-Release-16.2.6/src/qt-console/restore/prerestore.cpp:248:7: performance: Range variable 'resultline' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/restore/prerestore.cpp:32:41: style: Parameter 'data' can be declared as reference to const [constParameterReference] bareos-Release-16.2.6/src/qt-console/restore/prerestore.cpp:232:69: style: Parameter 'jobId' can be declared as reference to const [constParameterReference] bareos-Release-16.2.6/src/qt-console/restore/prerestore.cpp:234:12: style: Unused variable: job [unusedVariable] bareos-Release-16.2.6/src/qt-console/restore/prerestore.cpp:234:17: style: Unused variable: client [unusedVariable] bareos-Release-16.2.6/src/qt-console/restore/prerestore.cpp:234:25: style: Unused variable: fileset [unusedVariable] bareos-Release-16.2.6/src/qt-console/restore/prerestore.cpp:245:15: style: Unused variable: field [unusedVariable] bareos-Release-16.2.6/src/qt-console/run/estimate.cpp:38:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_name [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/run/estimate.cpp:72:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Checked [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/run/estimate.cpp:110:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MatchExactly [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/run/run.h:41:4: style: Class 'runPage' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bareos-Release-16.2.6/src/qt-console/run/run.h:65:4: style: Class 'runCmdPage' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bareos-Release-16.2.6/src/qt-console/run/prune.cpp:38:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_name [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/run/prune.cpp:104:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_commandDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/run/prune.cpp:50:19: style: The scope of the variable 'fieldlist' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/run/prune.cpp:52:7: performance: Range variable 'resultline' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/run/prune.cpp:49:15: style: Unused variable: field [unusedVariable] bareos-Release-16.2.6/src/qt-console/run/run.cpp:40:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_dockOnFirstUse [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/run/run.cpp:53:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_dockOnFirstUse [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/run/run.cpp:80:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_name [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/run/run.cpp:129:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_dtformat [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/run/run.cpp:173:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MatchExactly [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/run/runcmd.cpp:42:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_name [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/run/runcmd.cpp:67:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable client_list [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/run/runcmd.cpp:142:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_dtformat [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/run/runcmd.cpp:79:10: warning: Return value of function rx.indexIn() is not used. [ignoredReturnValue] bareos-Release-16.2.6/src/qt-console/select/select.cpp:46:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WA_DeleteOnClose [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/select/select.cpp:103:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WA_DeleteOnClose [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:78:12: style: The scope of the variable 'job' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:156:24: style: The scope of the variable 'FileName' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:199:8: style: The scope of the variable 'minCnt' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:290:8: style: The scope of the variable 'row' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:306:16: style: The scope of the variable 'fieldlist' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:489:8: style: The scope of the variable 'col' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:640:8: style: The scope of the variable 'row' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:643:19: style: The scope of the variable 'fieldlist' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:591:53: style:inconclusive: Function 'get_info_from_selection' argument 4 names different: declaration 'fileindexes' definition 'findexes'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/qt-console/restore/restore.h:140:67: note: Function 'get_info_from_selection' argument 4 names different: declaration 'fileindexes' definition 'findexes'. bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:591:53: note: Function 'get_info_from_selection' argument 4 names different: declaration 'fileindexes' definition 'findexes'. bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:83:7: performance: Range variable 'resultline' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:141:53: performance: Function parameter 'path' should be passed by const reference. [passedByValue] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:203:7: performance: Range variable 'resultline' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:217:7: performance: Range variable 'resultline' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:248:7: performance: Range variable 'resultline' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:287:43: performance: Function parameter 'pathid' should be passed by const reference. [passedByValue] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:287:59: performance: Function parameter 'fnid' should be passed by const reference. [passedByValue] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:288:43: performance: Function parameter 'client' should be passed by const reference. [passedByValue] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:288:59: performance: Function parameter 'filename' should be passed by const reference. [passedByValue] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:314:7: performance: Range variable 'resultline' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:646:7: performance: Range variable 'resultline' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:662:41: performance: Function parameter 'tablename' should be passed by const reference. [passedByValue] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:729:7: performance: Range variable 'resultline' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:450:37: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] bareos-Release-16.2.6/src/qt-console/select/textinput.cpp:42:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WA_DeleteOnClose [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/brestore.cpp:307:12: style: Unused variable: tmp [unusedVariable] bareos-Release-16.2.6/src/qt-console/select/select.cpp:39:21: style: The scope of the variable 'item' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:58:4: style: Class 'Freeze' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bareos-Release-16.2.6/src/qt-console/joblist/joblist.h:40:17: style: The function 'PgSeltreeWidgetClicked' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/pages.h:60:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/joblist/joblist.h:40:17: note: Function in derived class bareos-Release-16.2.6/src/qt-console/joblist/joblist.h:41:17: style: The function 'currentStackItem' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/pages.h:61:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/joblist/joblist.h:41:17: note: Function in derived class bareos-Release-16.2.6/src/qt-console/joblist/joblist.h:46:17: style: The function 'treeWidgetName' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/pages.h:90:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/joblist/joblist.h:46:17: note: Function in derived class bareos-Release-16.2.6/src/qt-console/storage/storage.h:40:17: style: The function 'PgSeltreeWidgetClicked' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/pages.h:60:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/storage/storage.h:40:17: note: Function in derived class bareos-Release-16.2.6/src/qt-console/storage/storage.h:41:17: style: The function 'currentStackItem' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/pages.h:61:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/storage/storage.h:41:17: note: Function in derived class bareos-Release-16.2.6/src/qt-console/fileset/fileset.h:38:17: style: The function 'PgSeltreeWidgetClicked' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/pages.h:60:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/fileset/fileset.h:38:17: note: Function in derived class bareos-Release-16.2.6/src/qt-console/fileset/fileset.h:39:17: style: The function 'currentStackItem' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/pages.h:61:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/fileset/fileset.h:39:17: note: Function in derived class bareos-Release-16.2.6/src/qt-console/restore/restore.h:136:9: style: The function 'PgSeltreeWidgetClicked' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/pages.h:60:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/restore/restore.h:136:9: note: Function in derived class bareos-Release-16.2.6/src/qt-console/medialist/medialist.h:41:17: style: The function 'PgSeltreeWidgetClicked' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/pages.h:60:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/medialist/medialist.h:41:17: note: Function in derived class bareos-Release-16.2.6/src/qt-console/medialist/medialist.h:42:17: style: The function 'currentStackItem' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/pages.h:61:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/medialist/medialist.h:42:17: note: Function in derived class bareos-Release-16.2.6/src/qt-console/clients/clients.h:38:17: style: The function 'PgSeltreeWidgetClicked' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/pages.h:60:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/clients/clients.h:38:17: note: Function in derived class bareos-Release-16.2.6/src/qt-console/clients/clients.h:39:17: style: The function 'currentStackItem' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/pages.h:61:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/clients/clients.h:39:17: note: Function in derived class bareos-Release-16.2.6/src/qt-console/restore/restoretree.h:43:17: style: The function 'PgSeltreeWidgetClicked' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/pages.h:60:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/restore/restoretree.h:43:17: note: Function in derived class bareos-Release-16.2.6/src/qt-console/restore/restoretree.h:44:17: style: The function 'currentStackItem' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/pages.h:61:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/restore/restoretree.h:44:17: note: Function in derived class bareos-Release-16.2.6/src/qt-console/jobs/jobs.h:38:17: style: The function 'PgSeltreeWidgetClicked' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/pages.h:60:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/jobs/jobs.h:38:17: note: Function in derived class bareos-Release-16.2.6/src/qt-console/jobs/jobs.h:39:17: style: The function 'currentStackItem' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/pages.h:61:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/jobs/jobs.h:39:17: note: Function in derived class bareos-Release-16.2.6/src/qt-console/medialist/mediaview.h:40:9: style: The function 'PgSeltreeWidgetClicked' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/pages.h:60:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/medialist/mediaview.h:40:9: note: Function in derived class bareos-Release-16.2.6/src/qt-console/medialist/mediaview.h:41:9: style: The function 'currentStackItem' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/pages.h:61:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/medialist/mediaview.h:41:9: note: Function in derived class bareos-Release-16.2.6/src/qt-console/status/dirstat.h:38:17: style: The function 'PgSeltreeWidgetClicked' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/pages.h:60:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/status/dirstat.h:38:17: note: Function in derived class bareos-Release-16.2.6/src/qt-console/status/dirstat.h:39:17: style: The function 'currentStackItem' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/pages.h:61:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/status/dirstat.h:39:17: note: Function in derived class bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:164:17: style: The function 'setText' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:135:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:164:17: note: Function in derived class bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:165:17: style: The function 'setTextAlignment' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:136:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:165:17: note: Function in derived class bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:166:17: style: The function 'setBackground' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:137:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:166:17: note: Function in derived class bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:167:17: style: The function 'setSortValue' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:142:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:167:17: note: Function in derived class bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:168:17: style: The function 'setPixmap' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:138:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:168:17: note: Function in derived class bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:208:17: style: The function 'setText' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:135:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:208:17: note: Function in derived class bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:209:17: style: The function 'setTextAlignment' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:136:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:209:17: note: Function in derived class bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:210:17: style: The function 'setBackground' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:137:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:210:17: note: Function in derived class bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:211:17: style: The function 'setSortValue' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:142:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:211:17: note: Function in derived class bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:212:17: style: The function 'setPixmap' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:138:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:212:17: note: Function in derived class bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:213:17: style: The function 'setPixmap' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:139:17: note: Virtual function in base class bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:213:17: note: Function in derived class bareos-Release-16.2.6/src/qt-console/mainwin.cpp:143:11: style: Condition '!m_firstItem' is always true [knownConditionTrueFalse] bareos-Release-16.2.6/src/qt-console/mainwin.cpp:120:18: note: Assignment 'm_firstItem=NULL', assigned value is 0 bareos-Release-16.2.6/src/qt-console/mainwin.cpp:143:11: note: Condition '!m_firstItem' is always true bareos-Release-16.2.6/src/qt-console/mainwin.cpp:658:18: style: C-style pointer casting [cstyleCast] bareos-Release-16.2.6/src/qt-console/mainwin.cpp:690:18: style: C-style pointer casting [cstyleCast] bareos-Release-16.2.6/src/qt-console/mainwin.cpp:761:13: style: C-style pointer casting [cstyleCast] bareos-Release-16.2.6/src/qt-console/mainwin.cpp:94:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] bareos-Release-16.2.6/src/qt-console/mainwin.cpp:119:28: style: The scope of the variable 'topItem' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/mainwin.cpp:580:8: style: The scope of the variable 'conn' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/status/clientstat.cpp:98:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Checked [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/status/clientstat.cpp:121:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_commandDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/status/clientstat.cpp:140:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_commandDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/status/clientstat.cpp:197:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_commandDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/status/clientstat.cpp:245:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ActionsContextMenu [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/status/clientstat.cpp:278:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Checked [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/mainwin.cpp:127:35: error: Uninitialized variables: dir.DIRport, dir.address [uninitvar] bareos-Release-16.2.6/src/qt-console/status/storstat.cpp:114:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Checked [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/status/storstat.cpp:128:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_commandDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/status/storstat.cpp:144:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_commandDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/status/storstat.cpp:160:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_commandDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/status/storstat.cpp:176:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_commandDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/status/storstat.cpp:192:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_commandDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/status/storstat.cpp:208:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_commandDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/status/storstat.cpp:227:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_commandDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/status/storstat.cpp:315:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ActionsContextMenu [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/status/storstat.cpp:349:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Checked [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/status/storstat.cpp:388:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_sqlDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/status/dirstat.cpp:38:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_name [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/status/dirstat.cpp:97:110: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Checked [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/status/dirstat.cpp:111:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_commandDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/status/dirstat.cpp:130:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_commandDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/status/dirstat.cpp:187:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_commandDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/status/dirstat.cpp:235:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_commandDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/status/dirstat.cpp:312:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ActionsContextMenu [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/status/dirstat.cpp:346:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Checked [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/status/clientstat.cpp:39:4: performance: Variable 'm_client' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] bareos-Release-16.2.6/src/qt-console/status/clientstat.cpp:231:8: style: The statement 'if (!m_populated) m_populated=true' is logically equivalent to 'm_populated=true'. [duplicateConditionalAssign] bareos-Release-16.2.6/src/qt-console/status/clientstat.cpp:232:18: note: Assignment 'm_populated=true' bareos-Release-16.2.6/src/qt-console/status/clientstat.cpp:231:8: note: Condition '!m_populated' is redundant bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:35:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_name [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:111:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable client_list [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:122:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_rtPopDirDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:196:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_rtPopDirDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:295:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Checked [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:341:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unchecked [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:383:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MatchExactly [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:419:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable black [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:502:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserRole [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:641:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable black [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:761:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Checked [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:790:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserRole [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:895:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserRole [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1006:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_sqlDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1073:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yellow [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1117:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserRole [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1161:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserRole [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1231:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Checked [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1300:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_rtIconStateDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1402:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_rtIconStateDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1446:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_rtRestore1Debug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1681:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_sqlDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1711:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_sqlDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/status/clientstat.cpp:161:7: performance: Range variable 'line' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/status/clientstat.cpp:36:33: style: Parameter 'client' can be declared as reference to const [constParameterReference] bareos-Release-16.2.6/src/qt-console/status/storstat.cpp:54:4: performance: Variable 'm_storage' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] bareos-Release-16.2.6/src/qt-console/status/storstat.cpp:298:8: style: The statement 'if (!m_populated) m_populated=true' is logically equivalent to 'm_populated=true'. [duplicateConditionalAssign] bareos-Release-16.2.6/src/qt-console/status/storstat.cpp:299:18: note: Assignment 'm_populated=true' bareos-Release-16.2.6/src/qt-console/status/storstat.cpp:298:8: note: Condition '!m_populated' is redundant bareos-Release-16.2.6/src/qt-console/status/clientstat.cpp:165:28: style: Variable 'statusCode' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/qt-console/status/storstat.cpp:396:22: style: The scope of the variable 'fieldlist' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/status/storstat.cpp:248:7: performance: Range variable 'line' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/status/storstat.cpp:51:29: style: Parameter 'storage' can be declared as reference to const [constParameterReference] bareos-Release-16.2.6/src/qt-console/status/storstat.cpp:252:28: style: Variable 'statusCode' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/qt-console/status/dirstat.cpp:296:8: style: The statement 'if (!m_populated) m_populated=true' is logically equivalent to 'm_populated=true'. [duplicateConditionalAssign] bareos-Release-16.2.6/src/qt-console/status/dirstat.cpp:297:18: note: Assignment 'm_populated=true' bareos-Release-16.2.6/src/qt-console/status/dirstat.cpp:296:8: note: Condition '!m_populated' is redundant bareos-Release-16.2.6/src/qt-console/status/dirstat.cpp:151:7: performance: Range variable 'line' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/status/dirstat.cpp:208:7: performance: Range variable 'line' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/status/dirstat.cpp:252:7: performance: Range variable 'line' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/status/dirstat.cpp:371:4: performance: Range variable 'job' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/status/dirstat.cpp:155:28: style: Variable 'statusCode' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/qt-console/status/dirstat.cpp:196:25: style: Variable 'flaglist' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/qt-console/status/dirstat.cpp:212:28: style: Variable 'statusCode' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/qt-console/status/dirstat.cpp:196:16: style: Variable 'flaglist' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/qt-console/status/dirstat.cpp:256:28: style: Variable 'statusCode' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:246:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tableContent [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:309:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tableDrive [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:383:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tableDrive [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:427:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tableTray [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:457:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tableContent [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:491:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tableTray [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:558:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tableTray [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:624:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pagehash [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:647:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tableContent [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:682:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tableDrive [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:731:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tableContent [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/storage/storage.cpp:52:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_closeable [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/storage/storage.cpp:77:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mp_treeWidget [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/storage/storage.cpp:180:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_sqlDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/storage/storage.cpp:249:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserRole [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/storage/storage.cpp:310:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ActionsContextMenu [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/storage/storage.cpp:403:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_console [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/storage/storage.cpp:484:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pagehash [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/storage/storage.cpp:524:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_sqlDebug [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/testprogs/examp/mainwindow.cpp:49:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Start [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/testprogs/examp/mainwindow.cpp:96:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Accepted [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/testprogs/examp/mainwindow.cpp:112:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/testprogs/examp/mainwindow.cpp:167:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MoveAnchor [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/testprogs/examp/mainwindow.cpp:261:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LeftDockWidgetArea [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/util/comboutil.cpp:41:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MatchExactly [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/util/comboutil.cpp:79:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_FULL [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/testprogs/examp/mainwindow.cpp:138:18: style: Local variable 'customerList' shadows outer variable [shadowVariable] bareos-Release-16.2.6/src/qt-console/testprogs/examp/mainwindow.h:58:19: note: Shadowed declaration bareos-Release-16.2.6/src/qt-console/testprogs/examp/mainwindow.cpp:138:18: note: Shadow variable bareos-Release-16.2.6/src/qt-console/storage/storage.cpp:186:19: style: The scope of the variable 'fieldlist' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/storage/storage.cpp:128:10: performance: Range variable 'resultline' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/storage/storage.cpp:185:15: style: Unused variable: field [unusedVariable] bareos-Release-16.2.6/src/qt-tray-monitor/authenticate.cpp:140:22: error: There is an unknown macro here somewhere. Configuration is required. If MANUAL_AUTH_URL is a macro then please configure it. [unknownMacro] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:885:15: performance:inconclusive: Either there is a missing 'override', or the member function 'Content::treeItemChanged' can be static. [functionStatic] bareos-Release-16.2.6/src/qt-console/storage/content.h:38:9: note: Either there is a missing 'override', or the member function 'Content::treeItemChanged' can be static. bareos-Release-16.2.6/src/qt-console/storage/content.cpp:885:15: note: Either there is a missing 'override', or the member function 'Content::treeItemChanged' can be static. bareos-Release-16.2.6/src/qt-console/storage/content.cpp:170:32: style: Condition 'start_range!=-1' is always true [knownConditionTrueFalse] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:123:11: warning: If memory allocation fails, then there is a possible null pointer dereference: sel_rows [nullPointerOutOfMemory] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:122:29: note: Assuming allocation function fails bareos-Release-16.2.6/src/qt-console/storage/content.cpp:122:15: note: Assignment 'sel_rows=(bool*)malloc(size*sizeof(bool))', assigned value is 0 bareos-Release-16.2.6/src/qt-console/storage/content.cpp:123:11: note: Null pointer dereference bareos-Release-16.2.6/src/qt-console/storage/content.cpp:129:7: warning: If memory allocation fails, then there is a possible null pointer dereference: sel_rows [nullPointerOutOfMemory] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:122:29: note: Assuming allocation function fails bareos-Release-16.2.6/src/qt-console/storage/content.cpp:122:15: note: Assignment 'sel_rows=(bool*)malloc(size*sizeof(bool))', assigned value is 0 bareos-Release-16.2.6/src/qt-console/storage/content.cpp:128:4: note: Assuming container is not empty bareos-Release-16.2.6/src/qt-console/storage/content.cpp:129:7: note: Null pointer dereference bareos-Release-16.2.6/src/qt-console/storage/content.cpp:122:15: style: C-style pointer casting [cstyleCast] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:243:8: style: The scope of the variable 'drive_cnt' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:244:17: style: The scope of the variable 'drive_sel' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:298:8: style: The scope of the variable 'drive_cnt' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:298:19: style: The scope of the variable 'sel_cnt' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:299:12: style: The scope of the variable 'sel' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:299:17: style: The scope of the variable 'drive_sel' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:299:28: style: The scope of the variable 'cmd' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:373:8: style: The scope of the variable 'drive_cnt' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:374:12: style: The scope of the variable 'drive_sel' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:483:12: style: The scope of the variable 'srcslots' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:483:22: style: The scope of the variable 'dstslots' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:550:12: style: The scope of the variable 'srcslots' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:550:22: style: The scope of the variable 'dstslots' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:672:8: style: The scope of the variable 'drive_cnt' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/storage/content.cpp:673:12: style: The scope of the variable 'drive_sel' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.cpp:238:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AlignCenter [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.cpp:248:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AlignCenter [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.cpp:255:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AlignRight [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.cpp:357:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable green [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.cpp:377:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CaseSensitive [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.cpp:422:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserRole [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.cpp:469:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ULongLong [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.cpp:497:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AlignCenter [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.cpp:507:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AlignCenter [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-tray-monitor/mainwindow.cpp:118:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-tray-monitor/mainwindow.cpp:141:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Trigger [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-tray-monitor/monitoritemthread.cpp:114:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_ERROR_TERM [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-tray-monitor/systemtrayicon.h:35:4: style: Class 'SystemTrayIcon' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bareos-Release-16.2.6/src/qt-tray-monitor/monitoritem.h:78:4: style: Class 'MonitorItem' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bareos-Release-16.2.6/src/qt-tray-monitor/monitortab.h:7:4: style: Class 'MonitorTab' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bareos-Release-16.2.6/src/qt-tray-monitor/monitortab.h:30:20: style: Class 'MonitorTab' is unsafe, 'MonitorTab::textEdit' can leak by wrong usage. [unsafeClassCanLeak] bareos-Release-16.2.6/src/qt-tray-monitor/mainwindow.cpp:167:39: performance: Function parameter 'tabRef' should be passed by const reference. [passedByValue] bareos-Release-16.2.6/src/qt-tray-monitor/mainwindow.cpp:104:19: style: Variable 'tab' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/qt-tray-monitor/mainwindow.cpp:153:16: style: Variable 'tab' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/qt-tray-monitor/mainwindow.cpp:185:16: style: Variable 'tab' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.cpp:52:36: style: Obsolete function 'QString::toAscii' called. It is recommended to use 'QString::toLatin1' instead. [prohibitedtoAsciiCalled] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.cpp:415:1: warning: Class 'TreeItemFormatter' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.cpp:415:1: warning: Class 'TreeItemFormatter' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] bareos-Release-16.2.6/src/qt-tray-monitor/monitoritemthread.cpp:39:4: performance: Variable 'threadId' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] bareos-Release-16.2.6/src/qt-tray-monitor/monitoritemthread.cpp:73:31: style:inconclusive: Either there is a missing 'override', or the member function 'MonitorItemThread::getThreadId' can be const. [functionConst] bareos-Release-16.2.6/src/qt-tray-monitor/monitoritemthread.h:41:15: note: Either there is a missing 'override', or the member function 'MonitorItemThread::getThreadId' can be const. bareos-Release-16.2.6/src/qt-tray-monitor/monitoritemthread.cpp:73:31: note: Either there is a missing 'override', or the member function 'MonitorItemThread::getThreadId' can be const. bareos-Release-16.2.6/src/qt-tray-monitor/monitoritemthread.h:51:4: style: Class 'MonitorItemThread' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bareos-Release-16.2.6/src/qt-tray-monitor/monitoritem.cpp:129:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BSOCK_TCP [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-tray-monitor/monitoritem.cpp:234:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNET_TERMINATE [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-tray-monitor/monitoritem.cpp:264:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNET_SIGNAL [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-tray-monitor/monitoritem.cpp:331:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QString [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-tray-monitor/monitoritemthread.cpp:113:21: style: Condition 'monitorItems!=1' is always false [knownConditionTrueFalse] bareos-Release-16.2.6/src/qt-tray-monitor/monitoritemthread.cpp:107:23: note: Assignment 'monitorItems=0', assigned value is 0 bareos-Release-16.2.6/src/qt-tray-monitor/monitoritemthread.cpp:110:7: note: monitorItems is incremented', new value is 1 bareos-Release-16.2.6/src/qt-tray-monitor/monitoritemthread.cpp:113:21: note: Condition 'monitorItems!=1' is always false bareos-Release-16.2.6/src/qt-tray-monitor/monitoritemthread.cpp:162:15: style: Condition 'nitems==0' is always false [knownConditionTrueFalse] bareos-Release-16.2.6/src/qt-tray-monitor/monitoritemthread.cpp:122:17: note: Assignment 'nitems=0', assigned value is 0 bareos-Release-16.2.6/src/qt-tray-monitor/monitoritemthread.cpp:133:7: note: nitems is incremented', new value is 1 bareos-Release-16.2.6/src/qt-tray-monitor/monitoritemthread.cpp:145:7: note: nitems is incremented', new value is 2 bareos-Release-16.2.6/src/qt-tray-monitor/monitoritemthread.cpp:157:7: note: nitems is incremented', new value is 3 bareos-Release-16.2.6/src/qt-tray-monitor/monitoritemthread.cpp:162:15: note: Condition 'nitems==0' is always false bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:171:21: style: Class 'TreeItemFormatter' is unsafe, 'TreeItemFormatter::wdg' can leak by wrong usage. [unsafeClassCanLeak] bareos-Release-16.2.6/src/qt-tray-monitor/monitoritemthread.cpp:207:43: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] bareos-Release-16.2.6/src/qt-tray-monitor/monitoritemthread.cpp:128:25: error: Uninitialized variables: dird.DIRport, dird.address, dird.enable_ssl [uninitvar] bareos-Release-16.2.6/src/qt-tray-monitor/monitoritemthread.cpp:140:25: error: Uninitialized variables: filed.FDport, filed.address, filed.enable_ssl [uninitvar] bareos-Release-16.2.6/src/qt-tray-monitor/monitoritemthread.cpp:152:25: error: Uninitialized variables: stored.SDport, stored.address, stored.enable_ssl [uninitvar] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.cpp:82:32: style:inconclusive: Function 'convertBytesIEC' argument 1 names different: declaration 'fld' definition 'qfld'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:44:32: note: Function 'convertBytesIEC' argument 1 names different: declaration 'fld' definition 'qfld'. bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.cpp:82:32: note: Function 'convertBytesIEC' argument 1 names different: declaration 'fld' definition 'qfld'. bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.cpp:128:31: style:inconclusive: Function 'convertBytesSI' argument 1 names different: declaration 'fld' definition 'qfld'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:47:31: note: Function 'convertBytesSI' argument 1 names different: declaration 'fld' definition 'qfld'. bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.cpp:128:31: note: Function 'convertBytesSI' argument 1 names different: declaration 'fld' definition 'qfld'. bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.cpp:187:53: style:inconclusive: Function 'setPercent' argument 2 names different: declaration 'number' definition 'value'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:85:37: note: Function 'setPercent' argument 2 names different: declaration 'number' definition 'value'. bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.cpp:187:53: note: Function 'setPercent' argument 2 names different: declaration 'number' definition 'value'. bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.cpp:280:86: style:inconclusive: Function 'setNumericFld' argument 3 names different: declaration 'sortVal' definition 'sortval'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:98:70: note: Function 'setNumericFld' argument 3 names different: declaration 'sortVal' definition 'sortval'. bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.cpp:280:86: note: Function 'setNumericFld' argument 3 names different: declaration 'sortVal' definition 'sortval'. bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.cpp:485:54: style:inconclusive: Function 'TableItemFormatter' argument 1 names different: declaration 'parent' definition 'tparent'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:201:37: note: Function 'TableItemFormatter' argument 1 names different: declaration 'parent' definition 'tparent'. bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.cpp:485:54: note: Function 'TableItemFormatter' argument 1 names different: declaration 'parent' definition 'tparent'. bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.cpp:485:67: style:inconclusive: Function 'TableItemFormatter' argument 2 names different: declaration 'row' definition 'trow'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:201:49: note: Function 'TableItemFormatter' argument 2 names different: declaration 'row' definition 'trow'. bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.cpp:485:67: note: Function 'TableItemFormatter' argument 2 names different: declaration 'row' definition 'trow'. bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.cpp:503:51: style:inconclusive: Function 'setPixmap' argument 3 names different: declaration 'tip' definition 'tips'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:213:73: note: Function 'setPixmap' argument 3 names different: declaration 'tip' definition 'tips'. bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.cpp:503:51: note: Function 'setPixmap' argument 3 names different: declaration 'tip' definition 'tips'. bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.cpp:519:38: style:inconclusive: Function 'setText' argument 1 names different: declaration 'index' definition 'col'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.h:208:29: note: Function 'setText' argument 1 names different: declaration 'index' definition 'col'. bareos-Release-16.2.6/src/qt-console/util/fmtwidgetitem.cpp:519:38: note: Function 'setText' argument 1 names different: declaration 'index' definition 'col'. bareos-Release-16.2.6/src/qt-tray-monitor/traymenu.h:35:4: style: Class 'TrayMenu' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bareos-Release-16.2.6/src/qt-tray-monitor/traymenu.cpp:50:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UnicodeUTF8 [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-tray-monitor/traymenu.cpp:29:29: style:inconclusive: Function 'TrayMenu' argument 1 names different: declaration 'trayMonitor' definition 'mainWindow'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/qt-tray-monitor/traymenu.h:35:22: note: Function 'TrayMenu' argument 1 names different: declaration 'trayMonitor' definition 'mainWindow'. bareos-Release-16.2.6/src/qt-tray-monitor/traymenu.cpp:29:29: note: Function 'TrayMenu' argument 1 names different: declaration 'trayMonitor' definition 'mainWindow'. bareos-Release-16.2.6/src/qt-tray-monitor/traymenu.cpp:45:69: style:inconclusive: Function 'createAction' argument 3 names different: declaration 'trayMonitor' definition 'mainWindow'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/qt-tray-monitor/traymenu.h:39:62: note: Function 'createAction' argument 3 names different: declaration 'trayMonitor' definition 'mainWindow'. bareos-Release-16.2.6/src/qt-tray-monitor/traymenu.cpp:45:69: note: Function 'createAction' argument 3 names different: declaration 'trayMonitor' definition 'mainWindow'. bareos-Release-16.2.6/src/qt-tray-monitor/traymenu.cpp:45:54: performance: Function parameter 'text' should be passed by const reference. [passedByValue] bareos-Release-16.2.6/src/qt-tray-monitor/tray-monitor.cpp:48:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROG_COPYRIGHT [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-tray-monitor/tray-monitor.cpp:77:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-tray-monitor/tray-monitor.cpp:129:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QueuedConnection [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-tray-monitor/tray-monitor.cpp:171:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-tray-monitor/tray-monitor.cpp:200:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_ERROR_TERM [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-tray-monitor/tray_conf.cpp:167:61: debug: Function::addArguments found argument 'sock' with varid 0. [varid0] bareos-Release-16.2.6/src/qt-tray-monitor/tray-monitor.cpp:48:14: style: Obsolete function 'QString::sprintf' called. It is recommended to use 'QString::asprintf', 'QString::arg' or 'QTextStream' instead. [prohibitedsprintfCalled] bareos-Release-16.2.6/src/qt-tray-monitor/tray-monitor.cpp:125:17: style: Variable 'win' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/qt-tray-monitor/tray_conf.cpp:192:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sendit [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-tray-monitor/tray_conf.cpp:282:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/qt-tray-monitor/monitoritem.cpp:34:4: warning: Assert statement calls a function which may have desired side effects: 'getThreadId'. [assertWithSideEffect] bareos-Release-16.2.6/src/stored/dev.h:263:1: error: Code 'classDEVICE:' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/qt-tray-monitor/tray_conf.cpp:337:14: warning: If memory allocation fails, then there is a possible null pointer dereference: res [nullPointerOutOfMemory] bareos-Release-16.2.6/src/qt-tray-monitor/tray_conf.cpp:336:27: note: Assuming allocation function fails bareos-Release-16.2.6/src/qt-tray-monitor/tray_conf.cpp:336:13: note: Assignment 'res=(URES*)malloc(resources[rindex].size)', assigned value is 0 bareos-Release-16.2.6/src/qt-tray-monitor/tray_conf.cpp:337:14: note: Null pointer dereference bareos-Release-16.2.6/src/qt-tray-monitor/tray_conf.cpp:214:11: style: C-style pointer casting [cstyleCast] bareos-Release-16.2.6/src/qt-tray-monitor/tray_conf.cpp:336:13: style: C-style pointer casting [cstyleCast] bareos-Release-16.2.6/src/qt-tray-monitor/tray_conf.cpp:372:17: style: C-style pointer casting [cstyleCast] bareos-Release-16.2.6/src/qt-tray-monitor/tray_conf.cpp:171:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] bareos-Release-16.2.6/src/qt-tray-monitor/tray_conf.cpp:185:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] bareos-Release-16.2.6/src/qt-tray-monitor/tray_conf.cpp:206:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] bareos-Release-16.2.6/src/qt-tray-monitor/tray_conf.cpp:339:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] bareos-Release-16.2.6/src/qt-tray-monitor/tray_conf.cpp:355:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] bareos-Release-16.2.6/src/qt-tray-monitor/tray_conf.cpp:274:10: style: The scope of the variable 'res' can be reduced. [variableScope] bareos-Release-16.2.6/src/stored/backends/generic_tape_device.h:31:1: error: Code 'classgeneric_tape_device:' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/stored/backends/unix_fifo_device.h:31:1: error: Code 'classunix_fifo_device:' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/stored/backends/unix_file_device.h:31:1: error: Code 'classunix_file_device:' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/qt-console/mediaedit/mediaedit.cpp:101:19: style: The scope of the variable 'fieldlist' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/mediaedit/mediaedit.cpp:78:4: performance: Range variable 'field' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/mediaedit/mediaedit.cpp:104:7: performance: Range variable 'resultline' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/mediaedit/mediaedit.cpp:34:62: style: Parameter 'mediaId' can be declared as reference to const [constParameterReference] bareos-Release-16.2.6/src/stored/crc32.c:67:0: error: #error Either HAVE_LITTLE_ENDIAN or HAVE_BIG_ENDIAN must be defined! [preprocessorErrorDirective] bareos-Release-16.2.6/src/stored/crc32.c:67:2: error: #error Either HAVE_LITTLE_ENDIAN or HAVE_BIG_ENDIAN must be defined! [preprocessorErrorDirective] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1600:56: style: Obsolete function 'qrand' called. It is recommended to use 'QRandomGenerator' instead. [prohibitedqrandCalled] bareos-Release-16.2.6/src/stored/ebcdic.c:168:39: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/stored/ebcdic.c:179:39: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:239:14: style: Condition '!querydone' is always true [knownConditionTrueFalse] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:237:24: note: Assignment 'querydone=false', assigned value is 0 bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:239:14: note: Condition '!querydone' is always true bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1208:63: style: Condition '!done' is always true [knownConditionTrueFalse] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1205:16: note: Assignment 'done=false', assigned value is 0 bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1208:63: note: Condition '!done' is always true bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:237:12: style: The scope of the variable 'querydone' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:247:22: style: The scope of the variable 'fieldlist' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:439:22: style: The scope of the variable 'fieldlist' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:544:22: style: The scope of the variable 'fieldlist' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:551:17: style: The scope of the variable 'column' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:700:14: style: The scope of the variable 'column' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1207:12: style: The scope of the variable 'direct' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1488:25: style: The scope of the variable 'fieldlist' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1656:12: style: The scope of the variable 'directory' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1684:25: style: The scope of the variable 'fieldlist' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1709:12: style: The scope of the variable 'directory' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1737:25: style: The scope of the variable 'fieldlist' can be reduced. [variableScope] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1706:56: style:inconclusive: Function 'queryFileIndex' argument 2 names different: declaration 'jobID' definition 'jobId'. [funcArgNamesDifferent] bareos-Release-16.2.6/src/qt-console/restore/restoretree.h:87:46: note: Function 'queryFileIndex' argument 2 names different: declaration 'jobID' definition 'jobId'. bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1706:56: note: Function 'queryFileIndex' argument 2 names different: declaration 'jobID' definition 'jobId'. bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:444:10: performance: Range variable 'resultline' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:549:10: performance: Range variable 'resultline' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:698:7: performance: Range variable 'resultline' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1492:13: performance: Range variable 'resultline' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1500:16: performance: Range variable 'field' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1687:13: performance: Range variable 'resultline' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1691:16: performance: Range variable 'field' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1740:13: performance: Range variable 'resultline' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1744:16: performance: Range variable 'field' should be declared as const reference. [iterateByValue] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:967:48: style: Parameter 'fullPath' can be declared as reference to const [constParameterReference] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1202:70: style: Parameter 'fullPath_in' can be declared as reference to const [constParameterReference] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1653:57: style: Parameter 'fullPath' can be declared as reference to const [constParameterReference] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:1706:42: style: Parameter 'fullPath' can be declared as reference to const [constParameterReference] bareos-Release-16.2.6/src/stored/ndmp_tape.c:1563:30: style: Parameter 'jcr' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/stored/ndmp_tape.c:1567:31: style: Parameter 'jcr' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/qt-console/restore/restoretree.cpp:240:23: style: Variable 'querydone' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/tests/bregtest.c:42:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tests/bregtest.c:66:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tests/bbatch.c:71:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROG_COPYRIGHT [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tests/bbatch.c:112:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tests/bbatch.c:311:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STREAM_UNIX_ATTRIBUTES [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tests/bbatch.c:349:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_ERROR_TERM [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tests/bregtest.c:59:10: style: Variable 'fname' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/tests/bregtest.c:143:11: style: Unused variable: list [unusedVariable] bareos-Release-16.2.6/src/tests/bvfs_test.c:51:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROG_COPYRIGHT [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tests/bvfs_test.c:78:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BVFS_LStat [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tests/bvfs_test.c:119:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tests/gigaslam.c:44:38: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] bareos-Release-16.2.6/src/tests/gigaslam.c:39:21: note: Assuming allocation function fails bareos-Release-16.2.6/src/tests/gigaslam.c:39:21: note: Assignment 'fp=fopen("gigaslam.gif","w")', assigned value is 0 bareos-Release-16.2.6/src/tests/gigaslam.c:44:38: note: Null pointer dereference bareos-Release-16.2.6/src/tests/gigaslam.c:45:12: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] bareos-Release-16.2.6/src/tests/gigaslam.c:39:21: note: Assuming allocation function fails bareos-Release-16.2.6/src/tests/gigaslam.c:39:21: note: Assignment 'fp=fopen("gigaslam.gif","w")', assigned value is 0 bareos-Release-16.2.6/src/tests/gigaslam.c:45:12: note: Null pointer dereference bareos-Release-16.2.6/src/tests/gigaslam.c:46:41: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] bareos-Release-16.2.6/src/tests/gigaslam.c:39:21: note: Assuming allocation function fails bareos-Release-16.2.6/src/tests/gigaslam.c:39:21: note: Assignment 'fp=fopen("gigaslam.gif","w")', assigned value is 0 bareos-Release-16.2.6/src/tests/gigaslam.c:46:41: note: Null pointer dereference bareos-Release-16.2.6/src/tests/gigaslam.c:47:12: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] bareos-Release-16.2.6/src/tests/gigaslam.c:39:21: note: Assuming allocation function fails bareos-Release-16.2.6/src/tests/gigaslam.c:39:21: note: Assignment 'fp=fopen("gigaslam.gif","w")', assigned value is 0 bareos-Release-16.2.6/src/tests/gigaslam.c:47:12: note: Null pointer dereference bareos-Release-16.2.6/src/tests/grow.c:52:9: style: Variable 'trailer' can be declared as const array [constVariable] bareos-Release-16.2.6/src/tests/cats_test.c:134:32: error: Code 'POOL_DBR& pr' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/tests/gigaslam.c:41:10: style: Variable 'trailer' can be declared as const array [constVariable] bareos-Release-16.2.6/src/tests/bbatch.c:370:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] bareos-Release-16.2.6/src/tests/ing_test.c:334:27: style: Parameter 'argv' can be declared as const array [constParameter] bareos-Release-16.2.6/src/tests/bbatch.c:351:39: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] bareos-Release-16.2.6/src/tests/bbatch.c:347:20: note: Assuming allocation function fails bareos-Release-16.2.6/src/tests/bbatch.c:347:20: note: Assignment 'fd=fopen(datafile,"r")', assigned value is 0 bareos-Release-16.2.6/src/tests/bbatch.c:351:39: note: Null pointer dereference bareos-Release-16.2.6/src/tools/bregex.c:54:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tools/bregex.c:83:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tests/testls.c:84:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tests/testls.c:207:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tests/testls.c:245:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_LNK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tools/bsmtp.c:204:47: error: Code 'tm& tm' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/tools/bwild.c:32:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tools/bwild.c:58:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tools/drivetype.c:81:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tools/bregex.c:73:10: style: Variable 'fname' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/tools/bpluginfo.c:241:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tools/bpluginfo.c:315:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIR_PLUGIN_MAGIC [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tools/bscrypto.c:35:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tools/bscrypto.c:78:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tools/fstype.c:56:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tests/testls.c:250:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bareos-Release-16.2.6/src/tests/testls.c:35:29: style: Parameter 'jcr' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/tests/testls.c:36:33: style: Parameter 'jcr' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/tests/testls.c:36:66: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] bareos-Release-16.2.6/src/tests/testls.c:80:10: style: Variable 'inc' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/tests/testls.c:81:10: style: Variable 'exc' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/tests/testls.c:186:29: style: Parameter 'jcr' can be declared as pointer to const. However it seems that 'count_files' is a callback function, if 'jcr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/tests/testls.c:170:28: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/tests/testls.c:186:29: note: Parameter 'jcr' can be declared as pointer to const bareos-Release-16.2.6/src/tests/testls.c:186:42: style: Parameter 'ff' can be declared as pointer to const. However it seems that 'count_files' is a callback function, if 'ff' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/tests/testls.c:170:28: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/tests/testls.c:186:42: note: Parameter 'ff' can be declared as pointer to const bareos-Release-16.2.6/src/tests/testls.c:242:14: style: Variable 'f' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/tools/bwild.c:47:10: style: Variable 'fname' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/tools/smtp-orig.c:184:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] bareos-Release-16.2.6/src/tools/timelimit.c:197:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tools/timelimit.c:209:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tools/timelimit.c:221:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tools/timelimit.c:331:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tools/timelimit.c:408:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tools/timelimit.c:488:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tools/timelimit.c:509:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tools/timelimit.c:522:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/win32/compat/compat.c:2997:1: error: Code 'classwinver{' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/tools/smtp-orig.c:139:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tools/smtp-orig.c:148:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tools/smtp-orig.c:188:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tools/smtp-orig.c:377:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tools/bpluginfo.c:174:4: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] bareos-Release-16.2.6/src/tools/bpluginfo.c:212:4: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] bareos-Release-16.2.6/src/win32/compat/print.c:114:75: debug: Function::addArguments found argument 'outch' with varid 0. [varid0] bareos-Release-16.2.6/src/win32/compat/print.c:404:56: debug: Function::addArguments found argument 'outch' with varid 0. [varid0] bareos-Release-16.2.6/src/win32/compat/print.c:442:66: debug: Function::addArguments found argument 'outch' with varid 0. [varid0] bareos-Release-16.2.6/src/win32/compat/print.c:561:42: debug: Function::addArguments found argument 'outch' with varid 0. [varid0] bareos-Release-16.2.6/src/tools/bpluginfo.c:135:32: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'registerBareosEvents' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/tools/bpluginfo.c:508:7: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/tools/bpluginfo.c:135:32: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/tools/bpluginfo.c:140:26: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'getBareosValue' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/tools/bpluginfo.c:509:7: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/tools/bpluginfo.c:140:26: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/tools/bpluginfo.c:140:46: style: Parameter 'value' can be declared as pointer to const. However it seems that 'getBareosValue' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/tools/bpluginfo.c:509:7: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/tools/bpluginfo.c:140:46: note: Parameter 'value' can be declared as pointer to const bareos-Release-16.2.6/src/tools/bpluginfo.c:145:26: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'setBareosValue' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/tools/bpluginfo.c:510:7: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/tools/bpluginfo.c:145:26: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/tools/bpluginfo.c:145:46: style: Parameter 'value' can be declared as pointer to const. However it seems that 'setBareosValue' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/tools/bpluginfo.c:510:7: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/tools/bpluginfo.c:145:46: note: Parameter 'value' can be declared as pointer to const bareos-Release-16.2.6/src/tools/bpluginfo.c:150:24: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'DebugMessage' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/tools/bpluginfo.c:512:7: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/tools/bpluginfo.c:150:24: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/tools/bpluginfo.c:158:22: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'JobMessage' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/tools/bpluginfo.c:511:7: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/tools/bpluginfo.c:158:22: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/tools/bpluginfo.c:167:26: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'bareosMalloc' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bareos-Release-16.2.6/src/tools/bpluginfo.c:513:7: note: You might need to cast the function pointer here bareos-Release-16.2.6/src/tools/bpluginfo.c:167:26: note: Parameter 'ctx' can be declared as pointer to const bareos-Release-16.2.6/src/tools/bpluginfo.c:180:33: style: Parameter 'argv' can be declared as const array [constParameter] bareos-Release-16.2.6/src/tools/bpluginfo.c:349:15: style: Variable 'pfuncs' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/tools/bpluginfo.c:395:15: style: Variable 'pfuncs' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/tools/bpluginfo.c:83:10: style: struct member '_bareosfuncs::registerBareosEvents' is never used. [unusedStructMember] bareos-Release-16.2.6/src/tools/bpluginfo.c:84:10: style: struct member '_bareosfuncs::getBareosValue' is never used. [unusedStructMember] bareos-Release-16.2.6/src/tools/bpluginfo.c:85:10: style: struct member '_bareosfuncs::setBareosValue' is never used. [unusedStructMember] bareos-Release-16.2.6/src/tools/bpluginfo.c:86:10: style: struct member '_bareosfuncs::JobMessage' is never used. [unusedStructMember] bareos-Release-16.2.6/src/tools/timelimit.c:359:9: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] bareos-Release-16.2.6/src/tools/timelimit.c:522:9: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] bareos-Release-16.2.6/src/tools/bpluginfo.c:88:10: style: struct member '_bareosfuncs::DebugMessage' is never used. [unusedStructMember] bareos-Release-16.2.6/src/tools/bpluginfo.c:90:12: style: struct member '_bareosfuncs::bareosMalloc' is never used. [unusedStructMember] bareos-Release-16.2.6/src/tools/bpluginfo.c:91:11: style: struct member '_bareosfuncs::bareosFree' is never used. [unusedStructMember] bareos-Release-16.2.6/src/tools/timelimit.c:283:10: warning: Either the condition 'msec!=0' is redundant or there is possible null pointer dereference: msec. [nullPointerRedundantCheck] bareos-Release-16.2.6/src/tools/timelimit.c:278:18: note: Assuming that condition 'msec!=0' is not redundant bareos-Release-16.2.6/src/tools/timelimit.c:283:10: note: Null pointer dereference bareos-Release-16.2.6/src/tools/timelimit.c:511:9: style: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] bareos-Release-16.2.6/src/tools/timelimit.c:293:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/win32/compat/print.c:251:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINT64 [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tools/timelimit.c:522:14: style: Variable 'argc' is assigned a value that is never used. [unreadVariable] bareos-Release-16.2.6/src/win32/compat/winapi.c:116:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSVERSIONINFO [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/win32/compat/glob.c:141:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_NOESCAPE [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/win32/compat/glob.c:214:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_NOESCAPE [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/win32/compat/glob.c:355:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_CASEMATCH [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/win32/compat/glob.c:374:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PERIOD_PRIVATE [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/win32/compat/glob.c:584:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_NOSPACE [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/win32/compat/glob.c:632:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_SUCCESS [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/win32/compat/glob.c:667:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_CASEMATCH [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/win32/compat/glob.c:752:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_SUCCESS [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/win32/compat/glob.c:1048:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_NOMATCH [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tools/smtp-orig.c:247:16: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] bareos-Release-16.2.6/src/tools/smtp-orig.c:255:15: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] bareos-Release-16.2.6/src/tools/smtp-orig.c:266:16: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] bareos-Release-16.2.6/src/tools/smtp-orig.c:320:16: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] bareos-Release-16.2.6/src/tools/smtp-orig.c:192:22: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/tools/smtp-orig.c:197:21: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/win32/generic/service.c:318:46: error: There is an unknown macro here somewhere. Configuration is required. If APP_NAME is a macro then please configure it. [unknownMacro] bareos-Release-16.2.6/src/win32/stored/backends/win32_fifo_device.h:31:1: error: Code 'classwin32_fifo_device:' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/win32/plugins/filed/mssqlvdi-fd.c:858:83: error: Code 'POOL_MEM& ado_errorstr' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/win32/generic/main.c:97:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VER_PLATFORM_WIN32_NT [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/win32/generic/main.c:290:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APP_NAME [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/win32/generic/main.c:338:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p_AttachConsole [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/win32/generic/main.c:373:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_OK [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/win32/generic/main.c:464:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pGNSI [valueFlowBailoutIncompleteVar] bareos-Release-16.2.6/src/tools/bscrypto.c:341:17: warning: If memory allocation fails, then there is a possible null pointer dereference: wrapped_passphrase [nullPointerOutOfMemory] bareos-Release-16.2.6/src/tools/bscrypto.c:340:45: note: Assuming allocation function fails bareos-Release-16.2.6/src/tools/bscrypto.c:340:31: note: Assignment 'wrapped_passphrase=(char*)malloc(length)', assigned value is 0 bareos-Release-16.2.6/src/tools/bscrypto.c:341:17: note: Null pointer dereference bareos-Release-16.2.6/src/tools/bscrypto.c:432:17: warning: If memory allocation fails, then there is a possible null pointer dereference: wrapped_passphrase [nullPointerOutOfMemory] bareos-Release-16.2.6/src/tools/bscrypto.c:431:45: note: Assuming allocation function fails bareos-Release-16.2.6/src/tools/bscrypto.c:431:31: note: Assignment 'wrapped_passphrase=(char*)malloc(length)', assigned value is 0 bareos-Release-16.2.6/src/tools/bscrypto.c:432:17: note: Null pointer dereference bareos-Release-16.2.6/src/tools/bscrypto.c:444:17: warning: If memory allocation fails, then there is a possible null pointer dereference: passphrase [nullPointerOutOfMemory] bareos-Release-16.2.6/src/tools/bscrypto.c:443:37: note: Assuming allocation function fails bareos-Release-16.2.6/src/tools/bscrypto.c:443:23: note: Assignment 'passphrase=(char*)malloc(length)', assigned value is 0 bareos-Release-16.2.6/src/tools/bscrypto.c:444:17: note: Null pointer dereference bareos-Release-16.2.6/src/tools/bscrypto.c:467:20: warning: If memory allocation fails, then there is a possible null pointer dereference: passphrase [nullPointerOutOfMemory] bareos-Release-16.2.6/src/tools/bscrypto.c:466:40: note: Assuming allocation function fails bareos-Release-16.2.6/src/tools/bscrypto.c:466:26: note: Assignment 'passphrase=(char*)malloc(length)', assigned value is 0 bareos-Release-16.2.6/src/tools/bscrypto.c:467:20: note: Null pointer dereference bareos-Release-16.2.6/src/tools/bscrypto.c:473:20: warning: If memory allocation fails, then there is a possible null pointer dereference: passphrase [nullPointerOutOfMemory] bareos-Release-16.2.6/src/tools/bscrypto.c:472:40: note: Assuming allocation function fails bareos-Release-16.2.6/src/tools/bscrypto.c:472:26: note: Assignment 'passphrase=(char*)malloc(length)', assigned value is 0 bareos-Release-16.2.6/src/tools/bscrypto.c:473:20: note: Null pointer dereference bareos-Release-16.2.6/src/tools/bscrypto.c:479:31: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: passphrase [nullPointerOutOfMemory] bareos-Release-16.2.6/src/tools/bscrypto.c:466:40: note: Assuming allocation function fails bareos-Release-16.2.6/src/tools/bscrypto.c:466:26: note: Assignment 'passphrase=(char*)malloc(length)', assigned value is 0 bareos-Release-16.2.6/src/tools/bscrypto.c:479:31: note: Null pointer dereference bareos-Release-16.2.6/src/win32/stored/backends/win32_file_device.h:31:1: error: Code 'classwin32_file_device:' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/win32/stored/backends/win32_tape_device.h:31:1: error: Code 'classwin32_tape_device:' is invalid C code. [syntaxError] bareos-Release-16.2.6/src/win32/compat/print.c:389:19: style: Variable 'flags' is reassigned a value before the old one has been used. 'break;' missing? [redundantAssignInSwitch] bareos-Release-16.2.6/src/win32/compat/print.c:315:23: note: $symbol is assigned bareos-Release-16.2.6/src/win32/compat/print.c:389:19: note: $symbol is overwritten bareos-Release-16.2.6/src/win32/compat/print.c:389:19: style: Variable 'flags' is reassigned a value before the old one has been used. 'break;' missing? [redundantAssignInSwitch] bareos-Release-16.2.6/src/win32/compat/print.c:323:23: note: $symbol is assigned bareos-Release-16.2.6/src/win32/compat/print.c:389:19: note: $symbol is overwritten bareos-Release-16.2.6/src/win32/compat/print.c:387:16: style: Variable 'ch' is reassigned a value before the old one has been used. [redundantAssignment] bareos-Release-16.2.6/src/win32/compat/print.c:382:20: note: ch is assigned bareos-Release-16.2.6/src/win32/compat/print.c:387:16: note: ch is overwritten bareos-Release-16.2.6/src/win32/generic/main.c:189:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] bareos-Release-16.2.6/src/win32/compat/glob.c:667:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] bareos-Release-16.2.6/src/win32/compat/glob.c:669:5: note: Found duplicate branches for 'if' and 'else'. bareos-Release-16.2.6/src/win32/compat/glob.c:667:5: note: Found duplicate branches for 'if' and 'else'. bareos-Release-16.2.6/src/win32/compat/glob.c:600:38: style: Parameter 'gl_buf' can be declared as pointer to const [constParameterPointer] diff: DONE