2025-07-12 22:35 ftp://ftp.de.debian.org/debian/pool/main/c/chordii/chordii_4.5.3+repack.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 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: 843f95e (2025-07-12 14:37:40 +0200) count: 93 93 elapsed-time: 1.3 1.4 head-timing-info: old-timing-info: head results: chordii-4.5.3+repack/src/common.c:66:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chordii-4.5.3+repack/src/common.c:75:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chordii-4.5.3+repack/src/common.c:85:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chordii-4.5.3+repack/src/common.c:92:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] chordii-4.5.3+repack/src/common.c:117:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chordii-4.5.3+repack/src/a2crd.c:113:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chordii-4.5.3+repack/src/a2crd.c:137:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] chordii-4.5.3+repack/src/a2crd.c:156:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] chordii-4.5.3+repack/src/a2crd.c:357:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] chordii-4.5.3+repack/src/common.c:29:7: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] chordii-4.5.3+repack/src/common.c:45:7: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] chordii-4.5.3+repack/src/common.c:62:7: style: Parameter 'err_str' can be declared as pointer to const [constParameterPointer] chordii-4.5.3+repack/src/common.c:72:7: style: Parameter 'err_str' can be declared as pointer to const [constParameterPointer] chordii-4.5.3+repack/src/common.c:80:7: style: Parameter 'dbg_str' can be declared as pointer to const [constParameterPointer] chordii-4.5.3+repack/src/common.c:92:15: style: Variable 'version' can be declared as pointer to const [constVariablePointer] chordii-4.5.3+repack/src/toc.c:41:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chordii-4.5.3+repack/src/iso.c:323:7: style: Parameter 'font' can be declared as pointer to const [constParameterPointer] chordii-4.5.3+repack/src/toc.c:80:1: warning: If memory allocation fails, then there is a possible null pointer dereference: new_toc_entry [nullPointerOutOfMemory] chordii-4.5.3+repack/src/toc.c:79:45: note: Assuming allocation function fails chordii-4.5.3+repack/src/toc.c:79:17: note: Assignment 'new_toc_entry=(struct toc_struct*)malloc(sizeof(dummy_toc))', assigned value is 0 chordii-4.5.3+repack/src/toc.c:80:1: note: Null pointer dereference chordii-4.5.3+repack/src/toc.c:81:1: warning: If memory allocation fails, then there is a possible null pointer dereference: new_toc_entry [nullPointerOutOfMemory] chordii-4.5.3+repack/src/toc.c:79:45: note: Assuming allocation function fails chordii-4.5.3+repack/src/toc.c:79:17: note: Assignment 'new_toc_entry=(struct toc_struct*)malloc(sizeof(dummy_toc))', assigned value is 0 chordii-4.5.3+repack/src/toc.c:81:1: note: Null pointer dereference chordii-4.5.3+repack/src/toc.c:82:1: warning: If memory allocation fails, then there is a possible null pointer dereference: new_toc_entry [nullPointerOutOfMemory] chordii-4.5.3+repack/src/toc.c:79:45: note: Assuming allocation function fails chordii-4.5.3+repack/src/toc.c:79:17: note: Assignment 'new_toc_entry=(struct toc_struct*)malloc(sizeof(dummy_toc))', assigned value is 0 chordii-4.5.3+repack/src/toc.c:82:1: note: Null pointer dereference chordii-4.5.3+repack/src/toc.c:84:9: warning: If memory allocation fails, then there is a possible null pointer dereference: new_toc_entry [nullPointerOutOfMemory] chordii-4.5.3+repack/src/toc.c:79:45: note: Assuming allocation function fails chordii-4.5.3+repack/src/toc.c:79:17: note: Assignment 'new_toc_entry=(struct toc_struct*)malloc(sizeof(dummy_toc))', assigned value is 0 chordii-4.5.3+repack/src/toc.c:84:9: note: Null pointer dereference chordii-4.5.3+repack/src/toc.c:95:1: warning: If memory allocation fails, then there is a possible null pointer dereference: new_toc_entry [nullPointerOutOfMemory] chordii-4.5.3+repack/src/toc.c:79:45: note: Assuming allocation function fails chordii-4.5.3+repack/src/toc.c:79:17: note: Assignment 'new_toc_entry=(struct toc_struct*)malloc(sizeof(dummy_toc))', assigned value is 0 chordii-4.5.3+repack/src/toc.c:95:1: note: Null pointer dereference chordii-4.5.3+repack/src/toc.c:114:1: warning: If memory allocation fails, then there is a possible null pointer dereference: new_sub [nullPointerOutOfMemory] chordii-4.5.3+repack/src/toc.c:112:45: note: Assuming allocation function fails chordii-4.5.3+repack/src/toc.c:112:11: note: Assignment 'new_sub=(struct sub_title_struct*)malloc(sizeof(dummy_sub_title_struct))', assigned value is 0 chordii-4.5.3+repack/src/toc.c:114:1: note: Null pointer dereference chordii-4.5.3+repack/src/toc.c:115:1: warning: If memory allocation fails, then there is a possible null pointer dereference: new_sub [nullPointerOutOfMemory] chordii-4.5.3+repack/src/toc.c:112:45: note: Assuming allocation function fails chordii-4.5.3+repack/src/toc.c:112:11: note: Assignment 'new_sub=(struct sub_title_struct*)malloc(sizeof(dummy_sub_title_struct))', assigned value is 0 chordii-4.5.3+repack/src/toc.c:115:1: note: Null pointer dereference chordii-4.5.3+repack/src/toc.c:116:9: warning: If memory allocation fails, then there is a possible null pointer dereference: new_sub [nullPointerOutOfMemory] chordii-4.5.3+repack/src/toc.c:112:45: note: Assuming allocation function fails chordii-4.5.3+repack/src/toc.c:112:11: note: Assignment 'new_sub=(struct sub_title_struct*)malloc(sizeof(dummy_sub_title_struct))', assigned value is 0 chordii-4.5.3+repack/src/toc.c:116:9: note: Null pointer dereference chordii-4.5.3+repack/src/toc.c:124:21: style: Local variable 'toc_ptr' shadows outer variable [shadowVariable] chordii-4.5.3+repack/src/toc.c:33:20: note: Shadowed declaration chordii-4.5.3+repack/src/toc.c:124:21: note: Shadow variable chordii-4.5.3+repack/src/toc.c:71:7: style: Parameter 'title' can be declared as pointer to const [constParameterPointer] chordii-4.5.3+repack/src/toc.c:103:7: style: Parameter 'sub_title' can be declared as pointer to const [constParameterPointer] chordii-4.5.3+repack/src/a2crd.c:79:27: style: Array index 'mini' is used before limits check. [arrayIndexThenCheck] chordii-4.5.3+repack/src/a2crd.c:111:7: style: Parameter 'command' can be declared as pointer to const [constParameterPointer] chordii-4.5.3+repack/src/a2crd.c:127:8: style: Variable 'home' can be declared as pointer to const [constVariablePointer] chordii-4.5.3+repack/src/a2crd.c:95:6: style: Variable 'p_out' is assigned a value that is never used. [unreadVariable] chordii-4.5.3+repack/src/chordii.c:195:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] chordii-4.5.3+repack/src/chordii.c:320:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chordii-4.5.3+repack/src/chordii.c:485:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] chordii-4.5.3+repack/src/chordii.c:1122:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] chordii-4.5.3+repack/src/chordii.c:1461:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] chordii-4.5.3+repack/src/grid.c:452:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chordii-4.5.3+repack/src/grid.c:491:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chordii-4.5.3+repack/src/xpose.c:42:14: style: Variable 'notes' can be declared as const array [constVariable] chordii-4.5.3+repack/windows/getopt.c:180:8: style: Variable 'current_argv' can be declared as pointer to const [constVariablePointer] chordii-4.5.3+repack/windows/getopt.c:287:8: style: Variable 'oli' can be declared as pointer to const [constVariablePointer] chordii-4.5.3+repack/src/chordii.c:905:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] chordii-4.5.3+repack/src/chordii.c:926:41: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] chordii-4.5.3+repack/src/chordii.c:927:31: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] chordii-4.5.3+repack/src/chordii.c:931:42: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] chordii-4.5.3+repack/src/chordii.c:934:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] chordii-4.5.3+repack/src/chordii.c:940:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] chordii-4.5.3+repack/src/chordii.c:953:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] chordii-4.5.3+repack/src/chordii.c:966:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] chordii-4.5.3+repack/src/chordii.c:971:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] chordii-4.5.3+repack/src/chordii.c:976:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] chordii-4.5.3+repack/src/chordii.c:985:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] chordii-4.5.3+repack/src/chordii.c:989:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] chordii-4.5.3+repack/src/chordii.c:1030:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] chordii-4.5.3+repack/src/chordii.c:1048:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] chordii-4.5.3+repack/src/chordii.c:1058:28: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] chordii-4.5.3+repack/src/chordii.c:696:12: style: Variable 'text_font' is reassigned a value before the old one has been used. [redundantAssignment] chordii-4.5.3+repack/src/chordii.c:694:12: note: text_font is assigned chordii-4.5.3+repack/src/chordii.c:696:12: note: text_font is overwritten chordii-4.5.3+repack/src/chordii.c:1334:6: style: Local variable 'c' shadows outer variable [shadowVariable] chordii-4.5.3+repack/src/chordii.c:39:2: note: Shadowed declaration chordii-4.5.3+repack/src/chordii.c:1334:6: note: Shadow variable chordii-4.5.3+repack/src/chordii.c:179:7: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] chordii-4.5.3+repack/src/chordii.c:318:7: style: Parameter 'command' can be declared as pointer to const [constParameterPointer] chordii-4.5.3+repack/src/chordii.c:903:9: style: Variable 'command' can be declared as pointer to const [constVariablePointer] chordii-4.5.3+repack/src/chordii.c:1263:8: style: Variable 'env_var' can be declared as pointer to const [constVariablePointer] chordii-4.5.3+repack/src/grid.c:471:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] chordii-4.5.3+repack/src/grid.c:480:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] chordii-4.5.3+repack/src/grid.c:529:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] chordii-4.5.3+repack/src/grid.c:535:24: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] chordii-4.5.3+repack/src/grid.c:542:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] chordii-4.5.3+repack/src/grid.c:550:24: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] chordii-4.5.3+repack/src/grid.c:558:32: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] chordii-4.5.3+repack/src/grid.c:577:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] chordii-4.5.3+repack/src/grid.c:371:22: style: Redundant condition: no_easy_grids. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] chordii-4.5.3+repack/src/grid.c:212:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_kc_ptr [nullPointerOutOfMemory] chordii-4.5.3+repack/src/grid.c:211:37: note: Assuming allocation function fails chordii-4.5.3+repack/src/grid.c:211:15: note: Assignment 'new_kc_ptr=(struct kcs*)malloc(sizeof(dummy_kcs))', assigned value is 0 chordii-4.5.3+repack/src/grid.c:212:2: note: Null pointer dereference chordii-4.5.3+repack/src/grid.c:216:16: warning: If memory allocation fails, then there is a possible null pointer dereference: new_kc_ptr [nullPointerOutOfMemory] chordii-4.5.3+repack/src/grid.c:211:37: note: Assuming allocation function fails chordii-4.5.3+repack/src/grid.c:211:15: note: Assignment 'new_kc_ptr=(struct kcs*)malloc(sizeof(dummy_kcs))', assigned value is 0 chordii-4.5.3+repack/src/grid.c:216:16: note: Null pointer dereference chordii-4.5.3+repack/src/grid.c:217:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_kc_ptr [nullPointerOutOfMemory] chordii-4.5.3+repack/src/grid.c:211:37: note: Assuming allocation function fails chordii-4.5.3+repack/src/grid.c:211:15: note: Assignment 'new_kc_ptr=(struct kcs*)malloc(sizeof(dummy_kcs))', assigned value is 0 chordii-4.5.3+repack/src/grid.c:217:2: note: Null pointer dereference chordii-4.5.3+repack/src/grid.c:218:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_kc_ptr [nullPointerOutOfMemory] chordii-4.5.3+repack/src/grid.c:211:37: note: Assuming allocation function fails chordii-4.5.3+repack/src/grid.c:211:15: note: Assignment 'new_kc_ptr=(struct kcs*)malloc(sizeof(dummy_kcs))', assigned value is 0 chordii-4.5.3+repack/src/grid.c:218:2: note: Null pointer dereference chordii-4.5.3+repack/src/grid.c:219:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_kc_ptr [nullPointerOutOfMemory] chordii-4.5.3+repack/src/grid.c:211:37: note: Assuming allocation function fails chordii-4.5.3+repack/src/grid.c:211:15: note: Assignment 'new_kc_ptr=(struct kcs*)malloc(sizeof(dummy_kcs))', assigned value is 0 chordii-4.5.3+repack/src/grid.c:219:2: note: Null pointer dereference chordii-4.5.3+repack/src/grid.c:220:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_kc_ptr [nullPointerOutOfMemory] chordii-4.5.3+repack/src/grid.c:211:37: note: Assuming allocation function fails chordii-4.5.3+repack/src/grid.c:211:15: note: Assignment 'new_kc_ptr=(struct kcs*)malloc(sizeof(dummy_kcs))', assigned value is 0 chordii-4.5.3+repack/src/grid.c:220:2: note: Null pointer dereference chordii-4.5.3+repack/src/grid.c:221:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_kc_ptr [nullPointerOutOfMemory] chordii-4.5.3+repack/src/grid.c:211:37: note: Assuming allocation function fails chordii-4.5.3+repack/src/grid.c:211:15: note: Assignment 'new_kc_ptr=(struct kcs*)malloc(sizeof(dummy_kcs))', assigned value is 0 chordii-4.5.3+repack/src/grid.c:221:2: note: Null pointer dereference chordii-4.5.3+repack/src/grid.c:222:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_kc_ptr [nullPointerOutOfMemory] chordii-4.5.3+repack/src/grid.c:211:37: note: Assuming allocation function fails chordii-4.5.3+repack/src/grid.c:211:15: note: Assignment 'new_kc_ptr=(struct kcs*)malloc(sizeof(dummy_kcs))', assigned value is 0 chordii-4.5.3+repack/src/grid.c:222:2: note: Null pointer dereference chordii-4.5.3+repack/src/grid.c:223:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_kc_ptr [nullPointerOutOfMemory] chordii-4.5.3+repack/src/grid.c:211:37: note: Assuming allocation function fails chordii-4.5.3+repack/src/grid.c:211:15: note: Assignment 'new_kc_ptr=(struct kcs*)malloc(sizeof(dummy_kcs))', assigned value is 0 chordii-4.5.3+repack/src/grid.c:223:2: note: Null pointer dereference chordii-4.5.3+repack/src/grid.c:224:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_kc_ptr [nullPointerOutOfMemory] chordii-4.5.3+repack/src/grid.c:211:37: note: Assuming allocation function fails chordii-4.5.3+repack/src/grid.c:211:15: note: Assignment 'new_kc_ptr=(struct kcs*)malloc(sizeof(dummy_kcs))', assigned value is 0 chordii-4.5.3+repack/src/grid.c:224:2: note: Null pointer dereference chordii-4.5.3+repack/src/grid.c:225:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_kc_ptr [nullPointerOutOfMemory] chordii-4.5.3+repack/src/grid.c:211:37: note: Assuming allocation function fails chordii-4.5.3+repack/src/grid.c:211:15: note: Assignment 'new_kc_ptr=(struct kcs*)malloc(sizeof(dummy_kcs))', assigned value is 0 chordii-4.5.3+repack/src/grid.c:225:2: note: Null pointer dereference chordii-4.5.3+repack/src/grid.c:263:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] chordii-4.5.3+repack/src/grid.c:262:40: note: Assuming allocation function fails chordii-4.5.3+repack/src/grid.c:262:9: note: Assignment 'new=(struct chord_struct*)malloc(sizeof(dummy_chord_struct))', assigned value is 0 chordii-4.5.3+repack/src/grid.c:263:3: note: Null pointer dereference chordii-4.5.3+repack/src/grid.c:264:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] chordii-4.5.3+repack/src/grid.c:262:40: note: Assuming allocation function fails chordii-4.5.3+repack/src/grid.c:262:9: note: Assignment 'new=(struct chord_struct*)malloc(sizeof(dummy_chord_struct))', assigned value is 0 chordii-4.5.3+repack/src/grid.c:264:3: note: Null pointer dereference chordii-4.5.3+repack/src/grid.c:306:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] chordii-4.5.3+repack/src/grid.c:305:40: note: Assuming allocation function fails chordii-4.5.3+repack/src/grid.c:305:9: note: Assignment 'new=(struct chord_struct*)malloc(sizeof(dummy_chord_struct))', assigned value is 0 chordii-4.5.3+repack/src/grid.c:306:3: note: Null pointer dereference chordii-4.5.3+repack/src/grid.c:307:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] chordii-4.5.3+repack/src/grid.c:305:40: note: Assuming allocation function fails chordii-4.5.3+repack/src/grid.c:305:9: note: Assignment 'new=(struct chord_struct*)malloc(sizeof(dummy_chord_struct))', assigned value is 0 chordii-4.5.3+repack/src/grid.c:307:3: note: Null pointer dereference chordii-4.5.3+repack/src/grid.c:551:13: warning: Either the condition 'temp_str!=NULL' is redundant or there is possible null pointer dereference: temp_str. [nullPointerRedundantCheck] chordii-4.5.3+repack/src/grid.c:560:15: note: Assuming that condition 'temp_str!=NULL' is not redundant chordii-4.5.3+repack/src/grid.c:551:13: note: Null pointer dereference chordii-4.5.3+repack/src/grid.c:558:10: warning: Either the condition 'temp_str!=NULL' is redundant or there is possible null pointer dereference: temp_str. [nullPointerRedundantCheck] chordii-4.5.3+repack/src/grid.c:560:15: note: Assuming that condition 'temp_str!=NULL' is not redundant chordii-4.5.3+repack/src/grid.c:558:10: note: Null pointer dereference chordii-4.5.3+repack/src/grid.c:191:8: style: Parameter 'chord' can be declared as pointer to const [constParameterPointer] chordii-4.5.3+repack/src/grid.c:456:8: style: Parameter 'temp_str' can be declared as pointer to const [constParameterPointer] chordii-4.5.3+repack/src/grid.c:459:9: style: Variable 'str' can be declared as pointer to const [constVariablePointer] chordii-4.5.3+repack/src/grid.c:999:7: style: Parameter 'chord_name' can be declared as pointer to const [constParameterPointer] diff: DONE