2026-08-21 06:57 ftp://ftp.de.debian.org/debian/pool/main/r/rt-app/rt-app_1.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --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 -j96 platform: Linux-6.8.0-137-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.4.0 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.21.0 head-info: 2e19539 (2026-08-18 17:04:48 +0200) count: 120 126 elapsed-time: 0.3 0.2 head-timing-info: old-timing-info: head results: rt-app-1.0/libdl/dl_syscalls.c:7:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_sched_setattr [valueFlowBailoutIncompleteVar] rt-app-1.0/libdl/dl_syscalls.c:15:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_sched_getattr [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app_utils.c:167:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_gettid [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app_utils.c:280:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app_utils.c:237:47: style:inconclusive: Function 'resource_to_string' argument 2 names different: declaration 'name' definition 'resource_name'. [funcArgNamesDifferent] rt-app-1.0/src/rt-app_utils.h:135:47: note: Function 'resource_to_string' argument 2 names different: declaration 'name' definition 'resource_name'. rt-app-1.0/src/rt-app_utils.c:237:47: note: Function 'resource_to_string' argument 2 names different: declaration 'name' definition 'resource_name'. rt-app-1.0/src/rt-app_utils.c:32:35: style: Parameter 'ts' can be declared as pointer to const [constParameterPointer] rt-app-1.0/src/rt-app_utils.c:38:39: style: Parameter 'ts' can be declared as pointer to const [constParameterPointer] rt-app-1.0/src/rt-app_utils.c:44:40: style: Parameter 'ts' can be declared as pointer to const [constParameterPointer] rt-app-1.0/src/rt-app_utils.c:80:31: style: Parameter 't1' can be declared as pointer to const [constParameterPointer] rt-app-1.0/src/rt-app_utils.c:80:52: style: Parameter 't2' can be declared as pointer to const [constParameterPointer] rt-app-1.0/src/rt-app_utils.c:96:31: style: Parameter 't1' can be declared as pointer to const [constParameterPointer] rt-app-1.0/src/rt-app_utils.c:96:52: style: Parameter 't2' can be declared as pointer to const [constParameterPointer] rt-app-1.0/src/rt-app_utils.c:113:33: style: Parameter 'what' can be declared as pointer to const [constParameterPointer] rt-app-1.0/src/rt-app_utils.c:113:56: style: Parameter 'than' can be declared as pointer to const [constParameterPointer] rt-app-1.0/src/rt-app_utils.c:128:37: style: Parameter 't1' can be declared as pointer to const [constParameterPointer] rt-app-1.0/src/rt-app_utils.c:128:58: style: Parameter 't2' can be declared as pointer to const [constParameterPointer] rt-app-1.0/src/rt-app_utils.c:145:43: style: Parameter 't' can be declared as pointer to const [constParameterPointer] rt-app-1.0/src/rt-app_parse_config.c:96:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app_parse_config.c:113:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app_parse_config.c:132:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app_parse_config.c:148:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app_parse_config.c:164:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app_parse_config.c:177:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app_parse_config.c:191:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app_parse_config.c:198:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app_parse_config.c:207:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app_parse_config.c:215:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app_parse_config.c:222:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app_parse_config.c:280:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app_parse_config.c:306:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app_parse_config.c:322:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app_parse_config.c:378:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_int [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app_parse_config.c:654:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_NPROCESSORS_CONF [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app_parse_config.c:695:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app_parse_config.c:731:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app_parse_config.c:826:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app_parse_config.c:850:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app_parse_config.c:966:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app_parse_config.c:1006:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app_parse_config.c:1021:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app.c:95:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app.c:257:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app.c:429:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app.c:470:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app.c:493:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app.c:544:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpu_set_t [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app.c:615:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app.c:873:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-app-1.0/src/rt-app_parse_config.c:184:2: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] rt-app-1.0/src/rt-app_parse_config.c:671:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-app-1.0/src/rt-app_parse_config.c:338:3: style: Variable 'idx' is reassigned a value before the old one has been used. [redundantAssignment] rt-app-1.0/src/rt-app_parse_config.c:331:3: note: idx is assigned rt-app-1.0/src/rt-app_parse_config.c:338:3: note: idx is overwritten rt-app-1.0/src/rt-app_parse_config.c:712:2: style: Variable 'idx' is reassigned a value before the old one has been used. [redundantAssignment] rt-app-1.0/src/rt-app_parse_config.c:699:2: note: idx is assigned rt-app-1.0/src/rt-app_parse_config.c:712:2: note: idx is overwritten rt-app-1.0/src/rt-app_parse_config.c:800:3: style: Variable 'idx' is reassigned a value before the old one has been used. [redundantAssignment] rt-app-1.0/src/rt-app_parse_config.c:794:3: note: idx is assigned rt-app-1.0/src/rt-app_parse_config.c:800:3: note: idx is overwritten rt-app-1.0/src/rt-app_parse_config.c:836:2: style: Variable 'idx' is reassigned a value before the old one has been used. [redundantAssignment] rt-app-1.0/src/rt-app_parse_config.c:828:2: note: idx is assigned rt-app-1.0/src/rt-app_parse_config.c:836:2: note: idx is overwritten rt-app-1.0/src/rt-app_parse_config.c:780:18: style: Checking if unsigned expression 'data->delay' is less than zero. [unsignedLessThanZero] rt-app-1.0/src/rt-app_parse_config.c:606:1: style: Label 'unknown_resource' is not used. [unusedLabel] rt-app-1.0/src/rt-app_parse_config.c:320:32: style: Variable 'key' can be declared as pointer to const [constVariablePointer] rt-app-1.0/src/rt-app_parse_config.c:346:20: style: Variable 'resources' can be declared as pointer to const [constVariablePointer] rt-app-1.0/src/rt-app_parse_config.c:366:31: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] rt-app-1.0/src/rt-app_parse_config.c:369:28: style: Variable 'ddata' can be declared as pointer to const [constVariablePointer] rt-app-1.0/src/rt-app_parse_config.c:638:20: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] rt-app-1.0/src/rt-app_parse_config.c:643:12: style: Variable 'event' can be declared as pointer to const [constVariablePointer] rt-app-1.0/src/rt-app_parse_config.c:723:25: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] rt-app-1.0/src/rt-app_parse_config.c:726:8: style: Variable 'policy' can be declared as pointer to const [constVariablePointer] rt-app-1.0/src/rt-app_parse_config.c:787:33: style: Variable 'key' can be declared as pointer to const [constVariablePointer] rt-app-1.0/src/rt-app_parse_config.c:765:16: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] rt-app-1.0/src/rt-app_parse_config.c:768:15: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] rt-app-1.0/src/rt-app_parse_config.c:771:17: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] rt-app-1.0/src/rt-app_parse_config.c:339:24: error: Uninitialized variable: key [uninitvar] rt-app-1.0/src/rt-app_parse_config.c:329:25: note: Assuming condition is true rt-app-1.0/src/rt-app_parse_config.c:339:24: note: Uninitialized variable: key rt-app-1.0/src/rt-app_parse_config.c:339:29: error: Uninitialized variable: val [uninitvar] rt-app-1.0/src/rt-app_parse_config.c:329:25: note: Assuming condition is true rt-app-1.0/src/rt-app_parse_config.c:339:29: note: Uninitialized variable: val rt-app-1.0/src/rt-app_parse_config.c:339:34: error: Uninitialized variable: idx [uninitvar] rt-app-1.0/src/rt-app_parse_config.c:329:25: note: Assuming condition is true rt-app-1.0/src/rt-app_parse_config.c:339:34: note: Uninitialized variable: idx rt-app-1.0/src/rt-app_parse_config.c:338:3: style: Variable 'entry' is assigned a value that is never used. [unreadVariable] rt-app-1.0/src/rt-app_parse_config.c:319:6: style: Unused variable: i [unusedVariable] rt-app-1.0/src/rt-app_parse_config.c:437:9: style: Variable 'ddata' is assigned a value that is never used. [unreadVariable] rt-app-1.0/src/rt-app_parse_config.c:460:9: style: Variable 'ddata' is assigned a value that is never used. [unreadVariable] rt-app-1.0/src/rt-app_parse_config.c:542:9: style: Variable 'ddata' is assigned a value that is never used. [unreadVariable] rt-app-1.0/src/rt-app_parse_config.c:712:2: style: Variable 'entry' is assigned a value that is never used. [unreadVariable] rt-app-1.0/src/rt-app_parse_config.c:712:2: style: Variable 'idx' is assigned a value that is never used. [unreadVariable] rt-app-1.0/src/rt-app_parse_config.c:800:3: style: Variable 'entry' is assigned a value that is never used. [unreadVariable] rt-app-1.0/src/rt-app_parse_config.c:728:35: style: Unused variable: resources [unusedVariable] rt-app-1.0/src/rt-app_parse_config.c:836:2: style: Variable 'entry' is assigned a value that is never used. [unreadVariable] rt-app-1.0/src/rt-app_parse_config.c:836:2: style: Variable 'idx' is assigned a value that is never used. [unreadVariable] rt-app-1.0/src/rt-app_parse_config.c:1018:6: style: Unused variable: done [unusedVariable] rt-app-1.0/src/rt-app.c:510:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-app-1.0/src/rt-app.c:942:11: warning: If resource allocation fails, then there is a possible null pointer dereference: gnuplot_script [nullPointerOutOfResources] rt-app-1.0/src/rt-app.c:939:25: note: Assuming allocation function fails rt-app-1.0/src/rt-app.c:939:25: note: Assignment 'gnuplot_script=fopen(tmp,"w+")', assigned value is 0 rt-app-1.0/src/rt-app.c:942:11: note: Null pointer dereference rt-app-1.0/src/rt-app.c:953:12: warning: If resource allocation fails, then there is a possible null pointer dereference: gnuplot_script [nullPointerOutOfResources] rt-app-1.0/src/rt-app.c:939:25: note: Assuming allocation function fails rt-app-1.0/src/rt-app.c:939:25: note: Assignment 'gnuplot_script=fopen(tmp,"w+")', assigned value is 0 rt-app-1.0/src/rt-app.c:953:12: note: Null pointer dereference rt-app-1.0/src/rt-app.c:964:13: warning: If resource allocation fails, then there is a possible null pointer dereference: gnuplot_script [nullPointerOutOfResources] rt-app-1.0/src/rt-app.c:939:25: note: Assuming allocation function fails rt-app-1.0/src/rt-app.c:939:25: note: Assignment 'gnuplot_script=fopen(tmp,"w+")', assigned value is 0 rt-app-1.0/src/rt-app.c:964:13: note: Null pointer dereference rt-app-1.0/src/rt-app.c:967:11: warning: If resource allocation fails, then there is a possible null pointer dereference: gnuplot_script [nullPointerOutOfResources] rt-app-1.0/src/rt-app.c:939:25: note: Assuming allocation function fails rt-app-1.0/src/rt-app.c:939:25: note: Assignment 'gnuplot_script=fopen(tmp,"w+")', assigned value is 0 rt-app-1.0/src/rt-app.c:967:11: note: Null pointer dereference rt-app-1.0/src/rt-app.c:968:10: warning: If resource allocation fails, then there is a possible null pointer dereference: gnuplot_script [nullPointerOutOfResources] rt-app-1.0/src/rt-app.c:939:25: note: Assuming allocation function fails rt-app-1.0/src/rt-app.c:939:25: note: Assignment 'gnuplot_script=fopen(tmp,"w+")', assigned value is 0 rt-app-1.0/src/rt-app.c:968:10: note: Null pointer dereference rt-app-1.0/src/rt-app.c:976:11: warning: If resource allocation fails, then there is a possible null pointer dereference: gnuplot_script [nullPointerOutOfResources] rt-app-1.0/src/rt-app.c:973:25: note: Assuming allocation function fails rt-app-1.0/src/rt-app.c:973:25: note: Assignment 'gnuplot_script=fopen(tmp,"w+")', assigned value is 0 rt-app-1.0/src/rt-app.c:976:11: note: Null pointer dereference rt-app-1.0/src/rt-app.c:987:12: warning: If resource allocation fails, then there is a possible null pointer dereference: gnuplot_script [nullPointerOutOfResources] rt-app-1.0/src/rt-app.c:973:25: note: Assuming allocation function fails rt-app-1.0/src/rt-app.c:973:25: note: Assignment 'gnuplot_script=fopen(tmp,"w+")', assigned value is 0 rt-app-1.0/src/rt-app.c:987:12: note: Null pointer dereference rt-app-1.0/src/rt-app.c:998:13: warning: If resource allocation fails, then there is a possible null pointer dereference: gnuplot_script [nullPointerOutOfResources] rt-app-1.0/src/rt-app.c:973:25: note: Assuming allocation function fails rt-app-1.0/src/rt-app.c:973:25: note: Assignment 'gnuplot_script=fopen(tmp,"w+")', assigned value is 0 rt-app-1.0/src/rt-app.c:998:13: note: Null pointer dereference rt-app-1.0/src/rt-app.c:1001:11: warning: If resource allocation fails, then there is a possible null pointer dereference: gnuplot_script [nullPointerOutOfResources] rt-app-1.0/src/rt-app.c:973:25: note: Assuming allocation function fails rt-app-1.0/src/rt-app.c:973:25: note: Assignment 'gnuplot_script=fopen(tmp,"w+")', assigned value is 0 rt-app-1.0/src/rt-app.c:1001:11: note: Null pointer dereference rt-app-1.0/src/rt-app.c:1002:10: warning: If resource allocation fails, then there is a possible null pointer dereference: gnuplot_script [nullPointerOutOfResources] rt-app-1.0/src/rt-app.c:973:25: note: Assuming allocation function fails rt-app-1.0/src/rt-app.c:973:25: note: Assignment 'gnuplot_script=fopen(tmp,"w+")', assigned value is 0 rt-app-1.0/src/rt-app.c:1002:10: note: Null pointer dereference rt-app-1.0/src/rt-app.c:1011:12: warning: If resource allocation fails, then there is a possible null pointer dereference: gnuplot_script [nullPointerOutOfResources] rt-app-1.0/src/rt-app.c:1008:26: note: Assuming allocation function fails rt-app-1.0/src/rt-app.c:1008:26: note: Assignment 'gnuplot_script=fopen(tmp,"w+")', assigned value is 0 rt-app-1.0/src/rt-app.c:1011:12: note: Null pointer dereference rt-app-1.0/src/rt-app.c:1023:12: warning: If resource allocation fails, then there is a possible null pointer dereference: gnuplot_script [nullPointerOutOfResources] rt-app-1.0/src/rt-app.c:1008:26: note: Assuming allocation function fails rt-app-1.0/src/rt-app.c:1008:26: note: Assignment 'gnuplot_script=fopen(tmp,"w+")', assigned value is 0 rt-app-1.0/src/rt-app.c:1023:12: note: Null pointer dereference rt-app-1.0/src/rt-app.c:1028:12: warning: If resource allocation fails, then there is a possible null pointer dereference: gnuplot_script [nullPointerOutOfResources] rt-app-1.0/src/rt-app.c:1008:26: note: Assuming allocation function fails rt-app-1.0/src/rt-app.c:1008:26: note: Assignment 'gnuplot_script=fopen(tmp,"w+")', assigned value is 0 rt-app-1.0/src/rt-app.c:1028:12: note: Null pointer dereference rt-app-1.0/src/rt-app.c:1033:12: warning: If resource allocation fails, then there is a possible null pointer dereference: gnuplot_script [nullPointerOutOfResources] rt-app-1.0/src/rt-app.c:1008:26: note: Assuming allocation function fails rt-app-1.0/src/rt-app.c:1008:26: note: Assignment 'gnuplot_script=fopen(tmp,"w+")', assigned value is 0 rt-app-1.0/src/rt-app.c:1033:12: note: Null pointer dereference rt-app-1.0/src/rt-app.c:1038:12: warning: If resource allocation fails, then there is a possible null pointer dereference: gnuplot_script [nullPointerOutOfResources] rt-app-1.0/src/rt-app.c:1008:26: note: Assuming allocation function fails rt-app-1.0/src/rt-app.c:1008:26: note: Assignment 'gnuplot_script=fopen(tmp,"w+")', assigned value is 0 rt-app-1.0/src/rt-app.c:1038:12: note: Null pointer dereference rt-app-1.0/src/rt-app.c:1040:11: warning: If resource allocation fails, then there is a possible null pointer dereference: gnuplot_script [nullPointerOutOfResources] rt-app-1.0/src/rt-app.c:1008:26: note: Assuming allocation function fails rt-app-1.0/src/rt-app.c:1008:26: note: Assignment 'gnuplot_script=fopen(tmp,"w+")', assigned value is 0 rt-app-1.0/src/rt-app.c:1040:11: note: Null pointer dereference rt-app-1.0/src/rt-app.c:1041:10: warning: If resource allocation fails, then there is a possible null pointer dereference: gnuplot_script [nullPointerOutOfResources] rt-app-1.0/src/rt-app.c:1008:26: note: Assuming allocation function fails rt-app-1.0/src/rt-app.c:1008:26: note: Assignment 'gnuplot_script=fopen(tmp,"w+")', assigned value is 0 rt-app-1.0/src/rt-app.c:1041:10: note: Null pointer dereference rt-app-1.0/src/rt-app.c:69:10: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] rt-app-1.0/src/rt-app.c:68:10: note: result is assigned rt-app-1.0/src/rt-app.c:69:10: note: result is overwritten rt-app-1.0/src/rt-app.c:70:10: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] rt-app-1.0/src/rt-app.c:69:10: note: result is assigned rt-app-1.0/src/rt-app.c:70:10: note: result is overwritten rt-app-1.0/src/rt-app.c:71:10: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] rt-app-1.0/src/rt-app.c:70:10: note: result is assigned rt-app-1.0/src/rt-app.c:71:10: note: result is overwritten rt-app-1.0/src/rt-app.c:211:66: style: Parameter 'iomem' can be declared as pointer to const [constParameterPointer] rt-app-1.0/src/rt-app.c:247:36: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] rt-app-1.0/src/rt-app.c:249:20: style: Parameter 't_first' can be declared as pointer to const [constParameterPointer] rt-app-1.0/src/rt-app.c:71:10: style: Variable 'result' is assigned a value that is never used. [unreadVariable] rt-app-1.0/src/rt-app.c:88:6: style: Unused variable: ret [unusedVariable] rt-app-1.0/src/rt-app.c:129:31: style: Unused variable: sleep [unusedVariable] rt-app-1.0/src/rt-app.c:133:6: style: Unused variable: ret [unusedVariable] rt-app-1.0/src/rt-app.c:541:20: style: Variable 'cpu' is assigned a value that is never used. [unreadVariable] rt-app-1.0/src/rt-app.c:594:16: style: Unused variable: t_start_usec [unusedVariable] rt-app-1.0/src/rt-app.c:595:7: style: Unused variable: slack [unusedVariable] rt-app-1.0/src/rt-app.c:600:8: style: Unused variable: tid [unusedVariable] rt-app-1.0/src/rt-app.c:601:20: style: Unused variable: attr [unusedVariable] rt-app-1.0/src/rt-app.c:602:15: style: Variable 'flags' is assigned a value that is never used. [unreadVariable] rt-app-1.0/src/rt-app.c:852:9: style: Unused variable: res [unusedVariable] rt-app-1.0/src/rt-app.c:852:14: style: Unused variable: nresources [unusedVariable] rt-app-1.0/src/rt-app.c:854:20: style: Unused variable: rdata [unusedVariable] diff: head rt-app-1.0/src/rt-app.c:964:13: warning: If resource allocation fails, then there is a possible null pointer dereference: gnuplot_script [nullPointerOutOfResources] rt-app-1.0/src/rt-app.c:939:25: note: Assuming allocation function fails rt-app-1.0/src/rt-app.c:939:25: note: Assignment 'gnuplot_script=fopen(tmp,"w+")', assigned value is 0 rt-app-1.0/src/rt-app.c:964:13: note: Null pointer dereference head rt-app-1.0/src/rt-app.c:998:13: warning: If resource allocation fails, then there is a possible null pointer dereference: gnuplot_script [nullPointerOutOfResources] rt-app-1.0/src/rt-app.c:973:25: note: Assuming allocation function fails rt-app-1.0/src/rt-app.c:973:25: note: Assignment 'gnuplot_script=fopen(tmp,"w+")', assigned value is 0 rt-app-1.0/src/rt-app.c:998:13: note: Null pointer dereference 2.21.0 rt-app-1.0/src/rt-app_parse_config.c:331:3: warning: Unused variable value 'entry' [constStatement] 2.21.0 rt-app-1.0/src/rt-app_parse_config.c:338:3: warning: Unused variable value 'entry' [constStatement] 2.21.0 rt-app-1.0/src/rt-app_parse_config.c:339:24: error: Uninitialized variable: key [uninitvar] head rt-app-1.0/src/rt-app_parse_config.c:339:24: error: Uninitialized variable: key [uninitvar] rt-app-1.0/src/rt-app_parse_config.c:329:25: note: Assuming condition is true rt-app-1.0/src/rt-app_parse_config.c:339:24: note: Uninitialized variable: key 2.21.0 rt-app-1.0/src/rt-app_parse_config.c:339:29: error: Uninitialized variable: val [uninitvar] head rt-app-1.0/src/rt-app_parse_config.c:339:29: error: Uninitialized variable: val [uninitvar] rt-app-1.0/src/rt-app_parse_config.c:329:25: note: Assuming condition is true rt-app-1.0/src/rt-app_parse_config.c:339:29: note: Uninitialized variable: val head rt-app-1.0/src/rt-app_parse_config.c:339:34: error: Uninitialized variable: idx [uninitvar] rt-app-1.0/src/rt-app_parse_config.c:329:25: note: Assuming condition is true rt-app-1.0/src/rt-app_parse_config.c:339:34: note: Uninitialized variable: idx 2.21.0 rt-app-1.0/src/rt-app_parse_config.c:339:34: warning: Uninitialized variable: idx [uninitvar] 2.21.0 rt-app-1.0/src/rt-app_parse_config.c:699:2: warning: Unused variable value 'entry' [constStatement] 2.21.0 rt-app-1.0/src/rt-app_parse_config.c:712:2: warning: Unused variable value 'entry' [constStatement] 2.21.0 rt-app-1.0/src/rt-app_parse_config.c:794:3: warning: Unused variable value 'entry' [constStatement] 2.21.0 rt-app-1.0/src/rt-app_parse_config.c:800:3: warning: Unused variable value 'entry' [constStatement] 2.21.0 rt-app-1.0/src/rt-app_parse_config.c:828:2: warning: Unused variable value 'entry' [constStatement] 2.21.0 rt-app-1.0/src/rt-app_parse_config.c:836:2: warning: Unused variable value 'entry' [constStatement] DONE