2025-05-09 08:18 ftp://ftp.de.debian.org/debian/pool/main/a/argyll/argyll_3.3.0+repack.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=microsoft_sal --library=motif --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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 5962f16 (2025-05-09 09:54:06 +0200) count: 5063 4934 elapsed-time: 129.4 130.7 head-timing-info: old-timing-info: head results: Argyll_V3.3.0/ccast/axTLS/aes.c:308:31: style:inconclusive: Function 'AES_cbc_decrypt' argument 1 names different: declaration 'ks' definition 'ctx'. [funcArgNamesDifferent] Argyll_V3.3.0/ccast/axTLS/crypto.h:87:31: note: Function 'AES_cbc_decrypt' argument 1 names different: declaration 'ks' definition 'ctx'. Argyll_V3.3.0/ccast/axTLS/aes.c:308:31: note: Function 'AES_cbc_decrypt' argument 1 names different: declaration 'ks' definition 'ctx'. Argyll_V3.3.0/ccast/axTLS/aes.c:308:51: style:inconclusive: Function 'AES_cbc_decrypt' argument 2 names different: declaration 'in' definition 'msg'. [funcArgNamesDifferent] Argyll_V3.3.0/ccast/axTLS/crypto.h:87:50: note: Function 'AES_cbc_decrypt' argument 2 names different: declaration 'in' definition 'msg'. Argyll_V3.3.0/ccast/axTLS/aes.c:308:51: note: Function 'AES_cbc_decrypt' argument 2 names different: declaration 'in' definition 'msg'. Argyll_V3.3.0/ccast/axTLS/asn1.c:494:10: warning: If memory allocation fails, then there is a possible null pointer dereference: *str [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/asn1.c:489:30: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/asn1.c:489:16: note: Assignment '*str=(char*)malloc(len/2+1)', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/asn1.c:491:23: note: Assuming condition is false Argyll_V3.3.0/ccast/axTLS/asn1.c:494:10: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/crypto_misc.c:212:19: style: Condition 'get_random(num_rand_bytes,rand_data)' is always false [knownConditionTrueFalse] Argyll_V3.3.0/ccast/axTLS/crypto_misc.c:212:19: note: Calling function 'get_random' returns 0 Argyll_V3.3.0/ccast/axTLS/crypto_misc.c:212:19: note: Condition 'get_random(num_rand_bytes,rand_data)' is always false Argyll_V3.3.0/ccast/axTLS/bigint.c:414:11: style: Condition 'd>1' is always true [knownConditionTrueFalse] Argyll_V3.3.0/ccast/axTLS/bigint.c:408:9: note: Assignment 'd=(comp)((long_comp)4294967296ULL/(v->comps[v->size-1]+1))', assigned value is greater than 4294967295 Argyll_V3.3.0/ccast/axTLS/bigint.c:414:11: note: Condition 'd>1' is always true Argyll_V3.3.0/ccast/axTLS/bigint.c:104:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/bigint.c:101:35: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/bigint.c:101:19: note: Assignment 'ctx=(struct BI_CTX*)calloc(1,sizeof(struct BI_CTX))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/bigint.c:104:5: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/bigint.c:105:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/bigint.c:101:35: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/bigint.c:101:19: note: Assignment 'ctx=(struct BI_CTX*)calloc(1,sizeof(struct BI_CTX))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/bigint.c:105:5: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/bigint.c:106:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/bigint.c:101:35: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/bigint.c:101:19: note: Assignment 'ctx=(struct BI_CTX*)calloc(1,sizeof(struct BI_CTX))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/bigint.c:106:5: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/bigint.c:107:18: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/bigint.c:101:35: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/bigint.c:101:19: note: Assignment 'ctx=(struct BI_CTX*)calloc(1,sizeof(struct BI_CTX))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/bigint.c:107:18: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/bigint.c:1092:9: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/bigint.c:101:35: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/bigint.c:101:19: note: Assignment 'ctx=(struct BI_CTX*)calloc(1,sizeof(struct BI_CTX))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/bigint.c:104:27: note: Calling function 'alloc', 1st argument 'ctx' value is 0 Argyll_V3.3.0/ccast/axTLS/bigint.c:1092:9: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/bigint.c:1112:9: warning: If memory allocation fails, then there is a possible null pointer dereference: biR [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/bigint.c:1111:31: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/bigint.c:1111:15: note: Assignment 'biR=(struct bigint*)malloc(sizeof(struct bigint))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/bigint.c:1112:9: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/bigint.c:1113:9: warning: If memory allocation fails, then there is a possible null pointer dereference: biR [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/bigint.c:1111:31: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/bigint.c:1111:15: note: Assignment 'biR=(struct bigint*)malloc(sizeof(struct bigint))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/bigint.c:1113:9: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/bigint.c:1116:5: warning: If memory allocation fails, then there is a possible null pointer dereference: biR [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/bigint.c:1111:31: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/bigint.c:1111:15: note: Assignment 'biR=(struct bigint*)malloc(sizeof(struct bigint))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/bigint.c:1116:5: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/bigint.c:1117:5: warning: If memory allocation fails, then there is a possible null pointer dereference: biR [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/bigint.c:1111:31: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/bigint.c:1111:15: note: Assignment 'biR=(struct bigint*)malloc(sizeof(struct bigint))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/bigint.c:1117:5: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/bigint.c:1118:5: warning: If memory allocation fails, then there is a possible null pointer dereference: biR [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/bigint.c:1111:31: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/bigint.c:1111:15: note: Assignment 'biR=(struct bigint*)malloc(sizeof(struct bigint))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/bigint.c:1118:5: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/bigint.c:1119:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/bigint.c:101:35: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/bigint.c:101:19: note: Assignment 'ctx=(struct BI_CTX*)calloc(1,sizeof(struct BI_CTX))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/bigint.c:104:27: note: Calling function 'alloc', 1st argument 'ctx' value is 0 Argyll_V3.3.0/ccast/axTLS/bigint.c:1119:5: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/bigint.c:350:53: style:inconclusive: Function 'bi_int_multiply' argument 2 names different: declaration 'bi' definition 'bia'. [funcArgNamesDifferent] Argyll_V3.3.0/ccast/axTLS/bigint.c:76:53: note: Function 'bi_int_multiply' argument 2 names different: declaration 'bi' definition 'bia'. Argyll_V3.3.0/ccast/axTLS/bigint.c:350:53: note: Function 'bi_int_multiply' argument 2 names different: declaration 'bi' definition 'bia'. Argyll_V3.3.0/ccast/axTLS/bigint.c:350:63: style:inconclusive: Function 'bi_int_multiply' argument 3 names different: declaration 'i' definition 'b'. [funcArgNamesDifferent] Argyll_V3.3.0/ccast/axTLS/bigint.c:76:62: note: Function 'bi_int_multiply' argument 3 names different: declaration 'i' definition 'b'. Argyll_V3.3.0/ccast/axTLS/bigint.c:350:63: note: Function 'bi_int_multiply' argument 3 names different: declaration 'i' definition 'b'. Argyll_V3.3.0/ccast/axTLS/bigint.c:386:40: style:inconclusive: Function 'bi_divide' argument 2 names different: declaration 'bia' definition 'u'. [funcArgNamesDifferent] Argyll_V3.3.0/ccast/axTLS/bigint.h:52:40: note: Function 'bi_divide' argument 2 names different: declaration 'bia' definition 'u'. Argyll_V3.3.0/ccast/axTLS/bigint.c:386:40: note: Function 'bi_divide' argument 2 names different: declaration 'bia' definition 'u'. Argyll_V3.3.0/ccast/axTLS/bigint.c:386:51: style:inconclusive: Function 'bi_divide' argument 3 names different: declaration 'bim' definition 'v'. [funcArgNamesDifferent] Argyll_V3.3.0/ccast/axTLS/bigint.h:52:53: note: Function 'bi_divide' argument 3 names different: declaration 'bim' definition 'v'. Argyll_V3.3.0/ccast/axTLS/bigint.c:386:51: note: Function 'bi_divide' argument 3 names different: declaration 'bim' definition 'v'. Argyll_V3.3.0/ccast/axTLS/bigint.c:622:57: style:inconclusive: Function 'bi_import' argument 3 names different: declaration 'len' definition 'size'. [funcArgNamesDifferent] Argyll_V3.3.0/ccast/axTLS/bigint.h:45:57: note: Function 'bi_import' argument 3 names different: declaration 'len' definition 'size'. Argyll_V3.3.0/ccast/axTLS/bigint.c:622:57: note: Function 'bi_import' argument 3 names different: declaration 'len' definition 'size'. Argyll_V3.3.0/ccast/axTLS/bigint.c:709:37: style:inconclusive: Function 'bi_export' argument 2 names different: declaration 'bi' definition 'x'. [funcArgNamesDifferent] Argyll_V3.3.0/ccast/axTLS/bigint.h:44:37: note: Function 'bi_export' argument 2 names different: declaration 'bi' definition 'x'. Argyll_V3.3.0/ccast/axTLS/bigint.c:709:37: note: Function 'bi_export' argument 2 names different: declaration 'bi' definition 'x'. Argyll_V3.3.0/ccast/axTLS/bigint.c:1002:40: style:inconclusive: Function 'bi_square' argument 2 names different: declaration 'bi' definition 'bia'. [funcArgNamesDifferent] Argyll_V3.3.0/ccast/axTLS/bigint.h:87:40: note: Function 'bi_square' argument 2 names different: declaration 'bi' definition 'bia'. Argyll_V3.3.0/ccast/axTLS/bigint.c:1002:40: note: Function 'bi_square' argument 2 names different: declaration 'bi' definition 'bia'. Argyll_V3.3.0/ccast/axTLS/bigint.c:280:16: style: Variable 'pb' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ccast/axTLS/bigint.c:319:16: style: Variable 'pb' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ccast/axTLS/bigint.c:356:11: style: Variable 'a' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ccast/axTLS/bigint.c:565:11: style: Variable 'y' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ccast/axTLS/bigint.c:591:15: style: Variable 'y' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ccast/axTLS/bigint.c:819:11: style: Variable 'sa' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ccast/axTLS/bigint.c:820:11: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ccast/axTLS/bigint.c:952:11: style: Variable 'x' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ccast/axTLS/bigint.c:1038:15: style: Variable 'a' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ccast/axTLS/bigint.c:1039:15: style: Variable 'b' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ccast/axTLS/bigint.c:1308:70: style: Parameter 'g1' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/ccast/axTLS/md5.c:270:47: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/ccast/axTLS/loader.c:72:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ssl_obj [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/loader.c:71:37: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/loader.c:71:15: note: Assignment 'ssl_obj=(struct SSLObjLoader*)calloc(1,sizeof(struct SSLObjLoader))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/loader.c:72:5: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/loader.c:73:9: warning: If memory allocation fails, then there is a possible null pointer dereference: ssl_obj [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/loader.c:71:37: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/loader.c:71:15: note: Assignment 'ssl_obj=(struct SSLObjLoader*)calloc(1,sizeof(struct SSLObjLoader))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/loader.c:73:9: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/loader.c:115:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ssl_obj [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/loader.c:114:37: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/loader.c:114:15: note: Assignment 'ssl_obj=(struct SSLObjLoader*)calloc(1,sizeof(struct SSLObjLoader))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/loader.c:115:5: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/loader.c:116:12: warning: If memory allocation fails, then there is a possible null pointer dereference: ssl_obj [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/loader.c:114:37: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/loader.c:114:15: note: Assignment 'ssl_obj=(struct SSLObjLoader*)calloc(1,sizeof(struct SSLObjLoader))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/loader.c:116:12: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/loader.c:117:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ssl_obj [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/loader.c:114:37: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/loader.c:114:15: note: Assignment 'ssl_obj=(struct SSLObjLoader*)calloc(1,sizeof(struct SSLObjLoader))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/loader.c:117:5: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/loader.c:322:17: warning: If memory allocation fails, then there is a possible null pointer dereference: ssl_obj [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/loader.c:319:49: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/loader.c:319:27: note: Assignment 'ssl_obj=(struct SSLObjLoader*)calloc(1,sizeof(struct SSLObjLoader))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/loader.c:322:17: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/loader.c:323:17: warning: If memory allocation fails, then there is a possible null pointer dereference: ssl_obj [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/loader.c:319:49: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/loader.c:319:27: note: Assignment 'ssl_obj=(struct SSLObjLoader*)calloc(1,sizeof(struct SSLObjLoader))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/loader.c:323:17: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/loader.c:108:64: style:inconclusive: Function 'ssl_obj_memory_load' argument 2 names different: declaration 'obj_type' definition 'mem_type'. [funcArgNamesDifferent] Argyll_V3.3.0/ccast/axTLS/ssl.h:517:64: note: Function 'ssl_obj_memory_load' argument 2 names different: declaration 'obj_type' definition 'mem_type'. Argyll_V3.3.0/ccast/axTLS/loader.c:108:64: note: Function 'ssl_obj_memory_load' argument 2 names different: declaration 'obj_type' definition 'mem_type'. Argyll_V3.3.0/ccast/axTLS/cert.h:1:15: style: Variable 'default_certificate' can be declared as const array [constVariable] Argyll_V3.3.0/ccast/axTLS/rc4.c:46:25: style:inconclusive: Function 'RC4_setup' argument 1 names different: declaration 's' definition 'ctx'. [funcArgNamesDifferent] Argyll_V3.3.0/ccast/axTLS/crypto.h:99:25: note: Function 'RC4_setup' argument 1 names different: declaration 's' definition 'ctx'. Argyll_V3.3.0/ccast/axTLS/rc4.c:46:25: note: Function 'RC4_setup' argument 1 names different: declaration 's' definition 'ctx'. Argyll_V3.3.0/ccast/axTLS/rc4.c:75:25: style:inconclusive: Function 'RC4_crypt' argument 1 names different: declaration 's' definition 'ctx'. [funcArgNamesDifferent] Argyll_V3.3.0/ccast/axTLS/crypto.h:100:25: note: Function 'RC4_crypt' argument 1 names different: declaration 's' definition 'ctx'. Argyll_V3.3.0/ccast/axTLS/rc4.c:75:25: note: Function 'RC4_crypt' argument 1 names different: declaration 's' definition 'ctx'. Argyll_V3.3.0/ccast/axTLS/rc4.c:75:59: style:inconclusive: Function 'RC4_crypt' argument 3 names different: declaration 'data' definition 'out'. [funcArgNamesDifferent] Argyll_V3.3.0/ccast/axTLS/crypto.h:100:57: note: Function 'RC4_crypt' argument 3 names different: declaration 'data' definition 'out'. Argyll_V3.3.0/ccast/axTLS/rc4.c:75:59: note: Function 'RC4_crypt' argument 3 names different: declaration 'data' definition 'out'. Argyll_V3.3.0/ccast/axTLS/p12.c:173:9: warning: If memory allocation fails, then there is a possible null pointer dereference: uni_pass [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/p12.c:168:30: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/p12.c:168:16: note: Assignment 'uni_pass=(char*)malloc((strlen(password)+1)*2)', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/p12.c:173:9: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/p12.c:174:9: warning: If memory allocation fails, then there is a possible null pointer dereference: uni_pass [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/p12.c:168:30: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/p12.c:168:16: note: Assignment 'uni_pass=(char*)malloc((strlen(password)+1)*2)', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/p12.c:174:9: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/p12.c:177:5: warning: If memory allocation fails, then there is a possible null pointer dereference: uni_pass [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/p12.c:168:30: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/p12.c:168:16: note: Assignment 'uni_pass=(char*)malloc((strlen(password)+1)*2)', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/p12.c:177:5: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/p12.c:178:5: warning: If memory allocation fails, then there is a possible null pointer dereference: uni_pass [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/p12.c:168:30: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/p12.c:168:16: note: Assignment 'uni_pass=(char*)malloc((strlen(password)+1)*2)', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/p12.c:178:5: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/p12.c:288:12: warning: If memory allocation fails, then there is a possible null pointer dereference: auth_safes [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/p12.c:286:24: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/p12.c:286:24: note: Assignment 'auth_safes=malloc(auth_safes_len)', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/p12.c:288:12: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/p12.c:239:58: style: Variable 'orig_mac' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ccast/axTLS/rsa.c:154:9: error: Memory leak: block [memleak] Argyll_V3.3.0/ccast/axTLS/rsa.c:91:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rsa_ctx [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/rsa.c:89:29: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/rsa.c:89:12: note: Assignment '*ctx=(struct RSA_CTX*)calloc(1,sizeof(struct RSA_CTX))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/rsa.c:90:13: note: rsa_ctx is assigned '*ctx' here. Argyll_V3.3.0/ccast/axTLS/rsa.c:91:5: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/rsa.c:92:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rsa_ctx [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/rsa.c:89:29: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/rsa.c:89:12: note: Assignment '*ctx=(struct RSA_CTX*)calloc(1,sizeof(struct RSA_CTX))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/rsa.c:90:13: note: rsa_ctx is assigned '*ctx' here. Argyll_V3.3.0/ccast/axTLS/rsa.c:92:5: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/rsa.c:93:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rsa_ctx [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/rsa.c:89:29: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/rsa.c:89:12: note: Assignment '*ctx=(struct RSA_CTX*)calloc(1,sizeof(struct RSA_CTX))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/rsa.c:90:15: note: Assignment 'rsa_ctx=*ctx', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/rsa.c:93:5: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/rsa.c:94:24: warning: If memory allocation fails, then there is a possible null pointer dereference: rsa_ctx [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/rsa.c:89:29: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/rsa.c:89:12: note: Assignment '*ctx=(struct RSA_CTX*)calloc(1,sizeof(struct RSA_CTX))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/rsa.c:90:15: note: Assignment 'rsa_ctx=*ctx', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/rsa.c:94:24: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/rsa.c:95:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rsa_ctx [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/rsa.c:89:29: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/rsa.c:89:12: note: Assignment '*ctx=(struct RSA_CTX*)calloc(1,sizeof(struct RSA_CTX))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/rsa.c:90:15: note: Assignment 'rsa_ctx=*ctx', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/rsa.c:95:5: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/rsa.c:96:18: warning: If memory allocation fails, then there is a possible null pointer dereference: rsa_ctx [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/rsa.c:89:29: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/rsa.c:89:12: note: Assignment '*ctx=(struct RSA_CTX*)calloc(1,sizeof(struct RSA_CTX))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/rsa.c:90:15: note: Assignment 'rsa_ctx=*ctx', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/rsa.c:96:18: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/rsa.c:170:9: warning: If memory allocation fails, then there is a possible null pointer dereference: block [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/rsa.c:150:39: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/rsa.c:150:22: note: Assignment 'block=(uint8_t*)malloc(byte_size)', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/rsa.c:153:17: note: Assuming condition is false Argyll_V3.3.0/ccast/axTLS/rsa.c:170:9: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/rsa.c:238:12: warning: If memory allocation fails, then there is a possible null pointer dereference: block [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/rsa.c:225:39: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/rsa.c:225:22: note: Assignment 'block=(uint8_t*)malloc(byte_size)', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/rsa.c:238:12: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/rsa.c:242:23: warning: If memory allocation fails, then there is a possible null pointer dereference: block [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/rsa.c:225:39: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/rsa.c:225:22: note: Assignment 'block=(uint8_t*)malloc(byte_size)', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/rsa.c:242:23: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/rsa.c:43:33: style:inconclusive: Function 'RSA_priv_key_new' argument 1 names different: declaration 'rsa_ctx' definition 'ctx'. [funcArgNamesDifferent] Argyll_V3.3.0/ccast/axTLS/crypto.h:226:33: note: Function 'RSA_priv_key_new' argument 1 names different: declaration 'rsa_ctx' definition 'ctx'. Argyll_V3.3.0/ccast/axTLS/rsa.c:43:33: note: Function 'RSA_priv_key_new' argument 1 names different: declaration 'rsa_ctx' definition 'ctx'. Argyll_V3.3.0/ccast/axTLS/rsa.c:78:32: style:inconclusive: Function 'RSA_pub_key_new' argument 1 names different: declaration 'rsa_ctx' definition 'ctx'. [funcArgNamesDifferent] Argyll_V3.3.0/ccast/axTLS/crypto.h:238:32: note: Function 'RSA_pub_key_new' argument 1 names different: declaration 'rsa_ctx' definition 'ctx'. Argyll_V3.3.0/ccast/axTLS/rsa.c:78:32: note: Function 'RSA_pub_key_new' argument 1 names different: declaration 'rsa_ctx' definition 'ctx'. Argyll_V3.3.0/ccast/axTLS/rsa.c:102:24: style:inconclusive: Function 'RSA_free' argument 1 names different: declaration 'ctx' definition 'rsa_ctx'. [funcArgNamesDifferent] Argyll_V3.3.0/ccast/axTLS/crypto.h:241:24: note: Function 'RSA_free' argument 1 names different: declaration 'ctx' definition 'rsa_ctx'. Argyll_V3.3.0/ccast/axTLS/rsa.c:102:24: note: Function 'RSA_free' argument 1 names different: declaration 'ctx' definition 'rsa_ctx'. Argyll_V3.3.0/ccast/axTLS/sha384.c:38:31: style:inconclusive: Function 'SHA384_Init' argument 1 names different: declaration 'c' definition 'ctx'. [funcArgNamesDifferent] Argyll_V3.3.0/ccast/axTLS/crypto.h:175:30: note: Function 'SHA384_Init' argument 1 names different: declaration 'c' definition 'ctx'. Argyll_V3.3.0/ccast/axTLS/sha384.c:38:31: note: Function 'SHA384_Init' argument 1 names different: declaration 'c' definition 'ctx'. Argyll_V3.3.0/ccast/axTLS/sha384.c:59:53: style:inconclusive: Function 'SHA384_Update' argument 2 names different: declaration 'input' definition 'msg'. [funcArgNamesDifferent] Argyll_V3.3.0/ccast/axTLS/crypto.h:176:49: note: Function 'SHA384_Update' argument 2 names different: declaration 'input' definition 'msg'. Argyll_V3.3.0/ccast/axTLS/sha384.c:59:53: note: Function 'SHA384_Update' argument 2 names different: declaration 'input' definition 'msg'. Argyll_V3.3.0/ccast/axTLS/sha512.c:84:30: style:inconclusive: Function 'SHA512_Init' argument 1 names different: declaration 'c' definition 'ctx'. [funcArgNamesDifferent] Argyll_V3.3.0/ccast/axTLS/crypto.h:164:30: note: Function 'SHA512_Init' argument 1 names different: declaration 'c' definition 'ctx'. Argyll_V3.3.0/ccast/axTLS/sha512.c:84:30: note: Function 'SHA512_Init' argument 1 names different: declaration 'c' definition 'ctx'. Argyll_V3.3.0/ccast/axTLS/sha512.c:157:53: style:inconclusive: Function 'SHA512_Update' argument 2 names different: declaration 'input' definition 'msg'. [funcArgNamesDifferent] Argyll_V3.3.0/ccast/axTLS/crypto.h:165:49: note: Function 'SHA512_Update' argument 2 names different: declaration 'input' definition 'msg'. Argyll_V3.3.0/ccast/axTLS/sha512.c:157:53: note: Function 'SHA512_Update' argument 2 names different: declaration 'input' definition 'msg'. Argyll_V3.3.0/ccast/axTLS/tls1.c:1150:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ccast/axTLS/tls1.c:1395:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ccast/axTLS/tls1.c:1582:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ccast/axTLS/tls1_clnt.c:510:9: style: Condition 'rsa_ctx' is always true [knownConditionTrueFalse] Argyll_V3.3.0/ccast/axTLS/tls1_clnt.c:427:14: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ccast/axTLS/tls1_clnt.c:481:14: style: Variable 'rsa_ctx' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ccast/axTLS/tls1.c:171:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ssl_ctx [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/tls1.c:170:41: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/tls1.c:170:24: note: Assignment 'ssl_ctx=(struct SSL_CTX*)calloc(1,sizeof(struct SSL_CTX))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/tls1.c:171:5: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/tls1.c:640:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ssl [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/tls1.c:639:29: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/tls1.c:639:16: note: Assignment 'ssl=(struct SSL*)calloc(1,sizeof(struct SSL))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/tls1.c:640:5: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/tls1.c:641:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ssl [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/tls1.c:639:29: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/tls1.c:639:16: note: Assignment 'ssl=(struct SSL*)calloc(1,sizeof(struct SSL))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/tls1.c:641:5: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/tls1.c:642:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ssl [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/tls1.c:639:29: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/tls1.c:639:16: note: Assignment 'ssl=(struct SSL*)calloc(1,sizeof(struct SSL))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/tls1.c:642:5: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/tls1.c:644:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ssl [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/tls1.c:639:29: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/tls1.c:639:16: note: Assignment 'ssl=(struct SSL*)calloc(1,sizeof(struct SSL))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/tls1.c:644:5: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/tls1.c:645:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ssl [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/tls1.c:639:29: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/tls1.c:639:16: note: Assignment 'ssl=(struct SSL*)calloc(1,sizeof(struct SSL))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/tls1.c:645:5: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/tls1.c:645:20: warning: If memory allocation fails, then there is a possible null pointer dereference: ssl [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/tls1.c:639:29: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/tls1.c:639:16: note: Assignment 'ssl=(struct SSL*)calloc(1,sizeof(struct SSL))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/tls1.c:645:20: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/tls1.c:646:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ssl [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/tls1.c:639:29: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/tls1.c:639:16: note: Assignment 'ssl=(struct SSL*)calloc(1,sizeof(struct SSL))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/tls1.c:646:5: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/tls1.c:648:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ssl [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/tls1.c:639:29: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/tls1.c:639:16: note: Assignment 'ssl=(struct SSL*)calloc(1,sizeof(struct SSL))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/tls1.c:648:5: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/tls1.c:649:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ssl [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/tls1.c:639:29: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/tls1.c:639:16: note: Assignment 'ssl=(struct SSL*)calloc(1,sizeof(struct SSL))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/tls1.c:649:2: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/tls1.c:650:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ssl [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/tls1.c:639:29: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/tls1.c:639:16: note: Assignment 'ssl=(struct SSL*)calloc(1,sizeof(struct SSL))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/tls1.c:650:5: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/tls1.c:650:21: warning: If memory allocation fails, then there is a possible null pointer dereference: ssl [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/tls1.c:639:29: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/tls1.c:639:16: note: Assignment 'ssl=(struct SSL*)calloc(1,sizeof(struct SSL))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/tls1.c:650:21: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/tls1.c:658:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ssl [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/tls1.c:639:29: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/tls1.c:639:16: note: Assignment 'ssl=(struct SSL*)calloc(1,sizeof(struct SSL))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/tls1.c:658:5: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/tls1.c:732:12: warning: If memory allocation fails, then there is a possible null pointer dereference: t_buf [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/tls1.c:730:39: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/tls1.c:730:22: note: Assignment 't_buf=(uint8_t*)malloc(hmac_len)', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/tls1.c:732:12: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/tls1.c:2020:9: warning: If memory allocation fails, then there is a possible null pointer dereference: ssl [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/tls1.c:639:29: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/tls1.c:639:16: note: Assignment 'ssl=(struct SSL*)calloc(1,sizeof(struct SSL))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/tls1.c:655:20: note: Calling function 'disposable_new', 1st argument 'ssl' value is 0 Argyll_V3.3.0/ccast/axTLS/tls1.c:2020:9: note: Null pointer dereference Argyll_V3.3.0/ccast/axTLS/tls1.c:1256:26: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] Argyll_V3.3.0/ccast/axTLS/tls1.c:1255:36: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/tls1.c:1255:36: note: Assignment 't_buf=malloc(msg_length+iv_size)', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/tls1.c:1256:26: note: Null pointer addition Argyll_V3.3.0/ccast/axTLS/tls1.c:2328:47: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] Argyll_V3.3.0/ccast/axTLS/tls1.c:2314:32: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/tls1.c:2314:13: note: Assignment 'certs=(struct X509_CTX**)calloc(num_certs,sizeof(void*))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/tls1.c:2328:47: note: Null pointer addition Argyll_V3.3.0/ccast/axTLS/tls1.c:726:43: style:inconclusive: Function 'add_hmac_digest' argument 2 names different: declaration 'snd' definition 'mode'. [funcArgNamesDifferent] Argyll_V3.3.0/ccast/axTLS/tls1.c:133:43: note: Function 'add_hmac_digest' argument 2 names different: declaration 'snd' definition 'mode'. Argyll_V3.3.0/ccast/axTLS/tls1.c:726:43: note: Function 'add_hmac_digest' argument 2 names different: declaration 'snd' definition 'mode'. Argyll_V3.3.0/ccast/axTLS/tls1.c:680:53: style: Parameter 'ssl_obj' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/ccast/axTLS/tls1.c:877:18: style: Parameter 'seed' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/ccast/axTLS/tls1.c:905:18: style: Parameter 'seed' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/ccast/axTLS/tls1.c:933:18: style: Parameter 'seed' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/ccast/axTLS/tls1.c:960:22: style: Parameter 'ssl' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/ccast/axTLS/tls1.c:1012:18: style: Parameter 'client_random' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/ccast/axTLS/tls1.c:1012:42: style: Parameter 'server_random' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/ccast/axTLS/tls1.c:1013:18: style: Parameter 'master_secret' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/ccast/axTLS/tls1.c:1081:29: style: Parameter 'ssl' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/ccast/axTLS/tls1.c:1081:43: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/ccast/axTLS/tls1.c:1081:57: style: Parameter 'iv' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/ccast/axTLS/tls1.c:1941:41: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/ccast/axTLS/tls1.c:1992:19: style: Variable 'cert' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ccast/axTLS/tls1.c:2231:19: style: Variable 'cert' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ccast/axTLS/tls1_svr.c:377:14: style: Variable 'rsa_ctx' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ccast/ccmdns.c:275:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOL_SOCKET [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ccast/ccmdns.c:395:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_INET [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ccast/ccmdns.c:470:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ccast/ccmdns.c:558:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ccast/ccmdns.c:957:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ccast/ccast.c:543:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yajl_t_string [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ccast/ccast.c:892:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yajl_t_array [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ccast/ccast.c:1037:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ccast/ccast.c:1054:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lock [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ccast/ccast.c:1087:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ccast/ccast.c:1106:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ccast/axTLS/sha256.c:62:30: style:inconclusive: Function 'SHA256_Init' argument 1 names different: declaration 'c' definition 'ctx'. [funcArgNamesDifferent] Argyll_V3.3.0/ccast/axTLS/crypto.h:138:30: note: Function 'SHA256_Init' argument 1 names different: declaration 'c' definition 'ctx'. Argyll_V3.3.0/ccast/axTLS/sha256.c:62:30: note: Function 'SHA256_Init' argument 1 names different: declaration 'c' definition 'ctx'. Argyll_V3.3.0/ccast/axTLS/sha256.c:211:53: style:inconclusive: Function 'SHA256_Update' argument 2 names different: declaration 'input' definition 'msg'. [funcArgNamesDifferent] Argyll_V3.3.0/ccast/axTLS/crypto.h:139:49: note: Function 'SHA256_Update' argument 2 names different: declaration 'input' definition 'msg'. Argyll_V3.3.0/ccast/axTLS/sha256.c:211:53: note: Function 'SHA256_Update' argument 2 names different: declaration 'input' definition 'msg'. Argyll_V3.3.0/ccast/ccmdns.c:560:15: style: Condition 'init_mDNS()' is always false [knownConditionTrueFalse] Argyll_V3.3.0/ccast/ccmdns.c:560:15: note: Calling function 'init_mDNS' returns 0 Argyll_V3.3.0/ccast/ccmdns.c:560:15: note: Condition 'init_mDNS()' is always false Argyll_V3.3.0/ccast/ccmdns.c:380:2: error: Resource leak: sock [resourceLeak] Argyll_V3.3.0/ccast/ccmdns.c:765:12: style: Redundant initialization for 'toff'. The initialized value is overwritten before it is read. [redundantInitialization] Argyll_V3.3.0/ccast/ccmdns.c:759:20: note: toff is initialized Argyll_V3.3.0/ccast/ccmdns.c:765:12: note: toff is overwritten Argyll_V3.3.0/ccast/ccmdns.c:1031:29: style:inconclusive: Function 'parse_dns' argument 1 names different: declaration 'name' definition 'pname'. [funcArgNamesDifferent] Argyll_V3.3.0/ccast/ccmdns.c:432:29: note: Function 'parse_dns' argument 1 names different: declaration 'name' definition 'pname'. Argyll_V3.3.0/ccast/ccmdns.c:1031:29: note: Function 'parse_dns' argument 1 names different: declaration 'name' definition 'pname'. Argyll_V3.3.0/ccast/ccmdns.c:1031:43: style:inconclusive: Function 'parse_dns' argument 2 names different: declaration 'ip' definition 'pip'. [funcArgNamesDifferent] Argyll_V3.3.0/ccast/ccmdns.c:432:42: note: Function 'parse_dns' argument 2 names different: declaration 'ip' definition 'pip'. Argyll_V3.3.0/ccast/ccmdns.c:1031:43: note: Function 'parse_dns' argument 2 names different: declaration 'ip' definition 'pip'. Argyll_V3.3.0/ccast/ccmdns.c:202:51: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/ccast/ccmdns.c:630:45: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/ccast/ccmdns.c:635:36: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/ccast/ccmdns.c:231:6: style: Unused variable: off [unusedVariable] Argyll_V3.3.0/ccast/ccmdns.c:455:6: style: Unused variable: off [unusedVariable] Argyll_V3.3.0/ccast/ccmdns.c:457:21: style: Unused variable: stSourceAddr [unusedVariable] Argyll_V3.3.0/ccast/ccmdns.c:665:9: style: Variable 'd1' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/ccast/ccmdns.c:738:6: style: Variable 'd1' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/ccast/ccmdns.c:804:8: style: Variable 'qtype' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/ccast/ccmdns.c:809:9: style: Variable 'qclass' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/ccast/ccmdns.c:1042:5: style: Variable 'id' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/ccast/ccmes.c:182:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXTENSIONS__API__CAST_CHANNEL__CAST_MESSAGE__INIT [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ccast/ccmdns.c:1046:8: style: Variable 'flags' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/ccast/ccmes.c:262:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXTENSIONS__API__CAST_CHANNEL__CAST_MESSAGE__PAYLOAD_TYPE__BINARY [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ccast/ccpacket.c:152:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ccast/ccpacket.c:352:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSL_ERROR_WANT_READ [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ccast/ccpacket.c:417:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSL_ERROR_WANT_READ [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ccast/cctest.c:71:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ccast/cctest.c:101:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yajl_t_number [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ccast/cctest.c:212:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yajl_t_string [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ccast/ccpacket.c:392:30: style: Redundant assignment of 'ibuf[2]' to itself. [selfAssignment] Argyll_V3.3.0/ccast/ccpacket.c:270:8: style: Parameter 'dip' can be declared as pointer to const. However it seems that 'connect_ccpacket' is a callback function, if 'dip' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/ccast/ccpacket.c:611:17: note: You might need to cast the function pointer here Argyll_V3.3.0/ccast/ccpacket.c:270:8: note: Parameter 'dip' can be declared as pointer to const Argyll_V3.3.0/ccast/ccpacket.c:301:8: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'send_ccpacket' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/ccast/ccpacket.c:613:17: note: You might need to cast the function pointer here Argyll_V3.3.0/ccast/ccpacket.c:301:8: note: Parameter 'buf' can be declared as pointer to const Argyll_V3.3.0/ccast/ccpacket.c:144:20: style: Variable 'sesid' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/ccast/ccpacket.c:243:10: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/ccast/ccpacket.c:189:17: style: Unused variable: ling [unusedVariable] Argyll_V3.3.0/ccast/ccpacket.c:472:8: style: Variable 'ioff' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/ccast/ccpacket.c:525:8: style: Variable 'ioff' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/ccast/cctest.c:146:6: warning: Either the condition '(ids=get_ccids())==NULL' is redundant or there is possible null pointer dereference: ids. [nullPointerRedundantCheck] Argyll_V3.3.0/ccast/cctest.c:142:26: note: Assuming that condition '(ids=get_ccids())==NULL' is not redundant Argyll_V3.3.0/ccast/cctest.c:146:6: note: Null pointer dereference Argyll_V3.3.0/ccast/cctest.c:160:14: warning:inconclusive: Either the condition '(pk=new_ccpacket())==NULL' is redundant or there is possible null pointer dereference: pk. [nullPointerRedundantCheck] Argyll_V3.3.0/ccast/cctest.c:156:28: note: Assuming that condition '(pk=new_ccpacket())==NULL' is not redundant Argyll_V3.3.0/ccast/cctest.c:160:14: note: Null pointer dereference Argyll_V3.3.0/ccast/cctest.c:170:14: warning:inconclusive: Either the condition '(mesv=new_ccmessv(pk))==NULL' is redundant or there is possible null pointer dereference: mesv. [nullPointerRedundantCheck] Argyll_V3.3.0/ccast/cctest.c:165:31: note: Assuming that condition '(mesv=new_ccmessv(pk))==NULL' is not redundant Argyll_V3.3.0/ccast/cctest.c:170:14: note: Null pointer dereference Argyll_V3.3.0/ccast/cctest.c:92:7: style: Local variable 'id' shadows outer variable [shadowVariable] Argyll_V3.3.0/ccast/cctest.c:86:6: note: Shadowed declaration Argyll_V3.3.0/ccast/cctest.c:92:7: note: Shadow variable Argyll_V3.3.0/ccast/cctest.c:122:35: style: Parameter 'mesv' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/ccast/cctest.c:138:8: style: Variable 'sessionId' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ccast/cctest.c:69:7: error: Uninitialized variable: binary [uninitvar] Argyll_V3.3.0/ccast/cctest.c:53:8: style: Unused variable: source_id [unusedVariable] Argyll_V3.3.0/ccast/cctest.c:54:8: style: Unused variable: destination_id [unusedVariable] Argyll_V3.3.0/ccast/cctest.c:55:8: style: Unused variable: namespace [unusedVariable] Argyll_V3.3.0/ccast/cctest.c:58:8: style: Unused variable: bin_len [unusedVariable] Argyll_V3.3.0/ccast/cctest.c:86:6: style: Unused variable: id [unusedVariable] Argyll_V3.3.0/ccast/ccast.c:370:3: error:inconclusive: Using object that points to local variable 'mesbuf' that is out of scope. [invalidLifetime] Argyll_V3.3.0/ccast/ccast.c:364:24: note: Array decayed to pointer here. Argyll_V3.3.0/ccast/ccast.c:357:8: note: Variable created here. Argyll_V3.3.0/ccast/ccast.c:370:3: note: Using object that points to local variable 'mesbuf' that is out of scope. Argyll_V3.3.0/ccast/ccast.c:979:20: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/ccast/ccast.c:667:6: note: Shadowed declaration Argyll_V3.3.0/ccast/ccast.c:979:20: note: Shadow variable Argyll_V3.3.0/ccast/ccast.c:407:8: style: Variable 'heartbeat_chan' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ccast/ccast.c:481:10: style: Variable 'appid' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ccast/ccast.c:602:34: style: Parameter 'p' can be declared as pointer to const. However it seems that 'get_load_delay' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/ccast/ccast.c:627:23: note: You might need to cast the function pointer here Argyll_V3.3.0/ccast/ccast.c:602:34: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/ccast/ccast.c:608:35: style: Parameter 'p' can be declared as pointer to const. However it seems that 'get_direct_send' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/ccast/ccast.c:628:23: note: You might need to cast the function pointer here Argyll_V3.3.0/ccast/ccast.c:608:35: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/ccast/ccast.c:1136:50: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/ccast/ccast.c:1214:54: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/ccast/ccast.c:1244:51: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/ccast/ccast.c:1265:54: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/ccast/ccast.c:1297:50: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/ccast/ccast.c:137:14: style: Variable 'merr' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/ccast/ccast.c:83:7: style: Unused variable: errbuf [unusedVariable] Argyll_V3.3.0/ccast/ccast.c:84:11: style: Unused variable: tyn [unusedVariable] Argyll_V3.3.0/ccast/ccast.c:84:16: style: Unused variable: idn [unusedVariable] Argyll_V3.3.0/ccast/ccast.c:407:8: style: Variable 'heartbeat_chan' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/ccast/ccast.c:896:26: style: Variable 'error' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/ccast/ccast.c:965:23: style: Variable 'error' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/ccast/ccast.c:664:8: style: Variable 'receiver_chan' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/ccast/ccast.c:896:20: style: Variable 'error' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/ccast/ccast.c:965:17: style: Variable 'error' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/ccast/ccast.c:979:14: style: Unused variable: node [unusedVariable] Argyll_V3.3.0/ccast/chan/protobuf-c.c:572:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable len [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ccast/chan/protobuf-c.c:1446:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable protobuf_c_buffer_simple_append [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ccast/chan/protobuf-c.c:3002:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ccast/filt.c:513:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ccast/filt.c:213:8: error: Array 'filt[2][2]' accessed at index filt[*][*][-6], which is out of bounds. [negativeIndex] Argyll_V3.3.0/ccast/filt.c:212:13: note: Assignment 'j=-6', assigned value is -6 Argyll_V3.3.0/ccast/filt.c:213:8: note: Negative array index Argyll_V3.3.0/ccast/filt.c:214:9: error: Array 'filtx[2][2]' accessed at index filtx[*][*][-6], which is out of bounds. [negativeIndex] Argyll_V3.3.0/ccast/filt.c:212:13: note: Assignment 'j=-6', assigned value is -6 Argyll_V3.3.0/ccast/filt.c:214:9: note: Negative array index Argyll_V3.3.0/ccast/filt.c:215:9: error: Array 'filtn[2][2]' accessed at index filtn[*][*][-6], which is out of bounds. [negativeIndex] Argyll_V3.3.0/ccast/filt.c:212:13: note: Assignment 'j=-6', assigned value is -6 Argyll_V3.3.0/ccast/filt.c:215:9: note: Negative array index Argyll_V3.3.0/ccast/filt.c:265:8: error: Array 'filt[2][2]' accessed at index filt[*][*][-6], which is out of bounds. [negativeIndex] Argyll_V3.3.0/ccast/filt.c:264:13: note: Assignment 'j=-6', assigned value is -6 Argyll_V3.3.0/ccast/filt.c:265:8: note: Negative array index Argyll_V3.3.0/ccast/filt.c:204:14: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/ccast/filt.c:281:9: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/ccast/filt.c:359:7: style: Variable 'jj' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/ccast/filt.c:369:12: style: Unused variable: rgb [unusedVariable] Argyll_V3.3.0/ccast/filt.c:369:20: style: Unused variable: ycc [unusedVariable] Argyll_V3.3.0/ccast/filt.c:428:6: style: Unused variable: range [unusedVariable] Argyll_V3.3.0/ccast/filt.c:429:9: style: Unused variable: xc [unusedVariable] Argyll_V3.3.0/ccast/filt.c:429:13: style: Unused variable: x [unusedVariable] Argyll_V3.3.0/ccast/filt.c:429:20: style: Unused variable: tw [unusedVariable] Argyll_V3.3.0/ccast/filt.c:429:24: style: Unused variable: w [unusedVariable] Argyll_V3.3.0/ccast/filt.c:429:27: style: Unused variable: y [unusedVariable] Argyll_V3.3.0/ccast/filt.c:430:9: style: Unused variable: cout [unusedVariable] Argyll_V3.3.0/ccast/filt.c:444:10: style: Unused variable: prop [unusedVariable] Argyll_V3.3.0/ccast/filt.c:486:14: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/ccast/filt.c:488:9: style: Unused variable: err [unusedVariable] Argyll_V3.3.0/ccast/filt.c:489:9: style: Unused variable: cp [unusedVariable] Argyll_V3.3.0/ccast/filt.c:490:9: style: Unused variable: s [unusedVariable] Argyll_V3.3.0/ccast/dpat.c:468:5: error: Array 'bw[8]' accessed at index -1, which is out of bounds. [negativeIndex] Argyll_V3.3.0/ccast/dpat.c:416:2: note: After for loop, nsur has value 0 Argyll_V3.3.0/ccast/dpat.c:468:5: note: Negative array index Argyll_V3.3.0/ccast/dpat.c:476:9: error: Array 'bw[8]' accessed at index -1, which is out of bounds. [negativeIndex] Argyll_V3.3.0/ccast/dpat.c:416:2: note: After for loop, nsur has value 0 Argyll_V3.3.0/ccast/dpat.c:476:9: note: Negative array index Argyll_V3.3.0/ccast/dpat.c:481:5: error: Array 'bw[8]' accessed at index -1, which is out of bounds. [negativeIndex] Argyll_V3.3.0/ccast/dpat.c:416:2: note: After for loop, nsur has value 0 Argyll_V3.3.0/ccast/dpat.c:481:5: note: Negative array index Argyll_V3.3.0/ccast/dpat.c:481:24: error: Array 'bw[8]' accessed at index -1, which is out of bounds. [negativeIndex] Argyll_V3.3.0/ccast/dpat.c:416:2: note: After for loop, nsur has value 0 Argyll_V3.3.0/ccast/dpat.c:481:24: note: Negative array index Argyll_V3.3.0/ccast/dpat.c:247:10: style: Local variable 'dist' shadows outer variable [shadowVariable] Argyll_V3.3.0/ccast/dpat.c:234:9: note: Shadowed declaration Argyll_V3.3.0/ccast/dpat.c:247:10: note: Shadow variable Argyll_V3.3.0/ccast/dpat.c:321:43: style: Parameter 'tp' can be declared as const array. However it seems that 'optfunc' is a callback function, if 'tp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/ccast/dpat.c:465:44: note: You might need to cast the function pointer here Argyll_V3.3.0/ccast/dpat.c:321:43: note: Parameter 'tp' can be declared as const array Argyll_V3.3.0/ccast/dpat.c:234:9: style: Unused variable: dist [unusedVariable] Argyll_V3.3.0/ccast/dpat.c:235:9: style: Unused variable: brgb [unusedVariable] Argyll_V3.3.0/ccast/dpat.c:235:18: style: Unused variable: borgb [unusedVariable] Argyll_V3.3.0/ccast/dpat.c:609:10: style: Unused variable: wycc [unusedVariable] Argyll_V3.3.0/ccast/dpat.c:609:16: style: Unused variable: mm [unusedVariable] Argyll_V3.3.0/ccast/dpat.c:610:10: style: Unused variable: cell [unusedVariable] Argyll_V3.3.0/ccast/dpat.c:611:10: style: Unused variable: ccell [unusedVariable] Argyll_V3.3.0/ccast/dpat.c:612:10: style: Unused variable: pcell [unusedVariable] Argyll_V3.3.0/cgats/parsstd.c:395:0: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] Argyll_V3.3.0/cgats/parsstd.c:395:3: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] Argyll_V3.3.0/gamut/GenRMGam.c:737:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/gamut/GenRMGam.c:755:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/gamut/GenRMGam.c:819:3: warning: Either the condition '(cam=new_icxcam(cam_CIECAM02))==NULL' is redundant or there is possible null pointer dereference: cam. [nullPointerRedundantCheck] Argyll_V3.3.0/gamut/GenRMGam.c:816:40: note: Assuming that condition '(cam=new_icxcam(cam_CIECAM02))==NULL' is not redundant Argyll_V3.3.0/gamut/GenRMGam.c:819:3: note: Null pointer dereference Argyll_V3.3.0/gamut/GenRMGam.c:806:11: style: Local variable 'wp' shadows outer variable [shadowVariable] Argyll_V3.3.0/gamut/GenRMGam.c:758:9: note: Shadowed declaration Argyll_V3.3.0/gamut/GenRMGam.c:806:11: note: Shadow variable Argyll_V3.3.0/gamut/GenRMGam.c:736:18: style: Parameter 'diag' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/gamut/GenRMGam.c:767:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/gamut/GenRMGam.c:753:12: style: Variable 'dolab' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/gamut/GenRMGam.c:765:7: style: Variable 'nfa' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/gamut/GenRMGam.c:770:8: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/gamut/GenRMGam.c:775:10: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/gamut/GenRMGam.c:790:11: style: Variable 'dolab' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/ccast/chan/protobuf-c.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] Argyll_V3.3.0/gamut/GenVisGam.c:123:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmD50 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ccast/chan/protobuf-c.c:2288:14: style: Condition '*pstr!=NULL' is always true [knownConditionTrueFalse] Argyll_V3.3.0/ccast/chan/protobuf-c.c:704:19: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] Argyll_V3.3.0/ccast/chan/protobuf-c.c:705:19: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] Argyll_V3.3.0/ccast/chan/protobuf-c.c:706:19: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] Argyll_V3.3.0/ccast/chan/protobuf-c.c:707:19: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] Argyll_V3.3.0/ccast/chan/protobuf-c.c:2682:61: style:inconclusive: Function 'protobuf_c_message_unpack' argument 1 names different: declaration 'descriptor' definition 'desc'. [funcArgNamesDifferent] Argyll_V3.3.0/ccast/chan/protobuf-c.h:929:36: note: Function 'protobuf_c_message_unpack' argument 1 names different: declaration 'descriptor' definition 'desc'. Argyll_V3.3.0/ccast/chan/protobuf-c.c:2682:61: note: Function 'protobuf_c_message_unpack' argument 1 names different: declaration 'descriptor' definition 'desc'. Argyll_V3.3.0/ccast/chan/protobuf-c.c:2939:12: style: Local variable 'j' shadows outer variable [shadowVariable] Argyll_V3.3.0/ccast/chan/protobuf-c.c:2704:11: note: Shadowed declaration Argyll_V3.3.0/ccast/chan/protobuf-c.c:2939:12: note: Shadow variable Argyll_V3.3.0/ccast/chan/protobuf-c.c:145:20: style: Parameter 'allocator_data' can be declared as pointer to const. However it seems that 'system_alloc' is a callback function, if 'allocator_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/ccast/chan/protobuf-c.c:180:3: note: You might need to cast the function pointer here Argyll_V3.3.0/ccast/chan/protobuf-c.c:145:20: note: Parameter 'allocator_data' can be declared as pointer to const Argyll_V3.3.0/ccast/chan/protobuf-c.c:1998:14: style: Variable 'e_data' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ccast/chan/protobuf-c.c:1998:23: style: Variable 'l_data' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ccast/chan/protobuf-c.c:2015:11: style: Variable 'e_str' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ccast/chan/protobuf-c.c:2015:19: style: Variable 'l_str' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ccast/chan/protobuf-c.c:2408:45: style: Parameter 'scanned_member' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/ccast/chan/protobuf-c.c:3075:12: style: Variable 'quantity' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ccast/chan/protobuf-c.c:3096:26: style: Variable 'bd' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ccast/chan/protobuf-c.c:3107:23: style: Variable 'submessage' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ccast/chan/protobuf-c.c:3113:11: style: Variable 'string' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ccast/chan/protobuf-c.c:3117:25: style: Variable 'has' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ccast/chan/protobuf-c.c:3118:26: style: Variable 'bd' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ccast/chan/protobuf-c.c:3176:9: warning: Size of pointer 'service' used instead of size of its data. [pointerSize] Argyll_V3.3.0/ccast/chan/protobuf-c.c:1659:7: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/ccast/chan/protobuf-c.c:2455:33: style: Variable '((int32_t*)array)[count++]' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/ccast/chan/protobuf-c.c:2467:33: style: Variable '((int32_t*)array)[count++]' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/ccast/chan/protobuf-c.c:2480:34: style: Variable '((uint32_t*)array)[count++]' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/ccast/chan/protobuf-c.c:2493:33: style: Variable '((int64_t*)array)[count++]' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/ccast/chan/protobuf-c.c:2506:33: style: Variable '((int64_t*)array)[count++]' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/ccast/chan/protobuf-c.c:2518:38: style: Variable '((protobuf_c_boolean*)array)[i]' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/gamut/gammap.c:620:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/gamut/gammap.c:2485:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/gamut/gammap.c:2596:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/cgats/cgats.c:1351:11: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Argyll_V3.3.0/cgats/cgats.c:400:5: style: Statements following noreturn function 'err()' will never be executed. [unreachableCode] Argyll_V3.3.0/cgats/cgats.c:408:5: style: Statements following noreturn function 'err()' will never be executed. [unreachableCode] Argyll_V3.3.0/cgats/cgats.c:420:4: style: Statements following noreturn function 'err()' will never be executed. [unreachableCode] Argyll_V3.3.0/cgats/cgats.c:457:7: style: Statements following noreturn function 'err()' will never be executed. [unreachableCode] Argyll_V3.3.0/cgats/cgats.c:502:6: style: Statements following noreturn function 'err()' will never be executed. [unreachableCode] Argyll_V3.3.0/cgats/cgats.c:579:7: style: Statements following noreturn function 'err()' will never be executed. [unreachableCode] Argyll_V3.3.0/cgats/cgats.c:633:7: style: Statements following noreturn function 'err()' will never be executed. [unreachableCode] Argyll_V3.3.0/cgats/cgats.c:664:7: style: Statements following noreturn function 'err()' will never be executed. [unreachableCode] Argyll_V3.3.0/cgats/cgats.c:670:7: style: Statements following noreturn function 'err()' will never be executed. [unreachableCode] Argyll_V3.3.0/cgats/cgats.c:709:8: style: Statements following noreturn function 'err()' will never be executed. [unreachableCode] Argyll_V3.3.0/cgats/cgats.c:723:11: style: Statements following noreturn function 'err()' will never be executed. [unreachableCode] Argyll_V3.3.0/cgats/cgats.c:734:11: style: Statements following noreturn function 'err()' will never be executed. [unreachableCode] Argyll_V3.3.0/cgats/cgats.c:747:11: style: Statements following noreturn function 'err()' will never be executed. [unreachableCode] Argyll_V3.3.0/cgats/cgats.c:768:6: style: Statements following noreturn function 'err()' will never be executed. [unreachableCode] Argyll_V3.3.0/cgats/cgats.c:1613:2: style: Statements following noreturn function 'err()' will never be executed. [unreachableCode] Argyll_V3.3.0/cgats/cgats.c:928:74: style:inconclusive: Function 'add_kword_at' argument 5 names different: declaration 'kdatak' definition 'kdata'. [funcArgNamesDifferent] Argyll_V3.3.0/cgats/cgats.c:103:86: note: Function 'add_kword_at' argument 5 names different: declaration 'kdatak' definition 'kdata'. Argyll_V3.3.0/cgats/cgats.c:928:74: note: Function 'add_kword_at' argument 5 names different: declaration 'kdatak' definition 'kdata'. Argyll_V3.3.0/cgats/cgats.c:1621:48: style:inconclusive: Function 'alloc_copy_data_type' argument 2 names different: declaration 'ktype' definition 'dtype'. [funcArgNamesDifferent] Argyll_V3.3.0/cgats/cgats.c:96:61: note: Function 'alloc_copy_data_type' argument 2 names different: declaration 'ktype' definition 'dtype'. Argyll_V3.3.0/cgats/cgats.c:1621:48: note: Function 'alloc_copy_data_type' argument 2 names different: declaration 'ktype' definition 'dtype'. Argyll_V3.3.0/cgats/cgats.c:317:15: style: Variable 't' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/cgats/cgats.c:343:15: style: Variable 't' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/cgats/cgats.c:909:15: style: Variable 't' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/cgats/cgats.c:1344:18: style: Variable 'amonths' can be declared as const array [constVariable] Argyll_V3.3.0/cgats/cgats.c:1348:16: style: Variable 'ptm' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/cgats/cgats.c:1537:17: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/cgats/cgats.c:1105:69: error: va_list 'args' was opened but not closed by va_end(). [va_end_missing] Argyll_V3.3.0/gamut/fakegam.c:37:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/gamut/gamut.c:4505:4: error: There is an unknown macro here somewhere. Configuration is required. If HEAPSORT is a macro then please configure it. [unknownMacro] Argyll_V3.3.0/gamut/gammap.c:985:20: style: Expression is always true because 'else if' condition is opposite to previous condition at line 980. [multiCondition] Argyll_V3.3.0/gamut/gammap.c:980:19: note: first condition Argyll_V3.3.0/gamut/gammap.c:985:20: note: else if condition is opposite to first condition Argyll_V3.3.0/gamut/gammap.c:1002:20: style: Expression is always true because 'else if' condition is opposite to previous condition at line 997. [multiCondition] Argyll_V3.3.0/gamut/gammap.c:997:19: note: first condition Argyll_V3.3.0/gamut/gammap.c:1002:20: note: else if condition is opposite to first condition Argyll_V3.3.0/gamut/gammap.c:530:9: style:inconclusive: Function 'new_gammap' argument 3 names different: declaration 's_gam' definition 'isi_gam'. [funcArgNamesDifferent] Argyll_V3.3.0/gamut/gammap.h:64:9: note: Function 'new_gammap' argument 3 names different: declaration 's_gam' definition 'isi_gam'. Argyll_V3.3.0/gamut/gammap.c:530:9: note: Function 'new_gammap' argument 3 names different: declaration 's_gam' definition 'isi_gam'. Argyll_V3.3.0/gamut/gammap.c:2588:8: style:inconclusive: Function 'inv_grey_func' argument 1 names different: declaration 'pp' definition 'cntx'. [funcArgNamesDifferent] Argyll_V3.3.0/gamut/gammap.c:190:33: note: Function 'inv_grey_func' argument 1 names different: declaration 'pp' definition 'cntx'. Argyll_V3.3.0/gamut/gammap.c:2588:8: note: Function 'inv_grey_func' argument 1 names different: declaration 'pp' definition 'cntx'. Argyll_V3.3.0/gamut/gammap.c:976:7: style: Local variable 'j' shadows outer variable [shadowVariable] Argyll_V3.3.0/gamut/gammap.c:584:6: note: Shadowed declaration Argyll_V3.3.0/gamut/gammap.c:976:7: note: Shadow variable Argyll_V3.3.0/gamut/gammap.c:1321:10: style: Local variable 'j' shadows outer variable [shadowVariable] Argyll_V3.3.0/gamut/gammap.c:584:6: note: Shadowed declaration Argyll_V3.3.0/gamut/gammap.c:1321:10: note: Shadow variable Argyll_V3.3.0/gamut/gammap.c:2130:10: style: Local variable 'j' shadows outer variable [shadowVariable] Argyll_V3.3.0/gamut/gammap.c:1321:10: note: Shadowed declaration Argyll_V3.3.0/gamut/gammap.c:2130:10: note: Shadow variable Argyll_V3.3.0/gamut/gammap.c:2541:10: style: Local variable 'tt' shadows outer variable [shadowVariable] Argyll_V3.3.0/gamut/gammap.c:2537:9: note: Shadowed declaration Argyll_V3.3.0/gamut/gammap.c:2541:10: note: Shadow variable Argyll_V3.3.0/gamut/gammap.c:2661:12: style: Local variable 'pp' shadows outer argument [shadowArgument] Argyll_V3.3.0/gamut/gammap.c:2619:8: note: Shadowed declaration Argyll_V3.3.0/gamut/gammap.c:2661:12: note: Shadow variable Argyll_V3.3.0/gamut/gammap.c:540:10: style: Parameter 'mn' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/gamut/gammap.c:541:10: style: Parameter 'mx' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/gamut/gammap.c:2469:9: style: Parameter 'in' can be declared as pointer to const. However it seems that 'inv_domap' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/gamut/gammap.c:608:17: note: You might need to cast the function pointer here Argyll_V3.3.0/gamut/gammap.c:2469:9: note: Parameter 'in' can be declared as pointer to const Argyll_V3.3.0/gamut/gammap.c:2590:10: style: Parameter 'in' can be declared as pointer to const. However it seems that 'inv_grey_func' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/gamut/gammap.c:1238:53: note: You might need to cast the function pointer here Argyll_V3.3.0/gamut/gammap.c:2590:10: note: Parameter 'in' can be declared as pointer to const Argyll_V3.3.0/gamut/gammap.c:1604:8: style: Unused variable: cp [unusedVariable] Argyll_V3.3.0/gamut/gammap.c:1864:8: style: Variable 'nix' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/gamut/gammap.c:1984:12: style: Unused variable: cpexf [unusedVariable] Argyll_V3.3.0/gamut/gammap.c:1992:12: style: Unused variable: mdst [unusedVariable] Argyll_V3.3.0/gamut/gammap.c:2083:10: style: Unused variable: cp [unusedVariable] Argyll_V3.3.0/gamut/gammap.c:2100:10: style: Unused variable: cp [unusedVariable] Argyll_V3.3.0/gamut/gammap.c:2167:10: style: Unused variable: cp [unusedVariable] Argyll_V3.3.0/gamut/gammap.c:2168:11: style: Unused variable: k [unusedVariable] Argyll_V3.3.0/gamut/gammap.c:2221:14: style: Unused variable: pp [unusedVariable] Argyll_V3.3.0/gamut/gammap.c:2222:10: style: Unused variable: cp [unusedVariable] Argyll_V3.3.0/gamut/gammap.c:2431:7: style: Unused variable: e [unusedVariable] Argyll_V3.3.0/gamut/gammap.c:2537:9: style: Unused variable: tt [unusedVariable] Argyll_V3.3.0/gamut/maptest.c:38:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/gamut/maptest.c:52:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/gamut/maptest.c:76:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/gamut/isecvol.c:205:17: error: Array 'tp1->v[3]' accessed at index 3, which is out of bounds. [arrayIndexOutOfBounds] Argyll_V3.3.0/gamut/isecvol.c:195:20: note: Assuming that condition 'j<3' is not redundant Argyll_V3.3.0/gamut/isecvol.c:205:17: note: Array index out of bounds Argyll_V3.3.0/gamut/isecvol.c:152:3: style: Variable '_end' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/gamut/isecvol.c:208:5: style: Variable '_end' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/gamut/isecvol.c:153:11: style: Unused variable: sp [unusedVariable] Argyll_V3.3.0/gamut/isecvol.c:153:15: style: Unused variable: ss [unusedVariable] Argyll_V3.3.0/gamut/smthtest.c:92:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/gamut/smthtest.c:122:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error_program [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/gamut/smthtest.c:226:2: warning: Either the condition '(wrl=new_vrml(diag_name,doaxes,vrml_lab))!=0' is redundant or there is possible null pointer dereference: wrl. [nullPointerRedundantCheck] Argyll_V3.3.0/gamut/smthtest.c:222:52: note: Assuming that condition '(wrl=new_vrml(diag_name,doaxes,vrml_lab))!=0' is not redundant Argyll_V3.3.0/gamut/smthtest.c:226:2: note: Null pointer dereference Argyll_V3.3.0/gamut/smthtest.c:131:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/gamut/smthtest.c:108:15: style: Variable 'nearf' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/gamut/smthtest.c:156:11: style: Variable 'nearf' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/gamut/surftest.c:36:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/gamut/nearsmth.c:1858:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/gamut/surftest.c:35:18: style: Parameter 'diag' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/gamut/surftest.c:75:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/gamut/surftest.c:246:5: style: Variable 'r' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/gamut/fakegam.c:277:6: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Argyll_V3.3.0/gamut/fakegam.c:279:6: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/gamut/fakegam.c:277:6: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/gamut/fakegam.c:36:18: style: Parameter 'diag' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/gamut/fakegam.c:82:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/gamut/fakegam.c:72:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/gamut/fakegam.c:231:24: style: Unused variable: rad [unusedVariable] Argyll_V3.3.0/gamut/viewgam.c:47:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/gamut/viewgam.c:177:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/iccstd.c:524:0: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] Argyll_V3.3.0/icc/iccstd.c:524:3: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] Argyll_V3.3.0/icc/icc_pe.c:1599:2: error: There is an unknown macro here somewhere. Configuration is required. If ICM_PE_SETATTR is a macro then please configure it. [unknownMacro] Argyll_V3.3.0/icc/icc_util.c:378:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICM_SMALL_NUMBER [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_util.c:408:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICM_SMALL_NUMBER [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_util.c:546:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICM_SMALL_NUMBER [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_util.c:596:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICM_SMALL_NUMBER [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_util.c:1078:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICM_SMALL_NUMBER [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_util.c:1421:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable psh [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_util.c:1467:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_util.c:1484:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable psh [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_util.c:2455:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICM_CAM_MULMATRIX [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_util.c:3257:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_util.c:3295:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_util.c:3331:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_util.c:3520:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmUTF_ok [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_util.c:3661:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmUTF_ok [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_util.c:3761:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmUTF_ok [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_util.c:3924:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmUTF_ok [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_util.c:4038:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmUTF_ok [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_util.c:4177:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmUTF_ok [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_util.c:4267:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmUTF_ok [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_util.c:4342:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmUTF_ok [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_util.c:4487:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmUTF_ok [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_util.c:4556:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmUTF_ok [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_util.c:4650:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmUTF_ok [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/gamut/nearsmth.c:906:32: error: Array 's->cusp_pe[2][6][4]' accessed at index s->cusp_pe[0][6], which is out of bounds. [arrayIndexOutOfBounds] Argyll_V3.3.0/gamut/nearsmth.c:885:19: note: Assuming that condition 'c0<6' is not redundant Argyll_V3.3.0/gamut/nearsmth.c:906:32: note: Array index out of bounds Argyll_V3.3.0/gamut/nearsmth.c:1053:32: error: Array 's->cusp_pe[2][6][4]' accessed at index s->cusp_pe[0][6], which is out of bounds. [arrayIndexOutOfBounds] Argyll_V3.3.0/gamut/nearsmth.c:1032:19: note: Assuming that condition 'c0<6' is not redundant Argyll_V3.3.0/gamut/nearsmth.c:1053:32: note: Array index out of bounds Argyll_V3.3.0/gamut/nearsmth.c:1299:16: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] Argyll_V3.3.0/gamut/nearsmth.c:1298:23: note: outer condition: in[i].ch!=gmm_end Argyll_V3.3.0/gamut/nearsmth.c:1299:16: note: opposite inner condition: in[i].ch==gmm_end Argyll_V3.3.0/gamut/nearsmth.c:1317:16: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] Argyll_V3.3.0/gamut/nearsmth.c:1316:23: note: outer condition: in[i].ch!=gmm_end Argyll_V3.3.0/gamut/nearsmth.c:1317:16: note: opposite inner condition: in[i].ch==gmm_end Argyll_V3.3.0/gamut/nearsmth.c:1336:16: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] Argyll_V3.3.0/gamut/nearsmth.c:1335:23: note: outer condition: in[i].ch!=gmm_end Argyll_V3.3.0/gamut/nearsmth.c:1336:16: note: opposite inner condition: in[i].ch==gmm_end Argyll_V3.3.0/gamut/nearsmth.c:1355:16: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] Argyll_V3.3.0/gamut/nearsmth.c:1354:23: note: outer condition: in[i].ch!=gmm_end Argyll_V3.3.0/gamut/nearsmth.c:1355:16: note: opposite inner condition: in[i].ch==gmm_end Argyll_V3.3.0/gamut/nearsmth.c:1764:9: style:inconclusive: Function 'near_smooth_np' argument 3 names different: declaration 's_gam' definition 'si_gam'. [funcArgNamesDifferent] Argyll_V3.3.0/gamut/nearsmth.h:242:9: note: Function 'near_smooth_np' argument 3 names different: declaration 's_gam' definition 'si_gam'. Argyll_V3.3.0/gamut/nearsmth.c:1764:9: note: Function 'near_smooth_np' argument 3 names different: declaration 's_gam' definition 'si_gam'. Argyll_V3.3.0/gamut/nearsmth.c:1765:9: style:inconclusive: Function 'near_smooth_np' argument 4 names different: declaration 'd_gam' definition 'dc_gam'. [funcArgNamesDifferent] Argyll_V3.3.0/gamut/nearsmth.h:243:9: note: Function 'near_smooth_np' argument 4 names different: declaration 'd_gam' definition 'dc_gam'. Argyll_V3.3.0/gamut/nearsmth.c:1765:9: note: Function 'near_smooth_np' argument 4 names different: declaration 'd_gam' definition 'dc_gam'. Argyll_V3.3.0/gamut/nearsmth.c:1813:8: style:inconclusive: Function 'near_smooth' argument 4 names different: declaration 's_gam' definition 'si_gam'. [funcArgNamesDifferent] Argyll_V3.3.0/gamut/nearsmth.h:255:9: note: Function 'near_smooth' argument 4 names different: declaration 's_gam' definition 'si_gam'. Argyll_V3.3.0/gamut/nearsmth.c:1813:8: note: Function 'near_smooth' argument 4 names different: declaration 's_gam' definition 'si_gam'. Argyll_V3.3.0/gamut/nearsmth.c:1814:8: style:inconclusive: Function 'near_smooth' argument 5 names different: declaration 'd_gam' definition 'dc_gam'. [funcArgNamesDifferent] Argyll_V3.3.0/gamut/nearsmth.h:256:9: note: Function 'near_smooth' argument 5 names different: declaration 'd_gam' definition 'dc_gam'. Argyll_V3.3.0/gamut/nearsmth.c:1814:8: note: Function 'near_smooth' argument 5 names different: declaration 'd_gam' definition 'dc_gam'. Argyll_V3.3.0/gamut/nearsmth.c:1818:15: style:inconclusive: Function 'near_smooth' argument 9 names different: declaration 'wh' definition 'xwh'. [funcArgNamesDifferent] Argyll_V3.3.0/gamut/nearsmth.h:260:17: note: Function 'near_smooth' argument 9 names different: declaration 'wh' definition 'xwh'. Argyll_V3.3.0/gamut/nearsmth.c:1818:15: note: Function 'near_smooth' argument 9 names different: declaration 'wh' definition 'xwh'. Argyll_V3.3.0/gamut/nearsmth.c:1827:7: style:inconclusive: Function 'near_smooth' argument 18 names different: declaration 'surfgres' definition 'surfpnts'. [funcArgNamesDifferent] Argyll_V3.3.0/gamut/nearsmth.h:269:8: note: Function 'near_smooth' argument 18 names different: declaration 'surfgres' definition 'surfpnts'. Argyll_V3.3.0/gamut/nearsmth.c:1827:7: note: Function 'near_smooth' argument 18 names different: declaration 'surfgres' definition 'surfpnts'. Argyll_V3.3.0/gamut/nearsmth.c:3976:39: style:inconclusive: Function 'free_nearsmth' argument 2 names different: declaration 'npp' definition 'nmpts'. [funcArgNamesDifferent] Argyll_V3.3.0/gamut/nearsmth.h:277:39: note: Function 'free_nearsmth' argument 2 names different: declaration 'npp' definition 'nmpts'. Argyll_V3.3.0/gamut/nearsmth.c:3976:39: note: Function 'free_nearsmth' argument 2 names different: declaration 'npp' definition 'nmpts'. Argyll_V3.3.0/gamut/nearsmth.c:1558:22: style: Local variable 'uw' shadows outer variable [shadowVariable] Argyll_V3.3.0/gamut/nearsmth.c:1469:13: note: Shadowed declaration Argyll_V3.3.0/gamut/nearsmth.c:1558:22: note: Shadow variable Argyll_V3.3.0/gamut/nearsmth.c:2673:7: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/gamut/nearsmth.c:1834:10: note: Shadowed declaration Argyll_V3.3.0/gamut/nearsmth.c:2673:7: note: Shadow variable Argyll_V3.3.0/gamut/nearsmth.c:3205:23: style: Local variable 'cvect' shadows outer function [shadowFunction] Argyll_V3.3.0/gamut/nearsmth.c:1603:13: note: Shadowed declaration Argyll_V3.3.0/gamut/nearsmth.c:3205:23: note: Shadow variable Argyll_V3.3.0/gamut/nearsmth.c:127:8: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/gamut/nearsmth.c:128:8: style: Parameter 'in2' can be declared as const array [constParameter] Argyll_V3.3.0/gamut/nearsmth.c:202:8: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/gamut/nearsmth.c:203:8: style: Parameter 'in2' can be declared as const array [constParameter] Argyll_V3.3.0/gamut/nearsmth.c:353:40: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/gamut/nearsmth.c:414:9: style: Parameter '_dv' can be declared as pointer to const. However it seems that 'optfunc1' is a callback function, if '_dv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/gamut/nearsmth.c:2443:43: note: You might need to cast the function pointer here Argyll_V3.3.0/gamut/nearsmth.c:414:9: note: Parameter '_dv' can be declared as pointer to const Argyll_V3.3.0/gamut/nearsmth.c:456:9: style: Parameter '_dv' can be declared as pointer to const. However it seems that 'optfunc1a' is a callback function, if '_dv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/gamut/nearsmth.c:3883:45: note: You might need to cast the function pointer here Argyll_V3.3.0/gamut/nearsmth.c:456:9: note: Parameter '_dv' can be declared as pointer to const Argyll_V3.3.0/gamut/nearsmth.c:553:9: style: Parameter '_dv' can be declared as pointer to const. However it seems that 'optfunc2' is a callback function, if '_dv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/gamut/nearsmth.c:2546:43: note: You might need to cast the function pointer here Argyll_V3.3.0/gamut/nearsmth.c:553:9: note: Parameter '_dv' can be declared as pointer to const Argyll_V3.3.0/gamut/nearsmth.c:3219:16: style: Variable 'np' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/gamut/nearsmth.c:3433:71: error: Uninitialized variable: bp [legacyUninitvar] Argyll_V3.3.0/gamut/nearsmth.c:207:9: style: Unused variable: vv [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:418:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:418:9: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:418:12: style: Unused variable: k [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:460:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:460:9: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:460:12: style: Unused variable: k [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:688:7: style: Unused variable: isJab [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:931:8: style: Variable 'cw_h' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/gamut/nearsmth.c:1466:20: style: Unused variable: tmp [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:2099:7: style: Variable 'imr' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/gamut/nearsmth.c:1834:16: style: Unused variable: k [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:1844:6: style: Unused variable: pass [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:1847:9: style: Unused variable: codf [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:1848:9: style: Unused variable: mxmv [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:1849:6: style: Unused variable: nmxmv [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:2393:10: style: Unused variable: ne [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:2400:11: style: Unused variable: mv [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:2413:12: style: Unused variable: dd [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:2487:12: style: Unused variable: dd [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:2517:10: style: Unused variable: ne [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:2524:11: style: Unused variable: mv [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:2672:16: style: Unused variable: p2 [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:2672:23: style: Unused variable: rad [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:2679:10: style: Unused variable: ne [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:2683:9: style: Unused variable: il [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:2683:13: style: Unused variable: ih [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:2684:9: style: Unused variable: ol [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:2684:13: style: Unused variable: oh [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:2705:11: style: Unused variable: len [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:2751:11: style: Unused variable: mv [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:3151:11: style: Unused variable: tmp [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:3155:11: style: Unused variable: ovlen [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:3209:8: style: Unused variable: cp [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:3210:12: style: Unused variable: evect [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:3310:12: style: Unused variable: tt [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:3402:22: style: Unused variable: nv [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:3841:13: style: Unused variable: ne [unusedVariable] Argyll_V3.3.0/gamut/nearsmth.c:3846:13: style: Unused variable: mv [unusedVariable] Argyll_V3.3.0/icc/icc_util.c:828:6: warning: Either the condition 'j<3' is redundant or the array 'm[3][4]' is accessed at index m[3][*], which is out of bounds. [arrayIndexOutOfBoundsCond] Argyll_V3.3.0/icc/icc_util.c:825:25: note: Assuming that condition 'j<3' is not redundant Argyll_V3.3.0/icc/icc_util.c:828:6: note: Array index out of bounds Argyll_V3.3.0/icc/icc_util.c:823:19: style: Condition 'j<3' is always true [knownConditionTrueFalse] Argyll_V3.3.0/icc/icc_util.c:821:16: note: Assuming that condition 'j<3' is not redundant Argyll_V3.3.0/icc/icc_util.c:823:19: note: Condition 'j<3' is always true Argyll_V3.3.0/icc/icc_util.c:825:25: style: Condition 'j<3' is always true [knownConditionTrueFalse] Argyll_V3.3.0/icc/icc_util.c:821:16: note: Assuming that condition 'j<3' is not redundant Argyll_V3.3.0/icc/icc_util.c:825:25: note: Condition 'j<3' is always true Argyll_V3.3.0/icc/icc_util.c:52:36: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:59:36: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:59:51: style: Parameter 'in2' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:66:36: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:66:51: style: Parameter 'in2' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:73:36: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:73:51: style: Parameter 'in2' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:80:36: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:80:51: style: Parameter 'in2' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:87:36: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:99:36: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:107:37: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:115:36: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:124:33: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:124:43: style: Parameter 'pfx' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:124:55: style: Parameter 'a' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:171:41: style: Parameter 'src1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:171:60: style: Parameter 'src2' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:181:43: style: Parameter 'src' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:205:40: style: Parameter 'mat' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:205:58: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:221:43: style: Parameter 'src1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:221:59: style: Parameter 'src2' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:234:41: style: Parameter 'src' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:255:43: style: Parameter 'src1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:255:62: style: Parameter 'src2' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:405:44: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:442:23: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:442:38: style: Parameter 'in2' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:448:38: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:448:53: style: Parameter 'in2' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:460:26: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:465:24: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:470:38: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:477:41: style: Parameter 'in2' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:477:56: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:484:38: style: Parameter 'in0' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:484:53: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:491:37: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:504:39: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:522:43: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:543:41: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:556:27: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:556:42: style: Parameter 'in0' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:567:25: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:567:40: style: Parameter 'in0' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:578:39: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:578:54: style: Parameter 'in0' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:587:42: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:587:57: style: Parameter 'in0' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:616:39: style: Parameter 's' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:616:52: style: Parameter 't' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:714:40: style: Parameter 'mat' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:714:58: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:748:43: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:783:41: style: Parameter 'mat' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:783:59: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:806:42: style: Parameter 's1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:806:70: style: Parameter 't1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:806:84: style: Parameter 't0' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:861:8: style: Parameter 'pl_norm' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:862:8: style: Parameter 've_1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:863:8: style: Parameter 've_0' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:991:39: style: Parameter 'p0' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:991:53: style: Parameter 'p1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:991:67: style: Parameter 'p2' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1027:29: style: Parameter 'eq' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1027:43: style: Parameter 'p' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1041:25: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1041:40: style: Parameter 'in0' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1052:27: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1052:42: style: Parameter 'in0' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1063:23: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1063:38: style: Parameter 'in2' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1069:24: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1069:39: style: Parameter 'in2' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1069:54: style: Parameter 'in3' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1069:69: style: Parameter 'in4' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1075:41: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1088:39: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1099:39: style: Parameter 'p0' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1099:53: style: Parameter 'p1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1128:29: style: Parameter 'eq' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1128:43: style: Parameter 'p' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1140:53: style: Parameter 'eq' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1140:67: style: Parameter 'pp' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1155:48: style: Parameter 'eq1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1155:63: style: Parameter 'eq2' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1173:31: style: Parameter 'la0' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1173:46: style: Parameter 'la1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1173:61: style: Parameter 'pp' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1204:45: style: Parameter 'p1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1204:59: style: Parameter 'p2' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1204:73: style: Parameter 'p3' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1204:87: style: Parameter 'p4' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1229:65: style: Parameter 'p1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1229:79: style: Parameter 'p2' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1229:93: style: Parameter 'p3' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1229:107: style: Parameter 'p4' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1261:38: style: Parameter 'in0' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1261:53: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1267:38: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1273:41: style: Parameter 'in2' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1273:56: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1328:40: style: Parameter 'mat' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1328:58: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1348:35: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:1356:37: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1369:42: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:1390:25: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:1390:37: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:1416:14: style: Parameter 'res' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:1589:26: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:1589:50: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:1619:26: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:1619:50: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:1663:26: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:1704:26: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:1747:38: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:1759:38: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:1773:49: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:1773:73: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:1798:49: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:1798:73: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:1827:56: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:1846:55: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:1862:56: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:1879:57: style: Parameter 'xy' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:1896:60: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:1917:60: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:1937:64: style: Parameter 'uv' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:1957:62: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:1979:60: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:2000:60: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:2040:77: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:2061:81: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:2154:25: style: Parameter 'Lab0' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:2154:39: style: Parameter 'Lab1' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:2168:27: style: Parameter 'Lab0' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:2168:41: style: Parameter 'Lab1' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:2238:26: style: Parameter 'Lab0' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:2238:42: style: Parameter 'Lab1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:2301:27: style: Parameter 'Lab0' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:2301:41: style: Parameter 'Lab1' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:2504:9: style: Parameter 'red' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:2505:9: style: Parameter 'green' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:2506:9: style: Parameter 'blue' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:2507:9: style: Parameter 'white' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:2580:9: style: Parameter 'targ' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:2582:9: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:2693:38: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:2728:38: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:2799:40: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:2807:40: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:2816:51: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:2837:51: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:2854:51: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:2876:51: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:2892:54: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:2914:54: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:2930:56: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:2951:56: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:2966:55: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:3007:55: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:3062:52: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:3071:52: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:3078:44: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:3086:44: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_util.c:3254:27: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:3256:8: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icc_util.c:3292:29: style: Parameter 'fmt' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:3292:42: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:3328:29: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:3330:8: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icc_util.c:3522:11: style: Variable 'iout' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icc_util.c:3662:9: style: Variable 'iin' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icc_util.c:3663:11: style: Variable 'iout' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icc_util.c:3760:70: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:3923:68: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:3925:12: style: Variable 'iout' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icc_util.c:4037:66: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:4040:8: style: Variable 'iout' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icc_util.c:4176:64: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:4179:8: style: Variable 'iout' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icc_util.c:4269:11: style: Variable 'iout' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icc_util.c:4341:71: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:4490:11: style: Variable 'iout' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icc_util.c:4555:68: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_util.c:1441:29: warning: Shifting 32-bit value by 32 bits is undefined behaviour. See condition at line 1437. [shiftTooManyBits] Argyll_V3.3.0/icc/icc_util.c:1437:15: note: Assuming that condition 'p->tbits>32' is not redundant Argyll_V3.3.0/icc/icc_util.c:1441:29: note: Shift Argyll_V3.3.0/icc/icc_util.c:868:9: style: Unused variable: ival [unusedVariable] Argyll_V3.3.0/icc/icc_util.c:1482:6: style: Unused variable: e [unusedVariable] Argyll_V3.3.0/icc/icc_util.c:1918:15: style: Unused variable: fl [unusedVariable] Argyll_V3.3.0/icc/icc_util.c:1918:19: style: Unused variable: fu [unusedVariable] Argyll_V3.3.0/icc/icc_util.c:1918:23: style: Unused variable: fv [unusedVariable] Argyll_V3.3.0/icc/icc_util.c:1918:27: style: Unused variable: sum [unusedVariable] Argyll_V3.3.0/icc/icc_util.c:1938:15: style: Unused variable: fl [unusedVariable] Argyll_V3.3.0/icc/icc_util.c:1938:19: style: Unused variable: fu [unusedVariable] Argyll_V3.3.0/icc/icc_util.c:1938:23: style: Unused variable: fv [unusedVariable] Argyll_V3.3.0/icc/icc_util.c:1938:27: style: Unused variable: sum [unusedVariable] Argyll_V3.3.0/icc/icc_util.c:2001:15: style: Unused variable: fl [unusedVariable] Argyll_V3.3.0/icc/icc_util.c:2001:19: style: Unused variable: fu [unusedVariable] Argyll_V3.3.0/icc/icc_util.c:2001:23: style: Unused variable: fv [unusedVariable] Argyll_V3.3.0/icc/icc_util.c:2001:27: style: Unused variable: sum [unusedVariable] Argyll_V3.3.0/icc/icc_util.c:3189:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/icc/icc_util.c:4039:9: style: Variable 'u8' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_util.c:4039:6: style: Variable 'u8' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_util.c:4178:9: style: Variable 'u8' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_util.c:4178:6: style: Variable 'u8' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_util.c:4488:24: style: Variable 'replacement_char' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_util.c:4488:7: style: Variable 'replacement_char' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_util.c:4557:28: style: Variable 'replacement_char' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_util.c:4557:11: style: Variable 'replacement_char' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/gamut/viewgam.c:307:9: error: Common realloc mistake: 'gds' nulled but not freed upon failure [memleakOnRealloc] Argyll_V3.3.0/gamut/viewgam.c:118:2: warning: Either the condition '(gds=(struct gamdisp*)malloc((ng+1)*sizeof(struct gamdisp)))==NULL' is redundant or there is possible null pointer dereference: gds. [nullPointerRedundantCheck] Argyll_V3.3.0/gamut/viewgam.c:186:58: note: Assuming that condition '(gds=(struct gamdisp*)malloc((ng+1)*sizeof(struct gamdisp)))==NULL' is not redundant Argyll_V3.3.0/gamut/viewgam.c:188:14: note: Calling function 'set_default', 1st argument 'gds' value is 0 Argyll_V3.3.0/gamut/viewgam.c:118:2: note: Null pointer dereference Argyll_V3.3.0/gamut/viewgam.c:463:10: style: Variable 'cnames' can be declared as const array [constVariable] Argyll_V3.3.0/gamut/viewgam.c:461:11: style: Unused variable: rgb [unusedVariable] Argyll_V3.3.0/icc/iccdump.c:33:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/iccdump.c:126:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/iccdump.c:312:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/iccdump.c:325:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icclu.c:39:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icclu.c:285:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icclu.c:512:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icclu.c:525:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:25:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:62:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:100:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:156:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:218:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:236:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:255:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:285:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:491:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICM_ERR_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:522:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmCurveSpec [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:535:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:580:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:631:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:754:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICM_SMALL_NUMBER [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:796:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:824:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:879:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPeOp_cLUT [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:924:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:1012:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:1306:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_imp [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:1322:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_imp [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:1336:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:1453:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:1501:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:1558:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigXYZData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:1585:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmEncProf [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:1626:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigXYZData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:1709:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmEnc8bit [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:1724:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:1749:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigXYZData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:1843:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICM_ERR_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:2092:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmSpaceLu4Type [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:2187:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmAbsoluteSaturation [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:2431:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigXYZData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:2507:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmSigDefaultData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:3595:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:3916:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:4225:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/iccdump.c:84:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/iccrw.c:40:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/iccrw.c:332:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/iccrw.c:345:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/iccrw.c:64:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/iccrw.c:54:11: style: Variable 'verb' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/iccrw.c:62:7: style: Variable 'nfa' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/iccrw.c:67:8: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/iccrw.c:72:10: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/iccrw.c:81:10: style: Variable 'verb' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icclu.c:293:11: style: The if condition is the same as the previous if condition [duplicateCondition] Argyll_V3.3.0/icc/icclu.c:283:11: note: First condition Argyll_V3.3.0/icc/icclu.c:293:11: note: Second condition Argyll_V3.3.0/icc/icclu.c:313:7: style: Local variable 'verb' shadows outer variable [shadowVariable] Argyll_V3.3.0/icc/icclu.c:68:6: note: Shadowed declaration Argyll_V3.3.0/icc/icclu.c:313:7: note: Shadow variable Argyll_V3.3.0/icc/icclu.c:106:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icclu.c:313:12: style: Variable 'verb' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icclu.c:313:7: style: Variable 'verb' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/lutest.c:842:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/lutest.c:852:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/lutest.c:3958:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/lutest.c:3971:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icctest.c:125:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icctest.c:140:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icctest.c:279:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icctest.c:1881:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable deviceValue [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icctest.c:3711:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icctest.c:3724:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icc_xf.c:734:7: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] Argyll_V3.3.0/icc/icc_xf.c:733:6: note: outer condition: !p->inited Argyll_V3.3.0/icc/icc_xf.c:734:7: note: identical inner condition: !p->inited Argyll_V3.3.0/icc/icc_xf.c:859:7: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] Argyll_V3.3.0/icc/icc_xf.c:858:6: note: outer condition: !p->inited Argyll_V3.3.0/icc/icc_xf.c:859:7: note: identical inner condition: !p->inited Argyll_V3.3.0/icc/icc_xf.c:3044:16: style: The if condition is the same as the previous if condition [duplicateCondition] Argyll_V3.3.0/icc/icc_xf.c:3029:16: note: First condition Argyll_V3.3.0/icc/icc_xf.c:3044:16: note: Second condition Argyll_V3.3.0/icc/icc_xf.c:3749:7: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Argyll_V3.3.0/icc/icc_xf.c:4053:7: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Argyll_V3.3.0/icc/icc_xf.c:4424:6: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Argyll_V3.3.0/icc/icc_xf.c:4485:6: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Argyll_V3.3.0/icc/icc_xf.c:4531:8: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Argyll_V3.3.0/icc/icc_xf.c:4654:6: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Argyll_V3.3.0/icc/icc_xf.c:352:3: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] Argyll_V3.3.0/icc/icc_xf.c:429:10: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_xf.c:533:10: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_xf.c:579:7: style: Variable 'icp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icc_xf.c:607:9: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_xf.c:608:9: style: Parameter 'in2' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icc_xf.c:793:9: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_xf.c:795:7: style: Variable 'icp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icc_xf.c:821:9: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_xf.c:823:7: style: Variable 'icp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icc_xf.c:893:15: style: Variable 'out' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icc_xf.c:921:9: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_xf.c:989:11: style: Variable 'd' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icc_xf.c:1010:9: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_xf.c:1302:7: style: Variable 'icp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icc_xf.c:1317:12: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_xf.c:1318:9: style: Parameter 'out' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_xf.c:1319:9: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_xf.c:1552:7: style: Parameter 'icp' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_xf.c:1580:7: style: Parameter 'icp' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_xf.c:2017:14: style: Parameter 'p' can be declared as pointer to const. However it seems that 'icmLu4NativeSpaces' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/icc/icc_xf.c:3080:50: note: You might need to cast the function pointer here Argyll_V3.3.0/icc/icc_xf.c:2017:14: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/icc/icc_xf.c:2046:14: style: Parameter 'p' can be declared as pointer to const. However it seems that 'icmLu4Spaces' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/icc/icc_xf.c:3081:44: note: You might need to cast the function pointer here Argyll_V3.3.0/icc/icc_xf.c:2046:14: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/icc/icc_xf.c:3030:12: style: Variable 'ttt' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icc_xf.c:3898:10: style: Parameter 'gamma' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/icc_xf.c:665:8: warning: Uninitialized variable: cix [uninitvar] Argyll_V3.3.0/icc/icc_xf.c:651:16: note: Assuming condition is false Argyll_V3.3.0/icc/icc_xf.c:665:8: note: Uninitialized variable: cix Argyll_V3.3.0/icc/icc_xf.c:670:7: warning: Uninitialized variable: rix [uninitvar] Argyll_V3.3.0/icc/icc_xf.c:651:16: note: Assuming condition is false Argyll_V3.3.0/icc/icc_xf.c:670:7: note: Uninitialized variable: rix Argyll_V3.3.0/icc/icc_xf.c:3903:12: style: struct member 'Anonymous2::wo_fwd' is never used. [unusedStructMember] Argyll_V3.3.0/icc/icc_xf.c:3908:12: style: struct member 'Anonymous2::wo_bwd' is never used. [unusedStructMember] Argyll_V3.3.0/icc/icc_xf.c:101:10: style: Variable 'pad' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:101:6: style: Variable 'pad' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:157:10: style: Variable 'pad' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:157:6: style: Variable 'pad' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:256:10: style: Variable 'pad' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:256:6: style: Variable 'pad' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:286:10: style: Variable 'pad' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:286:6: style: Variable 'pad' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:579:11: style: Variable 'icp' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:579:7: style: Variable 'icp' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:795:11: style: Variable 'icp' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:795:7: style: Variable 'icp' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:823:11: style: Variable 'icp' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:823:7: style: Variable 'icp' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:1302:11: style: Variable 'icp' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:1302:7: style: Variable 'icp' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:1586:7: style: Variable 'ver' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:2958:10: style: Variable 'e_ins' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:2959:11: style: Variable 'e_outs' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:2961:11: style: Variable 'e_ina' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:2670:20: style: Unused variable: ttag [unusedVariable] Argyll_V3.3.0/icc/icc_xf.c:3598:11: style: Variable 'clip' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:3758:12: style: Variable 'clip' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:3850:12: style: Variable 'clip' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:3595:6: style: Unused variable: ii [unusedVariable] Argyll_V3.3.0/icc/icc_xf.c:3596:51: style: Unused variable: ivn [unusedVariable] Argyll_V3.3.0/icc/icc_xf.c:3919:11: style: Variable 'clip' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:4063:13: style: Variable 'clip' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:4070:13: style: Variable 'clip' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:4150:13: style: Variable 'clip' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:3916:6: style: Unused variable: ii [unusedVariable] Argyll_V3.3.0/icc/icc_xf.c:3917:51: style: Unused variable: ivn [unusedVariable] Argyll_V3.3.0/icc/icc_xf.c:4232:11: style: Variable 'clip' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:4445:11: style: Variable 'clip' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:4516:11: style: Variable 'clip' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:4552:13: style: Variable 'clip' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:4671:11: style: Variable 'clip' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icc_xf.c:4227:51: style: Unused variable: ivn [unusedVariable] Argyll_V3.3.0/icc/icctest.c:1937:6: style: The if condition is the same as the previous if condition [duplicateCondition] Argyll_V3.3.0/icc/icctest.c:1851:6: note: First condition Argyll_V3.3.0/icc/icctest.c:1937:6: note: Second condition Argyll_V3.3.0/icc/icctest.c:2891:8: style: Condition 'm!=0' is always true [knownConditionTrueFalse] Argyll_V3.3.0/icc/icctest.c:2890:17: note: Assignment 'm=high-low+1', assigned value is greater than 0 Argyll_V3.3.0/icc/icctest.c:2891:8: note: Condition 'm!=0' is always true Argyll_V3.3.0/icc/icctest.c:2997:6: style: Condition 'sn' is always false [knownConditionTrueFalse] Argyll_V3.3.0/icc/icctest.c:2983:7: note: Assignment 'sn=0', assigned value is 0 Argyll_V3.3.0/icc/icctest.c:2997:6: note: Condition 'sn' is always false Argyll_V3.3.0/icc/icctest.c:1595:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Argyll_V3.3.0/icc/icctest.c:1665:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Argyll_V3.3.0/icc/icctest.c:213:6: style: Variable 'fa' is assigned an expression that holds the same value. [redundantAssignment] Argyll_V3.3.0/icc/icctest.c:208:8: note: fa is assigned 'nfa' here. Argyll_V3.3.0/icc/icctest.c:213:6: note: Variable 'fa' is assigned an expression that holds the same value. Argyll_V3.3.0/icc/icctest.c:171:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:902:20: style: Variable 'ro' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:936:8: style: Variable 'str1' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:937:8: style: Variable 'str2' can be declared as const array [constVariable] Argyll_V3.3.0/icc/icctest.c:960:15: style: Variable 'ro' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:1001:13: style: Variable 'ro' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:1037:13: style: Variable 'ro' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:1078:13: style: Variable 'ro' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:1108:8: style: Variable 'ts1' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:1120:12: style: Variable 'ro' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:1325:18: style: Variable 'wo' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:1333:12: style: Variable 'ro' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:1419:12: style: Variable 'ro' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:1542:19: style: Variable 'ro' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:1573:9: style: Variable 'prefix' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:1573:29: style: Variable 'suffix' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:1643:9: style: Variable 'prefix' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:1643:32: style: Variable 'suffix' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:1807:24: style: Variable 'wp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:1807:29: style: Variable 'rp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:1908:20: style: Variable 'rp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:2049:24: style: Variable 'wssp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:2050:24: style: Variable 'rssp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/mcheck.c:33:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/mcheck.c:181:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vrml_lab [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icctest.c:2122:23: style: Variable 'ro' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/mcheck.c:314:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icctest.c:2205:17: style: Variable 'ro' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/mcheck.c:327:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/icctest.c:2268:23: style: Variable 'ro' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:2298:8: style: Variable 'ts1' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:2309:12: style: Variable 'ro' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:2348:23: style: Variable 'ro' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:2376:8: style: Variable 'ts1' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:2396:13: style: Variable 'ro' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:2434:8: style: Variable 'ts1' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:2729:23: style: Variable 'ro' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:2773:25: style: Variable 'ro' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:2817:16: style: Variable 'ro' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:3470:15: style: Variable 'ebuf' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:3507:15: style: Variable 'ebuf' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:3589:19: style: Variable 'ebuf' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/icctest.c:3692:26: style: Parameter 'a' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icctest.c:3692:47: style: Parameter 'b' can be declared as const array [constParameter] Argyll_V3.3.0/icc/icctest.c:163:9: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icctest.c:1594:31: style: Variable 'dsig' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icctest.c:1420:16: style: Unused variable: size [unusedVariable] Argyll_V3.3.0/icc/icctest.c:1593:17: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/icc/icctest.c:1594:26: style: Variable 'dsig' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/icctest.c:1855:16: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/icc/icctest.c:1888:16: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/icc/icctest.c:2730:17: style: Unused variable: c [unusedVariable] Argyll_V3.3.0/icc/icctest.c:3479:7: style: Variable 'ebuf' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/mkDispProf.c:36:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/mkDispProf.c:335:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/mkDispProf.c:347:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/icc/mkDispProf.c:74:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/mkDispProf.c:137:9: style: Variable 'dst' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/mkDispProf.c:151:9: style: Variable 'crt' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/mkDispProf.c:297:19: style: Variable 'wog' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/mkDispProf.c:297:25: style: Variable 'wob' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/mkDispProf.c:65:11: style: Variable 'verb' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/mkDispProf.c:72:7: style: Variable 'nfa' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/mkDispProf.c:77:8: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/mkDispProf.c:82:10: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/mkDispProf.c:92:10: style: Variable 'verb' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/mkDispProf.c:310:12: style: Variable 'wog' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/mkDispProf.c:313:12: style: Variable 'wob' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/mkDispProf.c:184:7: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/icc/lutest.c:962:4: style: Label 'done1' is not used. [unusedLabel] Argyll_V3.3.0/icc/lutest.c:2416:5: style: Label 'done2' is not used. [unusedLabel] Argyll_V3.3.0/icc/lutest.c:2464:5: style: Label 'done3' is not used. [unusedLabel] Argyll_V3.3.0/icc/lutest.c:2510:5: style: Label 'done8' is not used. [unusedLabel] Argyll_V3.3.0/icc/lutest.c:2556:5: style: Label 'done9' is not used. [unusedLabel] Argyll_V3.3.0/icc/lutest.c:2975:5: style: Label 'done4' is not used. [unusedLabel] Argyll_V3.3.0/icc/lutest.c:3066:5: style: Label 'done5' is not used. [unusedLabel] Argyll_V3.3.0/icc/lutest.c:3481:5: style: Label 'done6' is not used. [unusedLabel] Argyll_V3.3.0/icc/lutest.c:3572:5: style: Label 'done7' is not used. [unusedLabel] Argyll_V3.3.0/icc/lutest.c:2207:8: style: Local variable 'co' shadows outer variable [shadowVariable] Argyll_V3.3.0/icc/lutest.c:878:6: note: Shadowed declaration Argyll_V3.3.0/icc/lutest.c:2207:8: note: Shadow variable Argyll_V3.3.0/icc/lutest.c:2208:11: style: Local variable 'in' shadows outer variable [shadowVariable] Argyll_V3.3.0/icc/lutest.c:879:9: note: Shadowed declaration Argyll_V3.3.0/icc/lutest.c:2208:11: note: Shadow variable Argyll_V3.3.0/icc/lutest.c:2208:18: style: Local variable 'out' shadows outer variable [shadowVariable] Argyll_V3.3.0/icc/lutest.c:879:16: note: Shadowed declaration Argyll_V3.3.0/icc/lutest.c:2208:18: note: Shadow variable Argyll_V3.3.0/icc/lutest.c:2427:8: style: Local variable 'co' shadows outer variable [shadowVariable] Argyll_V3.3.0/icc/lutest.c:878:6: note: Shadowed declaration Argyll_V3.3.0/icc/lutest.c:2427:8: note: Shadow variable Argyll_V3.3.0/icc/lutest.c:2428:11: style: Local variable 'in' shadows outer variable [shadowVariable] Argyll_V3.3.0/icc/lutest.c:879:9: note: Shadowed declaration Argyll_V3.3.0/icc/lutest.c:2428:11: note: Shadow variable Argyll_V3.3.0/icc/lutest.c:2428:18: style: Local variable 'out' shadows outer variable [shadowVariable] Argyll_V3.3.0/icc/lutest.c:879:16: note: Shadowed declaration Argyll_V3.3.0/icc/lutest.c:2428:18: note: Shadow variable Argyll_V3.3.0/icc/lutest.c:2428:26: style: Local variable 'check' shadows outer variable [shadowVariable] Argyll_V3.3.0/icc/lutest.c:879:24: note: Shadowed declaration Argyll_V3.3.0/icc/lutest.c:2428:26: note: Shadow variable Argyll_V3.3.0/icc/lutest.c:124:42: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/lutest.c:132:44: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/lutest.c:140:46: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/lutest.c:168:46: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/lutest.c:198:30: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/lutest.c:231:30: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/lutest.c:263:30: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/lutest.c:263:45: style: Parameter 'in2' can be declared as const array [constParameter] Argyll_V3.3.0/icc/lutest.c:275:30: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/icc/lutest.c:275:45: style: Parameter 'in2' can be declared as const array [constParameter] Argyll_V3.3.0/icc/lutest.c:295:57: style: Parameter 'in' can be declared as pointer to const. However it seems that 'Gray_GrayY' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/icc/lutest.c:1068:6: note: You might need to cast the function pointer here Argyll_V3.3.0/icc/lutest.c:295:57: note: Parameter 'in' can be declared as pointer to const Argyll_V3.3.0/icc/lutest.c:368:57: style: Parameter 'in' can be declared as pointer to const. However it seems that 'Gray_GrayL' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/icc/lutest.c:1389:6: note: You might need to cast the function pointer here Argyll_V3.3.0/icc/lutest.c:368:57: note: Parameter 'in' can be declared as pointer to const Argyll_V3.3.0/icc/lutest.c:403:31: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/icc/lutest.c:447:56: style: Parameter 'in' can be declared as const array. However it seems that 'RGB_RGBp' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/icc/lutest.c:3241:6: note: You might need to cast the function pointer here Argyll_V3.3.0/icc/lutest.c:447:56: note: Parameter 'in' can be declared as const array Argyll_V3.3.0/icc/lutest.c:460:56: style: Parameter 'in' can be declared as const array. However it seems that 'RGBp_RGB' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/icc/lutest.c:3320:6: note: You might need to cast the function pointer here Argyll_V3.3.0/icc/lutest.c:460:56: note: Parameter 'in' can be declared as const array Argyll_V3.3.0/icc/lutest.c:488:57: style: Parameter 'in' can be declared as const array. However it seems that 'RGBp_XYZp' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/icc/lutest.c:2159:6: note: You might need to cast the function pointer here Argyll_V3.3.0/icc/lutest.c:488:57: note: Parameter 'in' can be declared as const array Argyll_V3.3.0/icc/lutest.c:507:57: style: Parameter 'in' can be declared as const array. However it seems that 'XYZp_RGBp' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/icc/lutest.c:2291:6: note: You might need to cast the function pointer here Argyll_V3.3.0/icc/lutest.c:507:57: note: Parameter 'in' can be declared as const array Argyll_V3.3.0/icc/lutest.c:527:56: style: Parameter 'in' can be declared as const array. However it seems that 'XYZp_XYZ' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/icc/lutest.c:2161:6: note: You might need to cast the function pointer here Argyll_V3.3.0/icc/lutest.c:527:56: note: Parameter 'in' can be declared as const array Argyll_V3.3.0/icc/lutest.c:540:56: style: Parameter 'in' can be declared as const array. However it seems that 'XYZ_XYZp' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/icc/lutest.c:2334:6: note: You might need to cast the function pointer here Argyll_V3.3.0/icc/lutest.c:540:56: note: Parameter 'in' can be declared as const array Argyll_V3.3.0/icc/lutest.c:678:60: style: Parameter 'in' can be declared as const array. However it seems that 'BDIST_GAMMUT' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/icc/lutest.c:3358:6: note: You might need to cast the function pointer here Argyll_V3.3.0/icc/lutest.c:678:60: note: Parameter 'in' can be declared as const array Argyll_V3.3.0/icc/lutest.c:708:56: style: Parameter 'in' can be declared as const array. However it seems that 'Labp_Lab' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/icc/lutest.c:3245:6: note: You might need to cast the function pointer here Argyll_V3.3.0/icc/lutest.c:708:56: note: Parameter 'in' can be declared as const array Argyll_V3.3.0/icc/lutest.c:715:56: style: Parameter 'in' can be declared as const array. However it seems that 'Lab_Labp' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/icc/lutest.c:3354:6: note: You might need to cast the function pointer here Argyll_V3.3.0/icc/lutest.c:715:56: note: Parameter 'in' can be declared as const array Argyll_V3.3.0/icc/lutest.c:885:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/lutest.c:1009:10: style: Variable 'dst' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/lutest.c:1021:10: style: Variable 'crt' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/lutest.c:1330:10: style: Variable 'dst' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/lutest.c:1342:10: style: Variable 'crt' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/lutest.c:1757:10: style: Variable 'dst' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/lutest.c:1769:10: style: Variable 'crt' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/lutest.c:2085:10: style: Variable 'dst' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/lutest.c:2097:10: style: Variable 'crt' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/lutest.c:2169:13: style: Variable 'wo' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/lutest.c:2177:13: style: Variable 'wo' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/lutest.c:2301:13: style: Variable 'wo' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/lutest.c:2309:13: style: Variable 'wo' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/lutest.c:2672:10: style: Variable 'dst' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/lutest.c:2684:10: style: Variable 'crt' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/lutest.c:2745:13: style: Variable 'wo' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/lutest.c:2753:13: style: Variable 'wo' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/lutest.c:2822:13: style: Variable 'wo' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/lutest.c:2830:13: style: Variable 'wo' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/lutest.c:3181:10: style: Variable 'dst' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/lutest.c:3193:10: style: Variable 'crt' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/lutest.c:3252:13: style: Variable 'wo' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/lutest.c:3260:13: style: Variable 'wo' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/lutest.c:3327:13: style: Variable 'wo' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/lutest.c:3335:13: style: Variable 'wo' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/lutest.c:3662:41: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/lutest.c:3678:47: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/lutest.c:3709:48: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/icc/lutest.c:863:11: style: Variable 'verb' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/lutest.c:905:11: style: Variable 'verb' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/lutest.c:907:11: style: Variable 'verb' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/lutest.c:2171:12: style: Variable 'wo' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/lutest.c:2179:12: style: Variable 'wo' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/lutest.c:2303:12: style: Variable 'wo' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/lutest.c:2311:12: style: Variable 'wo' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/lutest.c:2747:12: style: Variable 'wo' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/lutest.c:2755:12: style: Variable 'wo' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/lutest.c:2824:12: style: Variable 'wo' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/lutest.c:2832:12: style: Variable 'wo' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/lutest.c:3254:12: style: Variable 'wo' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/lutest.c:3262:12: style: Variable 'wo' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/lutest.c:3329:12: style: Variable 'wo' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/lutest.c:3337:12: style: Variable 'wo' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/lutest.c:3734:11: style: Variable 'e' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/lutest.c:3734:9: style: Variable 'e' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/imdi/cctiff.c:104:0: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] Argyll_V3.3.0/imdi/cctiff.c:104:3: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] Argyll_V3.3.0/imdi/cctiffo.c:48:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/imdi/cctiffo.c:75:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PHOTOMETRIC_MINISBLACK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/imdi/cctiffo.c:221:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INKSET_CMYK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/imdi/cctiffo.c:375:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/imdi/cctiffo.c:454:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/imdi/cctiffo.c:1079:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/imdi/cctiffo.c:1092:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/imdi/cgen.c:205:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/imdi/cgen.c:1633:7: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/imdi/cgen.c:174:9: note: Shadowed declaration Argyll_V3.3.0/imdi/cgen.c:1633:7: note: Shadow variable Argyll_V3.3.0/imdi/cgen.c:165:11: style: Parameter 'og' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/imdi/cgen.c:166:11: style: Parameter 'ot' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/imdi/cgen.c:169:16: style: Variable 'kk' can be declared as const array [constVariable] Argyll_V3.3.0/imdi/cgen.c:1966:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/imdi/cgen.c:2006:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/imdi/cgen.c:141:26: warning: Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 140. [shiftTooManyBitsSigned] Argyll_V3.3.0/imdi/cgen.c:140:11: note: Assuming that condition 'bits<32' is not redundant Argyll_V3.3.0/imdi/cgen.c:141:26: note: Shift Argyll_V3.3.0/imdi/cgen.c:59:6: style: struct member 'fileo::itmnb' is never used. [unusedStructMember] Argyll_V3.3.0/imdi/cgen.c:76:6: style: struct member 'fileo::womnb' is never used. [unusedStructMember] Argyll_V3.3.0/icc/mcheck.c:123:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Argyll_V3.3.0/icc/mcheck.c:125:4: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/icc/mcheck.c:123:9: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/icc/mcheck.c:83:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/icc/mcheck.c:282:8: error: Uninitialized variable: wrl [legacyUninitvar] Argyll_V3.3.0/icc/mcheck.c:81:7: style: Variable 'nfa' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/mcheck.c:86:8: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/mcheck.c:91:10: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/mcheck.c:239:15: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/icc/mcheck.c:62:7: style: Unused variable: wr_icco [unusedVariable] Argyll_V3.3.0/imdi/ctest.c:151:5: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/imdi/greytiff.c:49:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/imdi/greytiff.c:67:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PHOTOMETRIC_MINISBLACK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/imdi/greytiff.c:202:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigLabData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/imdi/imdi.c:105:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_kfuncs [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/imdi/greytiff.c:303:3: warning:inconclusive: Either the condition '(op=new_icmFileStd_fp(&err,stdout))==NULL' is redundant or there is possible null pointer dereference: op. [nullPointerRedundantCheck] Argyll_V3.3.0/imdi/greytiff.c:300:45: note: Assuming that condition '(op=new_icmFileStd_fp(&err,stdout))==NULL' is not redundant Argyll_V3.3.0/imdi/greytiff.c:303:3: note: Null pointer dereference Argyll_V3.3.0/imdi/greytiff.c:151:10: style: Parameter 'in_vals' can be declared as pointer to const. However it seems that 'input_curve' is a callback function, if 'in_vals' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/imdi/greytiff.c:403:4: note: You might need to cast the function pointer here Argyll_V3.3.0/imdi/greytiff.c:151:10: note: Parameter 'in_vals' can be declared as pointer to const Argyll_V3.3.0/imdi/greytiff.c:153:10: style: Variable 'rx' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/imdi/greytiff.c:179:10: style: Parameter 'in_vals' can be declared as pointer to const. However it seems that 'output_curve' is a callback function, if 'in_vals' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/imdi/greytiff.c:405:4: note: You might need to cast the function pointer here Argyll_V3.3.0/imdi/greytiff.c:179:10: note: Parameter 'in_vals' can be declared as pointer to const Argyll_V3.3.0/imdi/greytiff.c:181:10: style: Variable 'rx' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/imdi/greytiff.c:210:28: style: Variable 'checkbuf' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/imdi/greytiff.c:236:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/imdi/greytiff.c:234:7: style: Variable 'nfa' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/imdi/greytiff.c:239:8: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/imdi/greytiff.c:244:10: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/imdi/greytiff.c:419:11: style: Variable 'checkbuf' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/imdi/imdi.c:559:29: style:inconclusive: Function 'imdi_info' argument 1 names different: declaration 's' definition 'im'. [funcArgNamesDifferent] Argyll_V3.3.0/imdi/imdi.c:32:29: note: Function 'imdi_info' argument 1 names different: declaration 's' definition 'im'. Argyll_V3.3.0/imdi/imdi.c:559:29: note: Function 'imdi_info' argument 1 names different: declaration 's' definition 'im'. Argyll_V3.3.0/imdi/imdi.c:559:48: style:inconclusive: Function 'imdi_info' argument 2 names different: declaration 'size' definition 'psize'. [funcArgNamesDifferent] Argyll_V3.3.0/imdi/imdi.c:32:47: note: Function 'imdi_info' argument 2 names different: declaration 'size' definition 'psize'. Argyll_V3.3.0/imdi/imdi.c:559:48: note: Function 'imdi_info' argument 2 names different: declaration 'size' definition 'psize'. Argyll_V3.3.0/imdi/imdi.c:559:60: style:inconclusive: Function 'imdi_info' argument 3 names different: declaration 'gres' definition 'pgres'. [funcArgNamesDifferent] Argyll_V3.3.0/imdi/imdi.c:32:58: note: Function 'imdi_info' argument 3 names different: declaration 'gres' definition 'pgres'. Argyll_V3.3.0/imdi/imdi.c:559:60: note: Function 'imdi_info' argument 3 names different: declaration 'gres' definition 'pgres'. Argyll_V3.3.0/imdi/imdi.c:559:72: style:inconclusive: Function 'imdi_info' argument 4 names different: declaration 'sres' definition 'psres'. [funcArgNamesDifferent] Argyll_V3.3.0/imdi/imdi.c:32:69: note: Function 'imdi_info' argument 4 names different: declaration 'sres' definition 'psres'. Argyll_V3.3.0/imdi/imdi.c:559:72: note: Function 'imdi_info' argument 4 names different: declaration 'sres' definition 'psres'. Argyll_V3.3.0/imdi/imdi.c:560:12: style: Variable 'impl' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/imdi/imdi_gen.c:134:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/imdi/imdi_gen.c:315:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/imdi/imdi_gen.c:166:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] Argyll_V3.3.0/imdi/imdi_gen.c:155:9: style: Variable 'ddesc' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/imdi/imdi_make.c:121:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/imdi/imdi_make.c:131:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/imdi/imdi_make.c:224:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/imdi/imdi_tab.c:93:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/imdi/imdi_tab.c:513:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/imdi/cctiffo.c:817:15: style: Condition 'inames!=NULL' is always true [knownConditionTrueFalse] Argyll_V3.3.0/imdi/cctiffo.c:211:4: style: Statements following 'return' will never be executed. [unreachableCode] Argyll_V3.3.0/imdi/cctiffo.c:885:10: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/imdi/cctiffo.c:439:6: note: Shadowed declaration Argyll_V3.3.0/imdi/cctiffo.c:885:10: note: Shadow variable Argyll_V3.3.0/imdi/cctiffo.c:949:10: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/imdi/cctiffo.c:439:6: note: Shadowed declaration Argyll_V3.3.0/imdi/cctiffo.c:949:10: note: Shadow variable Argyll_V3.3.0/imdi/cctiffo.c:994:10: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/imdi/cctiffo.c:439:6: note: Shadowed declaration Argyll_V3.3.0/imdi/cctiffo.c:994:10: note: Shadow variable Argyll_V3.3.0/imdi/cctiffo.c:190:27: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/imdi/cctiffo.c:477:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/imdi/cctiffo.c:327:6: style: struct member '_profinfo::chan' is never used. [unusedStructMember] Argyll_V3.3.0/imdi/imdi_make.c:384:33: style: Condition '*((unsigned char*)&etest)==0xff' is always true [knownConditionTrueFalse] Argyll_V3.3.0/imdi/imdi_make.c:381:24: note: Assignment 'etest=0xff', assigned value is 255 Argyll_V3.3.0/imdi/imdi_make.c:384:33: note: Condition '*((unsigned char*)&etest)==0xff' is always true Argyll_V3.3.0/imdi/imdi_make.c:117:20: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/imdi/imdi_make.c:117:32: style: Parameter 'desc' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/imdi/imdi_make.c:170:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/imdi/imdi_make.c:258:9: style: Variable 'ofname' can be declared as const array [constVariable] Argyll_V3.3.0/imdi/imdi_make.c:382:8: style: Variable 'machtype' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/imdi/imdi_make.c:264:36: error: Uninitialized variable: ofname [uninitvar] Argyll_V3.3.0/imdi/refi.c:76:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/imdi/refi.c:18:9: style: Parameter 'in' can be declared as pointer to const. However it seems that 'inputlu' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/imdi/refi.c:97:46: note: You might need to cast the function pointer here Argyll_V3.3.0/imdi/refi.c:18:9: note: Parameter 'in' can be declared as pointer to const Argyll_V3.3.0/imdi/refi.c:44:9: style: Parameter 'in' can be declared as pointer to const. However it seems that 'outputlu' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/imdi/refi.c:116:48: note: You might need to cast the function pointer here Argyll_V3.3.0/imdi/refi.c:44:9: note: Parameter 'in' can be declared as pointer to const Argyll_V3.3.0/imdi/refi.c:126:9: style: Parameter 'in_vals' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/imdi/refi.c:143:9: style: Parameter 'in_vals' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/imdi/refi.c:160:9: style: Parameter 'in_vals' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/imdi/imdi_tab.c:166:34: style: Condition '*((unsigned char*)&etest)==0xff' is always true [knownConditionTrueFalse] Argyll_V3.3.0/imdi/imdi_tab.c:154:24: note: Assignment 'etest=0xff', assigned value is 255 Argyll_V3.3.0/imdi/imdi_tab.c:166:34: note: Condition '*((unsigned char*)&etest)==0xff' is always true Argyll_V3.3.0/imdi/itest.c:116:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/imdi/itest.c:274:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error_program [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/imdi/imdi_tab.c:537:8: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/imdi/imdi_tab.c:152:6: note: Shadowed declaration Argyll_V3.3.0/imdi/imdi_tab.c:537:8: note: Shadow variable Argyll_V3.3.0/imdi/imdi_tab.c:746:7: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/imdi/imdi_tab.c:152:6: note: Shadowed declaration Argyll_V3.3.0/imdi/imdi_tab.c:746:7: note: Shadow variable Argyll_V3.3.0/imdi/imdi_tab.c:139:7: style: Parameter 'inm' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/imdi/imdi_tab.c:140:7: style: Parameter 'outm' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/imdi/imdi_tab.c:142:16: style: Parameter 'checkv' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/imdi/imdi_tab.c:415:5: style: Variable 'p' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/imdi/imdi_tab.c:416:3: style: Variable 'phccount' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/jcnf/jcnf.c:741:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCK_EX [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/jcnf/jcnf.c:786:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yajl_allow_comments [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/jcnf/jcnf.c:897:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yajl_gen_beautify [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/jcnf/jcnf.c:873:4: error: Resource leak: fh [resourceLeak] Argyll_V3.3.0/jcnf/jcnf.c:126:24: portability: Casting between unsigned char * and double * which have an incompatible binary data representation. [invalidPointerCast] Argyll_V3.3.0/jcnf/jcnf.c:980:26: portability: Casting between unsigned char * and double * which have an incompatible binary data representation. [invalidPointerCast] Argyll_V3.3.0/jcnf/jcnf.c:107:10: style: Variable 'kp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/jcnf/jcnf.c:186:8: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/jcnf/jcnf.c:190:8: style: Parameter 'comment' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/jcnf/jcnf.c:255:8: style: Parameter 'p' can be declared as pointer to const. However it seems that 'jcnf_locate_key' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/jcnf/jcnf.c:1198:18: note: You might need to cast the function pointer here Argyll_V3.3.0/jcnf/jcnf.c:255:8: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/jcnf/jcnf.c:257:8: style: Parameter 'key' can be declared as pointer to const. However it seems that 'jcnf_locate_key' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/jcnf/jcnf.c:1198:18: note: You might need to cast the function pointer here Argyll_V3.3.0/jcnf/jcnf.c:257:8: note: Parameter 'key' can be declared as pointer to const Argyll_V3.3.0/jcnf/jcnf.c:903:9: style: Variable 'pc' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/jcnf/jcnf.c:1170:8: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/jcnf/jcnf.c:615:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/jcnf/jcnf.c:845:17: style: Unused variable: stat [unusedVariable] Argyll_V3.3.0/jcnf/jcnf.c:1121:14: style: Unused variable: sbuf [unusedVariable] Argyll_V3.3.0/jcnf/test.c:130:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/jcnf/test.c:155:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/jcnf/test.c:46:9: style: Unused variable: fa [unusedVariable] Argyll_V3.3.0/jcnf/test.c:46:12: style: Unused variable: nfa [unusedVariable] Argyll_V3.3.0/imdi/ssort.c:82:5: style: Unused variable: xx [unusedVariable] Argyll_V3.3.0/imdi/ssort.c:273:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/imdi/ssort.c:302:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/imdi/ssort.c:314:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/imdi/itest.c:291:13: style: Local variable 's' shadows outer variable [shadowVariable] Argyll_V3.3.0/imdi/itest.c:144:8: note: Shadowed declaration Argyll_V3.3.0/imdi/itest.c:291:13: note: Shadow variable Argyll_V3.3.0/imdi/itest.c:47:10: style: Parameter 'in_vals' can be declared as pointer to const. However it seems that 'input_curves' is a callback function, if 'in_vals' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/imdi/itest.c:315:6: note: You might need to cast the function pointer here Argyll_V3.3.0/imdi/itest.c:47:10: note: Parameter 'in_vals' can be declared as pointer to const Argyll_V3.3.0/imdi/itest.c:50:9: style: Variable 'rx' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/imdi/itest.c:68:10: style: Parameter 'in_vals' can be declared as pointer to const. However it seems that 'md_table' is a callback function, if 'in_vals' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/imdi/itest.c:316:6: note: You might need to cast the function pointer here Argyll_V3.3.0/imdi/itest.c:68:10: note: Parameter 'in_vals' can be declared as pointer to const Argyll_V3.3.0/imdi/itest.c:95:10: style: Parameter 'in_vals' can be declared as pointer to const. However it seems that 'output_curves' is a callback function, if 'in_vals' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/imdi/itest.c:317:6: note: You might need to cast the function pointer here Argyll_V3.3.0/imdi/itest.c:95:10: note: Parameter 'in_vals' can be declared as pointer to const Argyll_V3.3.0/imdi/itest.c:98:9: style: Variable 'rx' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/imdi/itest.c:152:18: style: Variable 'obuf2' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/imdi/itest.c:170:6: style: Variable 'ids' can be declared as const array [constVariable] Argyll_V3.3.0/imdi/itest.c:171:6: style: Variable 'ods' can be declared as const array [constVariable] Argyll_V3.3.0/imdi/itest.c:172:6: style: Variable 'iprs' can be declared as const array [constVariable] Argyll_V3.3.0/imdi/itest.c:173:6: style: Variable 'oprs' can be declared as const array [constVariable] Argyll_V3.3.0/imdi/itest.c:181:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/link/monoplot.c:39:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/link/monoplot.c:168:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_err [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/link/pathplot.c:89:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/link/pathplot.c:116:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error_program [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/link/monoplot.c:112:12: warning:inconclusive: Either the condition '(in_icco=new_icc(&err))==NULL' is redundant or there is possible null pointer dereference: in_icco. [nullPointerRedundantCheck] Argyll_V3.3.0/link/monoplot.c:109:32: note: Assuming that condition '(in_icco=new_icc(&err))==NULL' is not redundant Argyll_V3.3.0/link/monoplot.c:112:12: note: Null pointer dereference Argyll_V3.3.0/link/monoplot.c:122:12: warning:inconclusive: Either the condition '(link_icco=new_icc(&err))==NULL' is redundant or there is possible null pointer dereference: link_icco. [nullPointerRedundantCheck] Argyll_V3.3.0/link/monoplot.c:119:34: note: Assuming that condition '(link_icco=new_icc(&err))==NULL' is not redundant Argyll_V3.3.0/link/monoplot.c:122:12: note: Null pointer dereference Argyll_V3.3.0/link/monoplot.c:132:12: warning:inconclusive: Either the condition '(out_icco=new_icc(&err))==NULL' is redundant or there is possible null pointer dereference: out_icco. [nullPointerRedundantCheck] Argyll_V3.3.0/link/monoplot.c:129:33: note: Assuming that condition '(out_icco=new_icc(&err))==NULL' is not redundant Argyll_V3.3.0/link/monoplot.c:132:12: note: Null pointer dereference Argyll_V3.3.0/link/monoplot.c:87:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Argyll_V3.3.0/link/monoplot.c:89:4: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/link/monoplot.c:87:9: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/link/monoplot.c:70:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/link/monoplot.c:68:7: style: Variable 'nfa' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/link/monoplot.c:73:8: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/link/monoplot.c:78:10: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/link/pathplot.c:167:12: warning:inconclusive: Either the condition '(in_icco=new_icc(&err))==NULL' is redundant or there is possible null pointer dereference: in_icco. [nullPointerRedundantCheck] Argyll_V3.3.0/link/pathplot.c:164:32: note: Assuming that condition '(in_icco=new_icc(&err))==NULL' is not redundant Argyll_V3.3.0/link/pathplot.c:167:12: note: Null pointer dereference Argyll_V3.3.0/link/pathplot.c:180:12: warning:inconclusive: Either the condition '(link_icco=new_icc(&err))==NULL' is redundant or there is possible null pointer dereference: link_icco. [nullPointerRedundantCheck] Argyll_V3.3.0/link/pathplot.c:177:34: note: Assuming that condition '(link_icco=new_icc(&err))==NULL' is not redundant Argyll_V3.3.0/link/pathplot.c:180:12: note: Null pointer dereference Argyll_V3.3.0/link/pathplot.c:190:12: warning:inconclusive: Either the condition '(out_icco=new_icc(&err))==NULL' is redundant or there is possible null pointer dereference: out_icco. [nullPointerRedundantCheck] Argyll_V3.3.0/link/pathplot.c:187:33: note: Assuming that condition '(out_icco=new_icc(&err))==NULL' is not redundant Argyll_V3.3.0/link/pathplot.c:190:12: note: Null pointer dereference Argyll_V3.3.0/link/pathplot.c:142:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Argyll_V3.3.0/link/pathplot.c:144:4: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/link/pathplot.c:142:9: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/link/pathplot.c:125:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/link/pathplot.c:123:7: style: Variable 'nfa' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/link/pathplot.c:128:8: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/link/pathplot.c:133:10: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/link/pathplot.c:255:13: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/namedc/txt2iccnc.c:40:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/namedc/txt2iccnc.c:58:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/namedc/txt2iccnc.c:187:14: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] Argyll_V3.3.0/namedc/txt2iccnc.c:216:14: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] Argyll_V3.3.0/namedc/namedc.c:132:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXML_TEXT [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/namedc/namedc.c:189:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXML_SAX_ELEMENT_OPEN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/namedc/namedc.c:321:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/namedc/namedc.c:956:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/namedc/namedc.c:1202:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icIlluminantD50 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/namedc/txt2iccnc.c:120:2: warning: Either the condition '(wr_icco=new_icc(&err))==NULL' is redundant or there is possible null pointer dereference: wr_icco. [nullPointerRedundantCheck] Argyll_V3.3.0/namedc/txt2iccnc.c:116:32: note: Assuming that condition '(wr_icco=new_icc(&err))==NULL' is not redundant Argyll_V3.3.0/namedc/txt2iccnc.c:120:2: note: Null pointer dereference Argyll_V3.3.0/namedc/txt2iccnc.c:121:5: warning: Either the condition '(wr_icco=new_icc(&err))==NULL' is redundant or there is possible null pointer dereference: wr_icco. [nullPointerRedundantCheck] Argyll_V3.3.0/namedc/txt2iccnc.c:116:32: note: Assuming that condition '(wr_icco=new_icc(&err))==NULL' is not redundant Argyll_V3.3.0/namedc/txt2iccnc.c:121:5: note: Null pointer dereference Argyll_V3.3.0/namedc/txt2iccnc.c:122:5: warning: Either the condition '(wr_icco=new_icc(&err))==NULL' is redundant or there is possible null pointer dereference: wr_icco. [nullPointerRedundantCheck] Argyll_V3.3.0/namedc/txt2iccnc.c:116:32: note: Assuming that condition '(wr_icco=new_icc(&err))==NULL' is not redundant Argyll_V3.3.0/namedc/txt2iccnc.c:122:5: note: Null pointer dereference Argyll_V3.3.0/namedc/txt2iccnc.c:123:5: warning: Either the condition '(wr_icco=new_icc(&err))==NULL' is redundant or there is possible null pointer dereference: wr_icco. [nullPointerRedundantCheck] Argyll_V3.3.0/namedc/txt2iccnc.c:116:32: note: Assuming that condition '(wr_icco=new_icc(&err))==NULL' is not redundant Argyll_V3.3.0/namedc/txt2iccnc.c:123:5: note: Null pointer dereference Argyll_V3.3.0/namedc/txt2iccnc.c:128:41: warning:inconclusive: Either the condition '(wr_icco=new_icc(&err))==NULL' is redundant or there is possible null pointer dereference: wr_icco. [nullPointerRedundantCheck] Argyll_V3.3.0/namedc/txt2iccnc.c:116:32: note: Assuming that condition '(wr_icco=new_icc(&err))==NULL' is not redundant Argyll_V3.3.0/namedc/txt2iccnc.c:128:41: note: Null pointer dereference Argyll_V3.3.0/namedc/txt2iccnc.c:132:3: warning: Either the condition '(wo=(icmCommonTextDescription*)wr_icco->add_tag(wr_icco,icSigProfileDescriptionTag,icmSigCommonTextDescriptionType))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/namedc/txt2iccnc.c:129:85: note: Assuming that condition '(wo=(icmCommonTextDescription*)wr_icco->add_tag(wr_icco,icSigProfileDescriptionTag,icmSigCommonTextDescriptionType))==NULL' is not redundant Argyll_V3.3.0/namedc/txt2iccnc.c:132:3: note: Null pointer dereference Argyll_V3.3.0/namedc/txt2iccnc.c:133:3: warning: Either the condition '(wo=(icmCommonTextDescription*)wr_icco->add_tag(wr_icco,icSigProfileDescriptionTag,icmSigCommonTextDescriptionType))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/namedc/txt2iccnc.c:129:85: note: Assuming that condition '(wo=(icmCommonTextDescription*)wr_icco->add_tag(wr_icco,icSigProfileDescriptionTag,icmSigCommonTextDescriptionType))==NULL' is not redundant Argyll_V3.3.0/namedc/txt2iccnc.c:133:3: note: Null pointer dereference Argyll_V3.3.0/namedc/txt2iccnc.c:134:10: warning:inconclusive: Either the condition '(wo=(icmCommonTextDescription*)wr_icco->add_tag(wr_icco,icSigProfileDescriptionTag,icmSigCommonTextDescriptionType))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/namedc/txt2iccnc.c:129:85: note: Assuming that condition '(wo=(icmCommonTextDescription*)wr_icco->add_tag(wr_icco,icSigProfileDescriptionTag,icmSigCommonTextDescriptionType))==NULL' is not redundant Argyll_V3.3.0/namedc/txt2iccnc.c:134:10: note: Null pointer dereference Argyll_V3.3.0/namedc/txt2iccnc.c:148:3: warning: Either the condition '(wo=(icmCommonTextDescription*)wr_icco->add_tag(wr_icco,icSigCopyrightTag,icmSigCommonTextDescriptionType))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/namedc/txt2iccnc.c:145:76: note: Assuming that condition '(wo=(icmCommonTextDescription*)wr_icco->add_tag(wr_icco,icSigCopyrightTag,icmSigCommonTextDescriptionType))==NULL' is not redundant Argyll_V3.3.0/namedc/txt2iccnc.c:148:3: note: Null pointer dereference Argyll_V3.3.0/namedc/txt2iccnc.c:149:3: warning: Either the condition '(wo=(icmCommonTextDescription*)wr_icco->add_tag(wr_icco,icSigCopyrightTag,icmSigCommonTextDescriptionType))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/namedc/txt2iccnc.c:145:76: note: Assuming that condition '(wo=(icmCommonTextDescription*)wr_icco->add_tag(wr_icco,icSigCopyrightTag,icmSigCommonTextDescriptionType))==NULL' is not redundant Argyll_V3.3.0/namedc/txt2iccnc.c:149:3: note: Null pointer dereference Argyll_V3.3.0/namedc/txt2iccnc.c:150:10: warning:inconclusive: Either the condition '(wo=(icmCommonTextDescription*)wr_icco->add_tag(wr_icco,icSigCopyrightTag,icmSigCommonTextDescriptionType))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/namedc/txt2iccnc.c:145:76: note: Assuming that condition '(wo=(icmCommonTextDescription*)wr_icco->add_tag(wr_icco,icSigCopyrightTag,icmSigCommonTextDescriptionType))==NULL' is not redundant Argyll_V3.3.0/namedc/txt2iccnc.c:150:10: note: Null pointer dereference Argyll_V3.3.0/namedc/txt2iccnc.c:162:3: warning: Either the condition '(wo=(icmXYZArray*)wr_icco->add_tag(wr_icco,icSigMediaWhitePointTag,icSigXYZArrayType))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/namedc/txt2iccnc.c:159:68: note: Assuming that condition '(wo=(icmXYZArray*)wr_icco->add_tag(wr_icco,icSigMediaWhitePointTag,icSigXYZArrayType))==NULL' is not redundant Argyll_V3.3.0/namedc/txt2iccnc.c:162:3: note: Null pointer dereference Argyll_V3.3.0/namedc/txt2iccnc.c:163:3: warning: Either the condition '(wo=(icmXYZArray*)wr_icco->add_tag(wr_icco,icSigMediaWhitePointTag,icSigXYZArrayType))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/namedc/txt2iccnc.c:159:68: note: Assuming that condition '(wo=(icmXYZArray*)wr_icco->add_tag(wr_icco,icSigMediaWhitePointTag,icSigXYZArrayType))==NULL' is not redundant Argyll_V3.3.0/namedc/txt2iccnc.c:163:3: note: Null pointer dereference Argyll_V3.3.0/namedc/txt2iccnc.c:164:3: warning:inconclusive: Either the condition '(wo=(icmXYZArray*)wr_icco->add_tag(wr_icco,icSigMediaWhitePointTag,icSigXYZArrayType))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/namedc/txt2iccnc.c:159:68: note: Assuming that condition '(wo=(icmXYZArray*)wr_icco->add_tag(wr_icco,icSigMediaWhitePointTag,icSigXYZArrayType))==NULL' is not redundant Argyll_V3.3.0/namedc/txt2iccnc.c:164:3: note: Null pointer dereference Argyll_V3.3.0/namedc/txt2iccnc.c:175:6: warning: Either the condition '(wo=(icmNamedColor*)wr_icco->add_tag(wr_icco,icSigNamedColor2Tag,icSigNamedColor2Type))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/namedc/txt2iccnc.c:172:66: note: Assuming that condition '(wo=(icmNamedColor*)wr_icco->add_tag(wr_icco,icSigNamedColor2Tag,icSigNamedColor2Type))==NULL' is not redundant Argyll_V3.3.0/namedc/txt2iccnc.c:175:6: note: Null pointer dereference Argyll_V3.3.0/namedc/txt2iccnc.c:73:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/namedc/txt2iccnc.c:140:9: style: Variable 'crt' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/namedc/txt2iccnc.c:71:7: style: Variable 'nfa' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/namedc/txt2iccnc.c:76:8: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/namedc/txt2iccnc.c:81:10: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/aatree.c:332:33: style: Parameter 'tree' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/aatree.c:392:18: style: Variable 'last' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/namedc/namedc.c:1115:8: style: Condition 'Lab_v' is always true [knownConditionTrueFalse] Argyll_V3.3.0/namedc/namedc.c:1078:12: note: Assignment 'Lab_v=1', assigned value is 1 Argyll_V3.3.0/namedc/namedc.c:1107:48: note: Assuming condition is false Argyll_V3.3.0/namedc/namedc.c:1115:8: note: Condition 'Lab_v' is always true Argyll_V3.3.0/namedc/namedc.c:715:6: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Argyll_V3.3.0/namedc/namedc.c:1097:6: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Argyll_V3.3.0/namedc/namedc.c:1349:10: warning: Either the condition '(p=(struct namedc*)calloc(1,sizeof(struct namedc)))==NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] Argyll_V3.3.0/namedc/namedc.c:1348:48: note: Assuming that condition '(p=(struct namedc*)calloc(1,sizeof(struct namedc)))==NULL' is not redundant Argyll_V3.3.0/namedc/namedc.c:1349:10: note: Null pointer dereference Argyll_V3.3.0/namedc/namedc.c:1136:3: style: Label 'next' is not used. [unusedLabel] Argyll_V3.3.0/namedc/namedc.c:488:8: style: Local variable 'j' shadows outer variable [shadowVariable] Argyll_V3.3.0/namedc/namedc.c:304:9: note: Shadowed declaration Argyll_V3.3.0/namedc/namedc.c:488:8: note: Shadow variable Argyll_V3.3.0/namedc/namedc.c:490:16: style: Local variable 'name' shadows outer variable [shadowVariable] Argyll_V3.3.0/namedc/namedc.c:301:21: note: Shadowed declaration Argyll_V3.3.0/namedc/namedc.c:490:16: note: Shadow variable Argyll_V3.3.0/namedc/namedc.c:1254:11: style: Local variable 'de' shadows outer argument [shadowArgument] Argyll_V3.3.0/namedc/namedc.c:1180:38: note: Shadowed declaration Argyll_V3.3.0/namedc/namedc.c:1254:11: note: Shadow variable Argyll_V3.3.0/namedc/namedc.c:1263:11: style: Local variable 'de' shadows outer argument [shadowArgument] Argyll_V3.3.0/namedc/namedc.c:1180:38: note: Shadowed declaration Argyll_V3.3.0/namedc/namedc.c:1263:11: note: Shadow variable Argyll_V3.3.0/namedc/namedc.c:1272:11: style: Local variable 'de' shadows outer argument [shadowArgument] Argyll_V3.3.0/namedc/namedc.c:1180:38: note: Shadowed declaration Argyll_V3.3.0/namedc/namedc.c:1272:11: note: Shadow variable Argyll_V3.3.0/namedc/namedc.c:1002:23: style: Variable 'txd' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/namedc/namedc.c:304:9: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/namedc/namedc.c:1029:13: style: Variable 'Lab_v' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/namedc/namedc.c:1031:13: style: Variable 'dev_n' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/namedc/namedc.c:1032:32: style: Variable 'devSig' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/dhsx.c:398:9: style:inconclusive: Function 'simplexinit' argument 4 names different: declaration 'r' definition 's'. [funcArgNamesDifferent] Argyll_V3.3.0/numlib/dhsx.c:25:65: note: Function 'simplexinit' argument 4 names different: declaration 'r' definition 's'. Argyll_V3.3.0/numlib/dhsx.c:398:9: note: Function 'simplexinit' argument 4 names different: declaration 'r' definition 's'. Argyll_V3.3.0/numlib/dhsx.c:396:9: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/dhsx.c:398:9: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/dnsqtest.c:81:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/numlib/dnsqtest.c:92:37: style: Parameter 'x' can be declared as pointer to const. However it seems that 'fcn' is a callback function, if 'x' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/numlib/dnsqtest.c:79:21: note: You might need to cast the function pointer here Argyll_V3.3.0/numlib/dnsqtest.c:92:37: note: Parameter 'x' can be declared as pointer to const Argyll_V3.3.0/numlib/dnsqtest.c:123:9: style: Parameter 'x' can be declared as const array [constParameter] Argyll_V3.3.0/numlib/dnsq.c:82:9: style:inconclusive: Function 'dnsqe' argument 9 names different: declaration 'tol' definition 'atol'. [funcArgNamesDifferent] Argyll_V3.3.0/numlib/dnsq.h:102:9: note: Function 'dnsqe' argument 9 names different: declaration 'tol' definition 'atol'. Argyll_V3.3.0/numlib/dnsq.c:82:9: note: Function 'dnsqe' argument 9 names different: declaration 'tol' definition 'atol'. Argyll_V3.3.0/numlib/dnsq.c:459:9: style:inconclusive: Function 'dnsq' argument 10 names different: declaration 'tol' definition 'atol'. [funcArgNamesDifferent] Argyll_V3.3.0/numlib/dnsq.h:53:9: note: Function 'dnsq' argument 10 names different: declaration 'tol' definition 'atol'. Argyll_V3.3.0/numlib/dnsq.c:459:9: note: Function 'dnsq' argument 10 names different: declaration 'tol' definition 'atol'. Argyll_V3.3.0/numlib/dnsq.c:887:12: style: Local variable 'temp' shadows outer variable [shadowVariable] Argyll_V3.3.0/numlib/dnsq.c:500:9: note: Shadowed declaration Argyll_V3.3.0/numlib/dnsq.c:887:12: note: Shadow variable Argyll_V3.3.0/numlib/dnsq.c:1032:10: style: Parameter 'u' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/dnsq.c:1174:9: style: Parameter 'diag' can be declared as const array [constParameter] Argyll_V3.3.0/numlib/dnsq.c:1324:9: style: Parameter 'x' can be declared as const array [constParameter] Argyll_V3.3.0/numlib/dnsq.c:1435:9: style: Parameter 'fvec' can be declared as const array [constParameter] Argyll_V3.3.0/numlib/dnsq.c:103:8: style: Variable 'index' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/dnsq.c:89:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/numlib/dnsq.c:89:8: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/numlib/gnewt.c:256:6: style:inconclusive: Function 'linesearch' argument 13 names different: declaration 'maxjac' definition 'maxfcn'. [funcArgNamesDifferent] Argyll_V3.3.0/numlib/gnewt.c:31:72: note: Function 'linesearch' argument 13 names different: declaration 'maxjac' definition 'maxfcn'. Argyll_V3.3.0/numlib/gnewt.c:256:6: note: Function 'linesearch' argument 13 names different: declaration 'maxjac' definition 'maxfcn'. Argyll_V3.3.0/numlib/gnewt.c:245:10: style: Parameter 'xold' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/gnewt.c:247:10: style: Parameter 'delf' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/gnewt.c:379:10: style: Parameter 'fvec' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/gnewt.c:53:29: style: Unused variable: __fjac [unusedVariable] Argyll_V3.3.0/numlib/ludecomp.c:270:10: style: Parameter 'pivx' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/ludecomp.c:311:10: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/ludecomp.c:554:9: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:264:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/numlib/numsup.c:426:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/numlib/numsup.c:432:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/numlib/numsup.c:1365:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] Argyll_V3.3.0/numlib/numsup.c:1367:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] Argyll_V3.3.0/numlib/numsup.c:1507:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] Argyll_V3.3.0/numlib/numsup.c:1509:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] Argyll_V3.3.0/numlib/numsup.c:1731:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] Argyll_V3.3.0/numlib/numsup.c:1733:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] Argyll_V3.3.0/numlib/numsup.c:1879:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] Argyll_V3.3.0/numlib/numsup.c:1881:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] Argyll_V3.3.0/numlib/numsup.c:2027:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] Argyll_V3.3.0/numlib/numsup.c:2029:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] Argyll_V3.3.0/numlib/numsup.c:1240:2: error: Memory leak: v [memleak] Argyll_V3.3.0/numlib/numsup.c:1255:2: error: Memory leak: v [memleak] Argyll_V3.3.0/numlib/numsup.c:1301:4: error: Memory leak: m [memleak] Argyll_V3.3.0/numlib/numsup.c:1342:4: error: Memory leak: m [memleak] Argyll_V3.3.0/numlib/numsup.c:1436:4: error: Memory leak: m [memleak] Argyll_V3.3.0/numlib/numsup.c:1484:4: error: Memory leak: m [memleak] Argyll_V3.3.0/numlib/numsup.c:1607:2: error: Memory leak: v [memleak] Argyll_V3.3.0/numlib/numsup.c:1622:2: error: Memory leak: v [memleak] Argyll_V3.3.0/numlib/numsup.c:1667:4: error: Memory leak: m [memleak] Argyll_V3.3.0/numlib/numsup.c:1708:4: error: Memory leak: m [memleak] Argyll_V3.3.0/numlib/numsup.c:1753:2: error: Memory leak: v [memleak] Argyll_V3.3.0/numlib/numsup.c:1768:2: error: Memory leak: v [memleak] Argyll_V3.3.0/numlib/numsup.c:1815:4: error: Memory leak: m [memleak] Argyll_V3.3.0/numlib/numsup.c:1856:4: error: Memory leak: m [memleak] Argyll_V3.3.0/numlib/numsup.c:1901:2: error: Memory leak: v [memleak] Argyll_V3.3.0/numlib/numsup.c:1916:2: error: Memory leak: v [memleak] Argyll_V3.3.0/numlib/numsup.c:1963:4: error: Memory leak: m [memleak] Argyll_V3.3.0/numlib/numsup.c:2004:4: error: Memory leak: m [memleak] Argyll_V3.3.0/numlib/numsup.c:1266:7: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Argyll_V3.3.0/numlib/numsup.c:1369:7: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Argyll_V3.3.0/numlib/numsup.c:1370:7: portability:inconclusive: Casting from double * * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Argyll_V3.3.0/numlib/numsup.c:1511:7: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Argyll_V3.3.0/numlib/numsup.c:1512:7: portability:inconclusive: Casting from double * * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Argyll_V3.3.0/numlib/numsup.c:1590:7: portability:inconclusive: Casting from double * * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Argyll_V3.3.0/numlib/numsup.c:1633:7: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Argyll_V3.3.0/numlib/numsup.c:1735:7: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Argyll_V3.3.0/numlib/numsup.c:1736:7: portability:inconclusive: Casting from float * * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Argyll_V3.3.0/numlib/numsup.c:2327:10: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Argyll_V3.3.0/numlib/numsup.c:2771:6: style: Redundant assignment of 'i0' to itself. [selfAssignment] Argyll_V3.3.0/numlib/numsup.c:3706:18: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] Argyll_V3.3.0/numlib/numsup.c:3716:18: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] Argyll_V3.3.0/numlib/numsup.c:68:25: style:inconclusive: Function 'set_exe_path' argument 1 names different: declaration 'arg0' definition 'argv0'. [funcArgNamesDifferent] Argyll_V3.3.0/numlib/numsup.h:415:32: note: Function 'set_exe_path' argument 1 names different: declaration 'arg0' definition 'argv0'. Argyll_V3.3.0/numlib/numsup.c:68:25: note: Function 'set_exe_path' argument 1 names different: declaration 'arg0' definition 'argv0'. Argyll_V3.3.0/numlib/numsup.c:2563:25: style:inconclusive: Function 'vect_avg' argument 1 names different: declaration 's1' definition 's'. [funcArgNamesDifferent] Argyll_V3.3.0/numlib/numsup.h:692:25: note: Function 'vect_avg' argument 1 names different: declaration 's1' definition 's'. Argyll_V3.3.0/numlib/numsup.c:2563:25: note: Function 'vect_avg' argument 1 names different: declaration 's1' definition 's'. Argyll_V3.3.0/numlib/numsup.c:120:13: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/numlib/numsup.c:211:8: style: Variable 'ev' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/numlib/numsup.c:425:58: style: Parameter 'fmt' can be declared as pointer to const. However it seems that 'a1_default_v_log' is a callback function, if 'fmt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/numlib/numsup.c:494:15: note: You might need to cast the function pointer here Argyll_V3.3.0/numlib/numsup.c:425:58: note: Parameter 'fmt' can be declared as pointer to const Argyll_V3.3.0/numlib/numsup.c:431:59: style: Parameter 'fmt' can be declared as pointer to const. However it seems that 'a1_default_de_log' is a callback function, if 'fmt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/numlib/numsup.c:504:15: note: You might need to cast the function pointer here Argyll_V3.3.0/numlib/numsup.c:431:59: note: Parameter 'fmt' can be declared as pointer to const Argyll_V3.3.0/numlib/numsup.c:666:33: style: Parameter 'pfx' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:666:53: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:695:36: style: Parameter 'pfx' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:695:56: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:1232:10: style: Variable 'v' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/numlib/numsup.c:1247:10: style: Variable 'v' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/numlib/numsup.c:1553:9: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:1599:9: style: Variable 'v' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/numlib/numsup.c:1614:9: style: Variable 'v' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/numlib/numsup.c:1745:7: style: Variable 'v' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/numlib/numsup.c:1760:7: style: Variable 'v' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/numlib/numsup.c:1893:9: style: Variable 'v' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/numlib/numsup.c:1908:9: style: Variable 'v' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/numlib/numsup.c:2337:34: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2347:10: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2357:21: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2357:33: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2367:21: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2376:21: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2376:33: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2384:37: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2392:21: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2401:21: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2401:33: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2410:21: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2418:35: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2418:47: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2426:40: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2426:52: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2436:37: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2436:49: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2444:42: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2444:54: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2453:38: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2453:50: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2453:62: style: Parameter 's3' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2475:36: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2492:36: style: Parameter 's0' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2492:48: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2500:39: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2508:25: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2508:37: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2517:25: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2528:27: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2539:29: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2539:41: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2552:25: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2563:25: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2578:39: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2601:29: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2614:25: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2626:26: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2626:48: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2643:29: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2643:41: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2656:25: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2668:34: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2676:35: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2700:34: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2721:22: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2721:34: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2737:26: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2757:26: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2796:26: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2824:30: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2865:39: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2923:35: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2923:45: style: Parameter 'pfx' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2939:39: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2939:49: style: Parameter 'pfx' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2939:88: style: Parameter 'fmt' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2958:35: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2958:45: style: Parameter 'pfx' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2974:35: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2974:45: style: Parameter 'pfx' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2990:35: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:2990:45: style: Parameter 'pfx' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3006:35: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3006:45: style: Parameter 'pfx' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3006:58: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3019:39: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3019:49: style: Parameter 'pfx' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3019:62: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3019:79: style: Parameter 'fmt' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3035:35: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3035:45: style: Parameter 'pfx' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3035:57: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3048:35: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3048:45: style: Parameter 'pfx' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3048:55: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3061:35: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3061:45: style: Parameter 'pfx' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3061:57: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3075:36: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3075:46: style: Parameter 'pfx' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3096:36: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3096:46: style: Parameter 'pfx' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3096:59: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3113:36: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3113:46: style: Parameter 'pfx' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3113:66: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3299:51: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3333:48: style: Parameter 'mat' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3333:61: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3367:55: style: Parameter 'mat' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3367:68: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3400:55: style: Parameter 'mat' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3400:68: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3422:54: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3624:30: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3639:21: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3656:34: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3663:34: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3687:25: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3694:25: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3722:34: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3731:34: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3757:25: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3766:25: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3792:27: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3805:27: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3843:27: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3856:27: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3906:28: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3915:28: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3943:28: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:3956:28: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:4197:27: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:4223:29: style: Parameter 'fmt' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:4223:42: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:4258:29: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/numsup.c:4260:8: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/numlib/numsup.c:4294:16: style: Variable 'cvals' can be declared as const array [constVariable] Argyll_V3.3.0/numlib/numsup.c:225:10: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/numsup.c:797:9: style: Unused variable: c [unusedVariable] Argyll_V3.3.0/numlib/numsup.c:816:10: style: Variable 'ind' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/numsup.c:816:6: style: Variable 'ind' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/numsup.c:1365:7: style: Variable 'nrh' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/numsup.c:1367:7: style: Variable 'nch' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/numsup.c:1507:7: style: Variable 'nrh' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/numsup.c:1509:7: style: Variable 'nch' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/numsup.c:1731:7: style: Variable 'nrh' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/numsup.c:1733:7: style: Variable 'nch' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/numsup.c:1879:7: style: Variable 'nrh' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/numsup.c:1881:7: style: Variable 'nch' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/numsup.c:2027:7: style: Variable 'nrh' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/numsup.c:2029:7: style: Variable 'nch' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/numsup.c:2782:8: style: Variable 'v0' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/numsup.c:2785:8: style: Variable 'v2' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/numsup.c:632:3: error: va_start() or va_copy() called subsequently on 'args' without va_end() in between. [va_start_subsequentCalls] Argyll_V3.3.0/numlib/powell.c:440:11: style: Redundant assignment of 'xf' to itself. [selfAssignment] Argyll_V3.3.0/numlib/powell.c:955:11: style: Redundant assignment of 'xf' to itself. [selfAssignment] Argyll_V3.3.0/numlib/powell.c:547:3: style: Label 'done' is not used. [unusedLabel] Argyll_V3.3.0/numlib/powell.c:84:8: style: Parameter 's' can be declared as const array [constParameter] Argyll_V3.3.0/numlib/powell.c:263:8: style: Parameter 'xi' can be declared as const array [constParameter] Argyll_V3.3.0/numlib/powell.c:574:8: style: Parameter 's' can be declared as const array [constParameter] Argyll_V3.3.0/numlib/powell.c:768:8: style: Parameter 'xi' can be declared as const array [constParameter] Argyll_V3.3.0/numlib/powell.c:436:16: style: Variable 'af' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/powell.c:436:25: style: Variable 'bf' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/powell.c:520:18: style: Variable 'af' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/powell.c:522:18: style: Variable 'bf' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/powell.c:531:18: style: Variable 'af' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/powell.c:533:18: style: Variable 'bf' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/roots.c:51:25: style: Parameter 'c' can be declared as const array [constParameter] Argyll_V3.3.0/numlib/roots.c:75:23: style: Parameter 'c' can be declared as const array [constParameter] Argyll_V3.3.0/numlib/roots.c:134:25: style: Parameter 'c' can be declared as const array [constParameter] Argyll_V3.3.0/numlib/quadprog.c:107:10: style: Parameter 'ce0' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/quadprog.c:109:13: style: Parameter 'ci0' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/quadprog.c:553:61: style: Parameter 'np' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/quadprog.c:566:60: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/quadprog.c:577:60: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/quadprog.c:744:45: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/quadprog.c:744:56: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/quadprog.c:802:71: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/quadprog.c:814:72: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/quadprog.c:828:32: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/quadprog.c:841:32: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/quadprog.c:841:46: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/quadprog.c:851:33: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/quadprog.c:851:44: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/quadprog.c:117:9: style: Unused variable: inf [unusedVariable] Argyll_V3.3.0/numlib/quadprog.c:127:19: style: Unused variable: __R [unusedVariable] Argyll_V3.3.0/numlib/quadprog.c:127:44: style: Unused variable: __J [unusedVariable] Argyll_V3.3.0/numlib/tconjgrad.c:43:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/numlib/tconjgrad.c:85:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/numlib/tconjgrad.c:95:7: style: Parameter 'fdata' can be declared as pointer to const. However it seems that 'fcn' is a callback function, if 'fdata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/numlib/tconjgrad.c:77:3: note: You might need to cast the function pointer here Argyll_V3.3.0/numlib/tconjgrad.c:95:7: note: Parameter 'fdata' can be declared as pointer to const Argyll_V3.3.0/numlib/tconjgrad.c:96:8: style: Parameter 'tp' can be declared as const array. However it seems that 'fcn' is a callback function, if 'tp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/numlib/tconjgrad.c:77:3: note: You might need to cast the function pointer here Argyll_V3.3.0/numlib/tconjgrad.c:96:8: note: Parameter 'tp' can be declared as const array Argyll_V3.3.0/numlib/tconjgrad.c:64:9: style: Variable 'nprint' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/tdhsx.c:71:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/numlib/tdhsx.c:81:7: style: Parameter 'fdata' can be declared as pointer to const. However it seems that 'fcn' is a callback function, if 'fdata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/numlib/tdhsx.c:67:3: note: You might need to cast the function pointer here Argyll_V3.3.0/numlib/tdhsx.c:81:7: note: Parameter 'fdata' can be declared as pointer to const Argyll_V3.3.0/numlib/tdhsx.c:82:8: style: Parameter 'tp' can be declared as const array. However it seems that 'fcn' is a callback function, if 'tp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/numlib/tdhsx.c:67:3: note: You might need to cast the function pointer here Argyll_V3.3.0/numlib/tdhsx.c:82:8: note: Parameter 'tp' can be declared as const array Argyll_V3.3.0/numlib/tdhsx.c:51:9: style: Variable 'nprint' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/svd.c:631:12: style: Variable 'maxw' is reassigned a value before the old one has been used. [redundantAssignment] Argyll_V3.3.0/numlib/svd.c:608:7: note: maxw is assigned Argyll_V3.3.0/numlib/svd.c:631:12: note: maxw is overwritten Argyll_V3.3.0/numlib/svd.c:380:10: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/svd.c:382:8: style: Parameter 'b' can be declared as const array [constParameter] Argyll_V3.3.0/numlib/svd.c:681:10: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/numlib/svd.c:520:22: style: Unused variable: V [unusedVariable] Argyll_V3.3.0/numlib/svd.c:578:22: style: Unused variable: V [unusedVariable] Argyll_V3.3.0/numlib/tpowell.c:36:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/numlib/tpowell.c:77:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/numlib/tpowell.c:87:7: style: Parameter 'fdata' can be declared as pointer to const. However it seems that 'fcn' is a callback function, if 'fdata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/numlib/tpowell.c:70:3: note: You might need to cast the function pointer here Argyll_V3.3.0/numlib/tpowell.c:87:7: note: Parameter 'fdata' can be declared as pointer to const Argyll_V3.3.0/numlib/tpowell.c:88:8: style: Parameter 'tp' can be declared as const array. However it seems that 'fcn' is a callback function, if 'tp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/numlib/tpowell.c:70:3: note: You might need to cast the function pointer here Argyll_V3.3.0/numlib/tpowell.c:88:8: note: Parameter 'tp' can be declared as const array Argyll_V3.3.0/numlib/tpowell.c:57:9: style: Variable 'nprint' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/zbrent.c:29:9: style:inconclusive: Function 'zbrac' argument 1 names different: declaration 'x1' definition 'x1p'. [funcArgNamesDifferent] Argyll_V3.3.0/numlib/zbrent.h:23:9: note: Function 'zbrac' argument 1 names different: declaration 'x1' definition 'x1p'. Argyll_V3.3.0/numlib/zbrent.c:29:9: note: Function 'zbrac' argument 1 names different: declaration 'x1' definition 'x1p'. Argyll_V3.3.0/numlib/zbrent.c:30:9: style:inconclusive: Function 'zbrac' argument 2 names different: declaration 'x2' definition 'x2p'. [funcArgNamesDifferent] Argyll_V3.3.0/numlib/zbrent.h:24:9: note: Function 'zbrac' argument 2 names different: declaration 'x2' definition 'x2p'. Argyll_V3.3.0/numlib/zbrent.c:30:9: note: Function 'zbrac' argument 2 names different: declaration 'x2' definition 'x2p'. Argyll_V3.3.0/numlib/zbrent.c:90:8: style:inconclusive: Function 'zbrent' argument 2 names different: declaration 'x1' definition 'ax'. [funcArgNamesDifferent] Argyll_V3.3.0/numlib/zbrent.h:34:8: note: Function 'zbrent' argument 2 names different: declaration 'x1' definition 'ax'. Argyll_V3.3.0/numlib/zbrent.c:90:8: note: Function 'zbrent' argument 2 names different: declaration 'x1' definition 'ax'. Argyll_V3.3.0/numlib/zbrent.c:91:8: style:inconclusive: Function 'zbrent' argument 3 names different: declaration 'x2' definition 'bx'. [funcArgNamesDifferent] Argyll_V3.3.0/numlib/zbrent.h:35:8: note: Function 'zbrent' argument 3 names different: declaration 'x2' definition 'bx'. Argyll_V3.3.0/numlib/zbrent.c:91:8: note: Function 'zbrent' argument 3 names different: declaration 'x2' definition 'bx'. Argyll_V3.3.0/numlib/zbrent.c:165:11: style: Variable 'pdel' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/zbrent.c:168:11: style: Variable 'pdel' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/zbrent.c:172:9: style: Variable 'pdel' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/varmet.c:277:8: style:inconclusive: Function 'linesearch' argument 4 names different: declaration 'g' definition 'dp'. [funcArgNamesDifferent] Argyll_V3.3.0/numlib/varmet.c:49:62: note: Function 'linesearch' argument 4 names different: declaration 'g' definition 'dp'. Argyll_V3.3.0/numlib/varmet.c:277:8: note: Function 'linesearch' argument 4 names different: declaration 'g' definition 'dp'. Argyll_V3.3.0/numlib/varmet.c:278:8: style:inconclusive: Function 'linesearch' argument 5 names different: declaration 'p' definition 'sdir'. [funcArgNamesDifferent] Argyll_V3.3.0/numlib/varmet.c:49:74: note: Function 'linesearch' argument 5 names different: declaration 'p' definition 'sdir'. Argyll_V3.3.0/numlib/varmet.c:278:8: note: Function 'linesearch' argument 5 names different: declaration 'p' definition 'sdir'. Argyll_V3.3.0/numlib/varmet.c:275:8: style: Parameter 'cpold' can be declared as const array [constParameter] Argyll_V3.3.0/numlib/varmet.c:277:8: style: Parameter 'dp' can be declared as const array [constParameter] Argyll_V3.3.0/numlib/varmet.c:79:9: style: Unused variable: den [unusedVariable] Argyll_V3.3.0/numlib/varmet.c:343:9: style: Variable 'slen' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/numlib/zbrenttest.c:48:18: style: Parameter 'fdata' can be declared as pointer to const. However it seems that 'fcn' is a callback function, if 'fdata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/numlib/zbrenttest.c:37:35: note: You might need to cast the function pointer here Argyll_V3.3.0/numlib/zbrenttest.c:48:18: note: Parameter 'fdata' can be declared as pointer to const Argyll_V3.3.0/plot/plot.c:180:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXGPHS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/plot/plot.c:238:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXGPHS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/plot/plot.c:320:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXGPHS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/plot/plot.c:389:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXGPHS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/plot/plot.c:454:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXGPHS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/plot/plot.c:541:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXGPHS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/plot/plot.c:610:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXGPHS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/plot/plot.c:719:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXGPHS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/plot/plot.c:762:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXGPHS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/plot/plot.c:810:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXGPHS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/plot/plot.c:2603:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXGPHS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/plot/plot.c:2858:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXGPHS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/plot/plot.c:3049:5: warning: Label 'plotNoSym' is not used. Should this be a 'case' of the enclosing switch()? [unusedLabelSwitch] Argyll_V3.3.0/plot/plot.c:449:9: style:inconclusive: Function 'do_plot6p' argument 9 names different: declaration 'x7' definition 'xp'. [funcArgNamesDifferent] Argyll_V3.3.0/plot/plot.h:68:30: note: Function 'do_plot6p' argument 9 names different: declaration 'x7' definition 'xp'. Argyll_V3.3.0/plot/plot.c:449:9: note: Function 'do_plot6p' argument 9 names different: declaration 'x7' definition 'xp'. Argyll_V3.3.0/plot/plot.c:449:21: style:inconclusive: Function 'do_plot6p' argument 10 names different: declaration 'y7' definition 'yp'. [funcArgNamesDifferent] Argyll_V3.3.0/plot/plot.h:68:42: note: Function 'do_plot6p' argument 10 names different: declaration 'y7' definition 'yp'. Argyll_V3.3.0/plot/plot.c:449:21: note: Function 'do_plot6p' argument 10 names different: declaration 'y7' definition 'yp'. Argyll_V3.3.0/plot/plot.c:646:5: style:inconclusive: Function 'do_plot10' argument 13 names different: declaration 'dozero' definition 'zero'. [funcArgNamesDifferent] Argyll_V3.3.0/plot/plot.h:78:25: note: Function 'do_plot10' argument 13 names different: declaration 'dozero' definition 'zero'. Argyll_V3.3.0/plot/plot.c:646:5: note: Function 'do_plot10' argument 13 names different: declaration 'dozero' definition 'zero'. Argyll_V3.3.0/plot/plot.c:1058:38: style:inconclusive: Function 'get_bounds_g' argument 2 names different: declaration 'xmin' definition 'pxmin'. [funcArgNamesDifferent] Argyll_V3.3.0/plot/plot.h:195:38: note: Function 'get_bounds_g' argument 2 names different: declaration 'xmin' definition 'pxmin'. Argyll_V3.3.0/plot/plot.c:1058:38: note: Function 'get_bounds_g' argument 2 names different: declaration 'xmin' definition 'pxmin'. Argyll_V3.3.0/plot/plot.c:1058:53: style:inconclusive: Function 'get_bounds_g' argument 3 names different: declaration 'xmax' definition 'pxmax'. [funcArgNamesDifferent] Argyll_V3.3.0/plot/plot.h:195:52: note: Function 'get_bounds_g' argument 3 names different: declaration 'xmax' definition 'pxmax'. Argyll_V3.3.0/plot/plot.c:1058:53: note: Function 'get_bounds_g' argument 3 names different: declaration 'xmax' definition 'pxmax'. Argyll_V3.3.0/plot/plot.c:1058:68: style:inconclusive: Function 'get_bounds_g' argument 4 names different: declaration 'ymin' definition 'pymin'. [funcArgNamesDifferent] Argyll_V3.3.0/plot/plot.h:195:66: note: Function 'get_bounds_g' argument 4 names different: declaration 'ymin' definition 'pymin'. Argyll_V3.3.0/plot/plot.c:1058:68: note: Function 'get_bounds_g' argument 4 names different: declaration 'ymin' definition 'pymin'. Argyll_V3.3.0/plot/plot.c:1058:83: style:inconclusive: Function 'get_bounds_g' argument 5 names different: declaration 'ymax' definition 'pymax'. [funcArgNamesDifferent] Argyll_V3.3.0/plot/plot.h:195:80: note: Function 'get_bounds_g' argument 5 names different: declaration 'ymax' definition 'pymax'. Argyll_V3.3.0/plot/plot.c:1058:83: note: Function 'get_bounds_g' argument 5 names different: declaration 'ymax' definition 'pymax'. Argyll_V3.3.0/plot/plot.c:925:78: style: Parameter 'rgb' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/plot/plot.c:956:69: style: Parameter 'rgb' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/plot/plot.c:956:80: style: Parameter 'ptext' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/plot/plot.c:1015:32: style: Parameter 'xy' can be declared as const array [constParameter] Argyll_V3.3.0/plot/plot.c:1036:25: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/plot/plot.c:1042:57: style: Parameter 'rgb' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/plot/plot.c:2768:12: style: Parameter 'pdp' can be declared as pointer to const. However it seems that 'xtick' is a callback function, if 'pdp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/plot/plot.c:2852:67: note: You might need to cast the function pointer here Argyll_V3.3.0/plot/plot.c:2768:12: note: Parameter 'pdp' can be declared as pointer to const Argyll_V3.3.0/plot/plot.c:2859:12: style: Variable 'yp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/plot/plot.c:94:8: style: struct member '_plot_info::cx' is never used. [unusedStructMember] Argyll_V3.3.0/plot/plot.c:529:9: style: Variable 'nn' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/plot/plot.c:529:6: style: Variable 'nn' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/plot/plot.c:838:9: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/plot/vrml.c:1768:0: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] Argyll_V3.3.0/plot/vrml.c:1768:3: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] Argyll_V3.3.0/profile/applycal.c:52:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/applycal.c:84:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/cb2ti3.c:40:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/cb2ti3.c:68:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error_program [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/cb2ti3.c:64:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Argyll_V3.3.0/profile/cb2ti3.c:65:14: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] Argyll_V3.3.0/profile/cb2ti3.c:64:13: style: Variable 'tsp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/cb2ti3.c:78:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/cb2ti3.c:54:11: style: Variable 'verb' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/cb2ti3.c:76:7: style: Variable 'nfa' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/cb2ti3.c:81:8: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/cb2ti3.c:86:10: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/cb2ti3.c:95:10: style: Variable 'verb' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/applycal.c:367:11: warning: Either the condition 'ntags>=50' is redundant or the array 'dtags[50]' is accessed at index 50, which is out of bounds. [arrayIndexOutOfBoundsCond] Argyll_V3.3.0/profile/applycal.c:365:16: note: Assuming that condition 'ntags>=50' is not redundant Argyll_V3.3.0/profile/applycal.c:367:11: note: Array index out of bounds Argyll_V3.3.0/profile/applycal.c:418:11: warning: Either the condition 'ntags>=50' is redundant or the array 'dtags[50]' is accessed at index 50, which is out of bounds. [arrayIndexOutOfBoundsCond] Argyll_V3.3.0/profile/applycal.c:416:16: note: Assuming that condition 'ntags>=50' is not redundant Argyll_V3.3.0/profile/applycal.c:418:11: note: Array index out of bounds Argyll_V3.3.0/profile/applycal.c:560:16: style: Condition 'k==1' is always true [knownConditionTrueFalse] Argyll_V3.3.0/profile/applycal.c:558:11: note: Assuming that condition 'k==0' is not redundant Argyll_V3.3.0/profile/applycal.c:557:18: note: Assuming that condition 'k<2' is not redundant Argyll_V3.3.0/profile/applycal.c:560:16: note: Condition 'k==1' is always true Argyll_V3.3.0/profile/applycal.c:171:8: warning:inconclusive: Either the condition '(cal=new_xcal())==NULL' is redundant or there is possible null pointer dereference: cal. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/applycal.c:169:26: note: Assuming that condition '(cal=new_xcal())==NULL' is not redundant Argyll_V3.3.0/profile/applycal.c:171:8: note: Null pointer dereference Argyll_V3.3.0/profile/applycal.c:183:12: warning:inconclusive: Either the condition '(icco=new_icc(&err))==NULL' is redundant or there is possible null pointer dereference: icco. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/applycal.c:179:29: note: Assuming that condition '(icco=new_icc(&err))==NULL' is not redundant Argyll_V3.3.0/profile/applycal.c:183:12: note: Null pointer dereference Argyll_V3.3.0/profile/applycal.c:320:8: warning: Either the condition '(wo=(icmCurve*)icco->add_tag(icco,sigp->back,icSigCurveType))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/applycal.c:318:54: note: Assuming that condition '(wo=(icmCurve*)icco->add_tag(icco,sigp->back,icSigCurveType))==NULL' is not redundant Argyll_V3.3.0/profile/applycal.c:320:8: note: Null pointer dereference Argyll_V3.3.0/profile/applycal.c:321:8: warning: Either the condition '(wo=(icmCurve*)icco->add_tag(icco,sigp->back,icSigCurveType))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/applycal.c:318:54: note: Assuming that condition '(wo=(icmCurve*)icco->add_tag(icco,sigp->back,icSigCurveType))==NULL' is not redundant Argyll_V3.3.0/profile/applycal.c:321:8: note: Null pointer dereference Argyll_V3.3.0/profile/applycal.c:322:8: warning: Either the condition '(wo=(icmCurve*)icco->add_tag(icco,sigp->back,icSigCurveType))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/applycal.c:318:54: note: Assuming that condition '(wo=(icmCurve*)icco->add_tag(icco,sigp->back,icSigCurveType))==NULL' is not redundant Argyll_V3.3.0/profile/applycal.c:322:8: note: Null pointer dereference Argyll_V3.3.0/profile/applycal.c:323:24: warning:inconclusive: Either the condition '(wo=(icmCurve*)icco->add_tag(icco,sigp->back,icSigCurveType))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/applycal.c:318:54: note: Assuming that condition '(wo=(icmCurve*)icco->add_tag(icco,sigp->back,icSigCurveType))==NULL' is not redundant Argyll_V3.3.0/profile/applycal.c:323:24: note: Null pointer dereference Argyll_V3.3.0/profile/applycal.c:380:7: warning: Either the condition '(wo=(icmCommonTextDescription*)icco->add_tag(icco,sigp->back,icmSigCommonTextDescriptionType))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/applycal.c:377:70: note: Assuming that condition '(wo=(icmCommonTextDescription*)icco->add_tag(icco,sigp->back,icmSigCommonTextDescriptionType))==NULL' is not redundant Argyll_V3.3.0/profile/applycal.c:380:7: note: Null pointer dereference Argyll_V3.3.0/profile/applycal.c:381:7: warning: Either the condition '(wo=(icmCommonTextDescription*)icco->add_tag(icco,sigp->back,icmSigCommonTextDescriptionType))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/applycal.c:377:70: note: Assuming that condition '(wo=(icmCommonTextDescription*)icco->add_tag(icco,sigp->back,icmSigCommonTextDescriptionType))==NULL' is not redundant Argyll_V3.3.0/profile/applycal.c:381:7: note: Null pointer dereference Argyll_V3.3.0/profile/applycal.c:382:14: warning:inconclusive: Either the condition '(wo=(icmCommonTextDescription*)icco->add_tag(icco,sigp->back,icmSigCommonTextDescriptionType))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/applycal.c:377:70: note: Assuming that condition '(wo=(icmCommonTextDescription*)icco->add_tag(icco,sigp->back,icmSigCommonTextDescriptionType))==NULL' is not redundant Argyll_V3.3.0/profile/applycal.c:382:14: note: Null pointer dereference Argyll_V3.3.0/profile/applycal.c:440:9: warning: Either the condition '(wo=(icmCurve*)icco->add_tag(icco,bsig,icSigCurveType))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/applycal.c:438:49: note: Assuming that condition '(wo=(icmCurve*)icco->add_tag(icco,bsig,icSigCurveType))==NULL' is not redundant Argyll_V3.3.0/profile/applycal.c:440:9: note: Null pointer dereference Argyll_V3.3.0/profile/applycal.c:441:9: warning: Either the condition '(wo=(icmCurve*)icco->add_tag(icco,bsig,icSigCurveType))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/applycal.c:438:49: note: Assuming that condition '(wo=(icmCurve*)icco->add_tag(icco,bsig,icSigCurveType))==NULL' is not redundant Argyll_V3.3.0/profile/applycal.c:441:9: note: Null pointer dereference Argyll_V3.3.0/profile/applycal.c:442:9: warning: Either the condition '(wo=(icmCurve*)icco->add_tag(icco,bsig,icSigCurveType))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/applycal.c:438:49: note: Assuming that condition '(wo=(icmCurve*)icco->add_tag(icco,bsig,icSigCurveType))==NULL' is not redundant Argyll_V3.3.0/profile/applycal.c:442:9: note: Null pointer dereference Argyll_V3.3.0/profile/applycal.c:443:25: warning:inconclusive: Either the condition '(wo=(icmCurve*)icco->add_tag(icco,bsig,icSigCurveType))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/applycal.c:438:49: note: Assuming that condition '(wo=(icmCurve*)icco->add_tag(icco,bsig,icSigCurveType))==NULL' is not redundant Argyll_V3.3.0/profile/applycal.c:443:25: note: Null pointer dereference Argyll_V3.3.0/profile/applycal.c:480:9: warning: Either the condition '(wo=(icmCurve*)icco->add_tag(icco,bsig,icSigCurveType))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/applycal.c:477:49: note: Assuming that condition '(wo=(icmCurve*)icco->add_tag(icco,bsig,icSigCurveType))==NULL' is not redundant Argyll_V3.3.0/profile/applycal.c:480:9: note: Null pointer dereference Argyll_V3.3.0/profile/applycal.c:481:9: warning: Either the condition '(wo=(icmCurve*)icco->add_tag(icco,bsig,icSigCurveType))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/applycal.c:477:49: note: Assuming that condition '(wo=(icmCurve*)icco->add_tag(icco,bsig,icSigCurveType))==NULL' is not redundant Argyll_V3.3.0/profile/applycal.c:481:9: note: Null pointer dereference Argyll_V3.3.0/profile/applycal.c:482:9: warning: Either the condition '(wo=(icmCurve*)icco->add_tag(icco,bsig,icSigCurveType))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/applycal.c:477:49: note: Assuming that condition '(wo=(icmCurve*)icco->add_tag(icco,bsig,icSigCurveType))==NULL' is not redundant Argyll_V3.3.0/profile/applycal.c:482:9: note: Null pointer dereference Argyll_V3.3.0/profile/applycal.c:483:25: warning:inconclusive: Either the condition '(wo=(icmCurve*)icco->add_tag(icco,bsig,icSigCurveType))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/applycal.c:477:49: note: Assuming that condition '(wo=(icmCurve*)icco->add_tag(icco,bsig,icSigCurveType))==NULL' is not redundant Argyll_V3.3.0/profile/applycal.c:483:25: note: Null pointer dereference Argyll_V3.3.0/profile/applycal.c:521:7: warning: Either the condition '(wo=(icmCurve*)icco->add_tag(icco,sigp->back,icSigCurveType))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/applycal.c:518:53: note: Assuming that condition '(wo=(icmCurve*)icco->add_tag(icco,sigp->back,icSigCurveType))==NULL' is not redundant Argyll_V3.3.0/profile/applycal.c:521:7: note: Null pointer dereference Argyll_V3.3.0/profile/applycal.c:522:7: warning: Either the condition '(wo=(icmCurve*)icco->add_tag(icco,sigp->back,icSigCurveType))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/applycal.c:518:53: note: Assuming that condition '(wo=(icmCurve*)icco->add_tag(icco,sigp->back,icSigCurveType))==NULL' is not redundant Argyll_V3.3.0/profile/applycal.c:522:7: note: Null pointer dereference Argyll_V3.3.0/profile/applycal.c:523:7: warning: Either the condition '(wo=(icmCurve*)icco->add_tag(icco,sigp->back,icSigCurveType))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/applycal.c:518:53: note: Assuming that condition '(wo=(icmCurve*)icco->add_tag(icco,sigp->back,icSigCurveType))==NULL' is not redundant Argyll_V3.3.0/profile/applycal.c:523:7: note: Null pointer dereference Argyll_V3.3.0/profile/applycal.c:524:23: warning:inconclusive: Either the condition '(wo=(icmCurve*)icco->add_tag(icco,sigp->back,icSigCurveType))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/applycal.c:518:53: note: Assuming that condition '(wo=(icmCurve*)icco->add_tag(icco,sigp->back,icSigCurveType))==NULL' is not redundant Argyll_V3.3.0/profile/applycal.c:524:23: note: Null pointer dereference Argyll_V3.3.0/profile/applycal.c:578:23: warning: Either the condition '(primt=icco->read_tag(icco,sigp->prim))==NULL' is redundant or there is possible null pointer dereference: primt. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/applycal.c:571:53: note: Assuming that condition '(primt=icco->read_tag(icco,sigp->prim))==NULL' is not redundant Argyll_V3.3.0/profile/applycal.c:578:23: note: Null pointer dereference Argyll_V3.3.0/profile/applycal.c:617:25: warning: Either the condition '(wo=(icmCurve*)icco->read_tag(icco,bsig))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/applycal.c:612:59: note: Assuming that condition '(wo=(icmCurve*)icco->read_tag(icco,bsig))==NULL' is not redundant Argyll_V3.3.0/profile/applycal.c:617:25: note: Null pointer dereference Argyll_V3.3.0/profile/applycal.c:642:25: warning: Either the condition '(wo=(icmCurve*)icco->read_tag(icco,bsig))==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/applycal.c:637:59: note: Assuming that condition '(wo=(icmCurve*)icco->read_tag(icco,bsig))==NULL' is not redundant Argyll_V3.3.0/profile/applycal.c:642:25: note: Null pointer dereference Argyll_V3.3.0/profile/applycal.c:494:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Argyll_V3.3.0/profile/applycal.c:496:9: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/profile/applycal.c:494:9: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/profile/applycal.c:106:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/applycal.c:230:14: style: Variable 'primt' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/applycal.c:354:12: style: Variable 'extra' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/applycal.c:579:33: style: Variable 'wo' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/applycal.c:51:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/profile/applycal.c:109:8: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/applycal.c:114:10: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/applycal.c:235:16: style: Variable 'primt' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/applycal.c:312:14: style: Variable 'wo' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/colverify.c:57:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/colverify.c:124:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/colverify.c:1009:49: style: Condition '(rv=luo->inv_lookup(luo,out,in))>0||1' is always true [knownConditionTrueFalse] Argyll_V3.3.0/profile/colverify.c:995:10: style: Same expression on both sides of '/='. [duplicateExpression] Argyll_V3.3.0/profile/colverify.c:1189:10: style: Local variable 'fp' shadows outer variable [shadowVariable] Argyll_V3.3.0/profile/colverify.c:130:11: note: Shadowed declaration Argyll_V3.3.0/profile/colverify.c:1189:10: note: Shadow variable Argyll_V3.3.0/profile/colverify.c:464:11: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/colverify.c:706:15: style: Variable 'l_spec' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/colverify.c:1009:12: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/colverify.c:1091:15: style: Variable 'minbins' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/colverify.c:706:8: style: Variable 'l_spec' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/colverify.c:895:8: style: Unused variable: ii [unusedVariable] Argyll_V3.3.0/profile/colverify.c:1091:7: style: Variable 'minbins' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/cxf2ti3.c:100:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXML_TEXT [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/cxf2ti3.c:174:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXML_SAX_ELEMENT_OPEN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/cxf2ti3.c:277:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/cxf2ti3.c:299:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/cxf2ti3.c:314:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Argyll_V3.3.0/profile/cxf2ti3.c:315:14: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] Argyll_V3.3.0/profile/cxf2ti3.c:961:21: style: Same expression on both sides of '/'. [duplicateExpression] Argyll_V3.3.0/profile/cxf2ti3.c:995:21: style: Same expression on both sides of '/'. [duplicateExpression] Argyll_V3.3.0/profile/cxf2ti3.c:552:8: style: Local variable 'j' shadows outer variable [shadowVariable] Argyll_V3.3.0/profile/cxf2ti3.c:308:9: note: Shadowed declaration Argyll_V3.3.0/profile/cxf2ti3.c:552:8: note: Shadow variable Argyll_V3.3.0/profile/cxf2ti3.c:554:16: style: Local variable 'name' shadows outer variable [shadowVariable] Argyll_V3.3.0/profile/cxf2ti3.c:306:21: note: Shadowed declaration Argyll_V3.3.0/profile/cxf2ti3.c:554:16: note: Shadow variable Argyll_V3.3.0/profile/cxf2ti3.c:314:13: style: Variable 'tsp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/cxf2ti3.c:348:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/cxf2ti3.c:776:16: style: Variable 'spect.norm' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/cxf2ti3.c:311:6: style: Unused variable: ti [unusedVariable] Argyll_V3.3.0/profile/cxf2ti3.c:320:6: style: Variable 'fix_lab' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/cxf2ti3.c:334:6: style: Variable 'npat' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/cxf2ti3.c:530:15: style: Variable 'RGBSpecification' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/cxf2ti3.c:531:15: style: Variable 'CMYKSpecification' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/cxf2ti3.c:554:16: style: Unused variable: name [unusedVariable] Argyll_V3.3.0/profile/iccvcgt.c:36:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/iccvcgt.c:57:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/iccvcgt.c:135:12: warning:inconclusive: Either the condition '(icco=new_icc(&err))==NULL' is redundant or there is possible null pointer dereference: icco. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/iccvcgt.c:131:29: note: Assuming that condition '(icco=new_icc(&err))==NULL' is not redundant Argyll_V3.3.0/profile/iccvcgt.c:135:12: note: Null pointer dereference Argyll_V3.3.0/profile/iccvcgt.c:154:8: warning:inconclusive: Either the condition '(cal=new_xcal())==NULL' is redundant or there is possible null pointer dereference: cal. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/iccvcgt.c:152:26: note: Assuming that condition '(cal=new_xcal())==NULL' is not redundant Argyll_V3.3.0/profile/iccvcgt.c:154:8: note: Null pointer dereference Argyll_V3.3.0/profile/iccvcgt.c:175:3: warning: Either the condition 'wo==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/iccvcgt.c:172:10: note: Assuming that condition 'wo==NULL' is not redundant Argyll_V3.3.0/profile/iccvcgt.c:175:3: note: Null pointer dereference Argyll_V3.3.0/profile/iccvcgt.c:176:3: warning: Either the condition 'wo==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/iccvcgt.c:172:10: note: Assuming that condition 'wo==NULL' is not redundant Argyll_V3.3.0/profile/iccvcgt.c:176:3: note: Null pointer dereference Argyll_V3.3.0/profile/iccvcgt.c:177:3: warning: Either the condition 'wo==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/iccvcgt.c:172:10: note: Assuming that condition 'wo==NULL' is not redundant Argyll_V3.3.0/profile/iccvcgt.c:177:3: note: Null pointer dereference Argyll_V3.3.0/profile/iccvcgt.c:178:3: warning: Either the condition 'wo==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/iccvcgt.c:172:10: note: Assuming that condition 'wo==NULL' is not redundant Argyll_V3.3.0/profile/iccvcgt.c:178:3: note: Null pointer dereference Argyll_V3.3.0/profile/iccvcgt.c:179:3: warning: Either the condition 'wo==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/iccvcgt.c:172:10: note: Assuming that condition 'wo==NULL' is not redundant Argyll_V3.3.0/profile/iccvcgt.c:179:3: note: Null pointer dereference Argyll_V3.3.0/profile/iccvcgt.c:208:8: warning:inconclusive: Either the condition '(cal=new_xcal())==NULL' is redundant or there is possible null pointer dereference: cal. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/iccvcgt.c:206:26: note: Assuming that condition '(cal=new_xcal())==NULL' is not redundant Argyll_V3.3.0/profile/iccvcgt.c:208:8: note: Null pointer dereference Argyll_V3.3.0/profile/iccvcgt.c:80:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/iccvcgt.c:64:11: style: Variable 'verb' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/iccvcgt.c:78:7: style: Variable 'nfa' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/iccvcgt.c:83:8: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/iccvcgt.c:88:10: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/iccvcgt.c:64:6: style: Variable 'verb' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/iccvcgt.c:143:7: style: Unused variable: c [unusedVariable] Argyll_V3.3.0/link/collink.c:199:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/link/collink.c:867:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/link/collink.c:1819:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/link/collink.c:1908:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/link/collink.c:4958:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/link/collink.c:5017:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gc [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/link/collink.c:5102:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/link/collink.c:5165:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_err [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/link/collink.c:5403:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gc [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/invprofcheck.c:85:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/invprofcheck.c:120:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/link/collink.c:1423:17: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] Argyll_V3.3.0/link/collink.c:1406:15: note: outer condition: cmytrig Argyll_V3.3.0/link/collink.c:1423:17: note: identical inner condition: cmytrig!=0 Argyll_V3.3.0/link/collink.c:3448:10: style: The if condition is the same as the previous if condition [duplicateCondition] Argyll_V3.3.0/link/collink.c:3445:10: note: First condition Argyll_V3.3.0/link/collink.c:3448:10: note: Second condition Argyll_V3.3.0/link/collink.c:4583:10: style: The if condition is the same as the previous if condition [duplicateCondition] Argyll_V3.3.0/link/collink.c:4539:10: note: First condition Argyll_V3.3.0/link/collink.c:4583:10: note: Second condition Argyll_V3.3.0/link/collink.c:4720:26: style: Condition 'write_eeColor3DLut(wr_icc,&li,tdlut_name)' is always false [knownConditionTrueFalse] Argyll_V3.3.0/link/collink.c:4720:26: note: Calling function 'write_eeColor3DLut' returns 0 Argyll_V3.3.0/link/collink.c:4720:26: note: Condition 'write_eeColor3DLut(wr_icc,&li,tdlut_name)' is always false Argyll_V3.3.0/link/collink.c:4727:25: style: Condition 'write_MadVR_3DLut(&li,wr_icc,tdlut_name)' is always false [knownConditionTrueFalse] Argyll_V3.3.0/link/collink.c:4727:25: note: Calling function 'write_MadVR_3DLut' returns 0 Argyll_V3.3.0/link/collink.c:4727:25: note: Condition 'write_MadVR_3DLut(&li,wr_icc,tdlut_name)' is always false Argyll_V3.3.0/link/collink.c:4733:24: style: Condition 'write_cube_3DLut(&li,wr_icc,tdlut_name)' is always false [knownConditionTrueFalse] Argyll_V3.3.0/link/collink.c:4733:24: note: Calling function 'write_cube_3DLut' returns 0 Argyll_V3.3.0/link/collink.c:4733:24: note: Condition 'write_cube_3DLut(&li,wr_icc,tdlut_name)' is always false Argyll_V3.3.0/link/collink.c:4984:4: warning:inconclusive: Either the condition '(fp=new_icmFileStd_name(&err,fname,"w"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] Argyll_V3.3.0/link/collink.c:4977:50: note: Assuming that condition '(fp=new_icmFileStd_name(&err,fname,"w"))==NULL' is not redundant Argyll_V3.3.0/link/collink.c:4984:4: note: Null pointer dereference Argyll_V3.3.0/link/collink.c:4987:7: warning:inconclusive: Either the condition '(fp=new_icmFileStd_name(&err,fname,"w"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] Argyll_V3.3.0/link/collink.c:4977:50: note: Assuming that condition '(fp=new_icmFileStd_name(&err,fname,"w"))==NULL' is not redundant Argyll_V3.3.0/link/collink.c:4987:7: note: Null pointer dereference Argyll_V3.3.0/link/collink.c:5130:4: warning:inconclusive: Either the condition '(fp=new_icmFileStd_name(&err,fname,"w"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] Argyll_V3.3.0/link/collink.c:5121:50: note: Assuming that condition '(fp=new_icmFileStd_name(&err,fname,"w"))==NULL' is not redundant Argyll_V3.3.0/link/collink.c:5130:4: note: Null pointer dereference Argyll_V3.3.0/link/collink.c:5133:7: warning:inconclusive: Either the condition '(fp=new_icmFileStd_name(&err,fname,"w"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] Argyll_V3.3.0/link/collink.c:5121:50: note: Assuming that condition '(fp=new_icmFileStd_name(&err,fname,"w"))==NULL' is not redundant Argyll_V3.3.0/link/collink.c:5133:7: note: Null pointer dereference Argyll_V3.3.0/link/collink.c:5165:7: warning:inconclusive: Either the condition '(luo=(icmLuSpace*)li->in.c->get_luobj(li->in.c,icmFwd,icAbsoluteColorimetric,icmSigDefaultData,icmLuOrdNorm))==NULL' is redundant or there is possible null pointer dereference: luo. [nullPointerRedundantCheck] Argyll_V3.3.0/link/collink.c:5161:81: note: Assuming that condition '(luo=(icmLuSpace*)li->in.c->get_luobj(li->in.c,icmFwd,icAbsoluteColorimetric,icmSigDefaultData,icmLuOrdNorm))==NULL' is not redundant Argyll_V3.3.0/link/collink.c:5165:7: note: Null pointer dereference Argyll_V3.3.0/link/collink.c:5386:2: warning: Either the condition '(fp=new_icmFileStd_name(&err,fname,"w"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] Argyll_V3.3.0/link/collink.c:5381:49: note: Assuming that condition '(fp=new_icmFileStd_name(&err,fname,"w"))==NULL' is not redundant Argyll_V3.3.0/link/collink.c:5386:2: note: Null pointer dereference Argyll_V3.3.0/link/collink.c:5387:2: warning:inconclusive: Either the condition '(fp=new_icmFileStd_name(&err,fname,"w"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] Argyll_V3.3.0/link/collink.c:5381:49: note: Assuming that condition '(fp=new_icmFileStd_name(&err,fname,"w"))==NULL' is not redundant Argyll_V3.3.0/link/collink.c:5387:2: note: Null pointer dereference Argyll_V3.3.0/link/collink.c:4355:11: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Argyll_V3.3.0/link/collink.c:4357:6: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/link/collink.c:4355:11: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/link/collink.c:4060:9: style: Variable 'dst' is reassigned a value before the old one has been used. [redundantAssignment] Argyll_V3.3.0/link/collink.c:4059:9: note: dst is assigned Argyll_V3.3.0/link/collink.c:4060:9: note: dst is overwritten Argyll_V3.3.0/link/collink.c:1476:11: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/link/collink.c:877:6: note: Shadowed declaration Argyll_V3.3.0/link/collink.c:1476:11: note: Shadow variable Argyll_V3.3.0/link/collink.c:3206:12: style: Local variable 'x' shadows outer variable [shadowVariable] Argyll_V3.3.0/link/collink.c:3163:10: note: Shadowed declaration Argyll_V3.3.0/link/collink.c:3206:12: note: Shadow variable Argyll_V3.3.0/link/collink.c:3241:12: style: Local variable 'x' shadows outer variable [shadowVariable] Argyll_V3.3.0/link/collink.c:3163:10: note: Shadowed declaration Argyll_V3.3.0/link/collink.c:3241:12: note: Shadow variable Argyll_V3.3.0/link/collink.c:3265:12: style: Local variable 'x' shadows outer variable [shadowVariable] Argyll_V3.3.0/link/collink.c:3163:10: note: Shadowed declaration Argyll_V3.3.0/link/collink.c:3265:12: note: Shadow variable Argyll_V3.3.0/link/collink.c:4118:17: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/link/collink.c:1934:6: note: Shadowed declaration Argyll_V3.3.0/link/collink.c:4118:17: note: Shadow variable Argyll_V3.3.0/link/collink.c:4130:17: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/link/collink.c:1934:6: note: Shadowed declaration Argyll_V3.3.0/link/collink.c:4130:17: note: Shadow variable Argyll_V3.3.0/link/collink.c:4198:8: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/link/collink.c:1934:6: note: Shadowed declaration Argyll_V3.3.0/link/collink.c:4198:8: note: Shadow variable Argyll_V3.3.0/link/collink.c:4809:11: style: Local variable 'err' shadows outer variable [shadowVariable] Argyll_V3.3.0/link/collink.c:1915:9: note: Shadowed declaration Argyll_V3.3.0/link/collink.c:4809:11: note: Shadow variable Argyll_V3.3.0/link/collink.c:5236:7: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/link/collink.c:5155:6: note: Shadowed declaration Argyll_V3.3.0/link/collink.c:5236:7: note: Shadow variable Argyll_V3.3.0/link/collink.c:5318:35: style: Local variable 'of' shadows outer variable [shadowVariable] Argyll_V3.3.0/link/collink.c:5147:6: note: Shadowed declaration Argyll_V3.3.0/link/collink.c:5318:35: note: Shadow variable Argyll_V3.3.0/link/collink.c:5321:7: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/link/collink.c:5155:6: note: Shadowed declaration Argyll_V3.3.0/link/collink.c:5321:7: note: Shadow variable Argyll_V3.3.0/link/collink.c:5399:7: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/link/collink.c:5371:6: note: Shadowed declaration Argyll_V3.3.0/link/collink.c:5399:7: note: Shadow variable Argyll_V3.3.0/link/collink.c:432:44: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/link/collink.c:457:44: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/link/collink.c:630:50: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/link/collink.c:662:52: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/link/collink.c:672:52: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/link/collink.c:682:51: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/link/collink.c:699:51: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/link/collink.c:717:51: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/link/collink.c:727:51: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/link/collink.c:753:50: style: Parameter 'in' can be declared as pointer to const. However it seems that 'devi_devip' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/link/collink.c:4622:5: note: You might need to cast the function pointer here Argyll_V3.3.0/link/collink.c:753:50: note: Parameter 'in' can be declared as pointer to const Argyll_V3.3.0/link/collink.c:864:51: style: Parameter 'in' can be declared as pointer to const. However it seems that 'devip_devop' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/link/collink.c:4624:5: note: You might need to cast the function pointer here Argyll_V3.3.0/link/collink.c:864:51: note: Parameter 'in' can be declared as pointer to const Argyll_V3.3.0/link/collink.c:1108:18: style: Variable 'plu' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/link/collink.c:1677:50: style: Parameter 'in' can be declared as pointer to const. However it seems that 'devop_devo' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/link/collink.c:4626:5: note: You might need to cast the function pointer here Argyll_V3.3.0/link/collink.c:1677:50: note: Parameter 'in' can be declared as pointer to const Argyll_V3.3.0/link/collink.c:1806:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/link/collink.c:1817:46: style: Parameter 'v' can be declared as pointer to const. However it seems that 'xyzoptfunc' is a callback function, if 'v' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/link/collink.c:3829:49: note: You might need to cast the function pointer here Argyll_V3.3.0/link/collink.c:1817:46: note: Parameter 'v' can be declared as pointer to const Argyll_V3.3.0/link/collink.c:4054:10: style: Variable 'dst' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/link/collink.c:4074:10: style: Variable 'crt' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/link/collink.c:4092:10: style: Variable 'dst' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/link/collink.c:4105:10: style: Variable 'dst' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/link/collink.c:4145:16: style: Variable 'sh' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/link/collink.c:4146:19: style: Variable 'tsig' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/link/collink.c:4305:13: style: Variable 'name' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/link/collink.c:4940:53: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/link/collink.c:4946:53: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/link/collink.c:4957:47: style: Parameter 'tdlut_name' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/link/collink.c:4995:41: style: Parameter 'li' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/link/collink.c:5101:48: style: Parameter 'tdlut_name' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/link/collink.c:5366:29: style: Parameter 'li' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/link/collink.c:4877:32: warning: Uninitialized variable: pin [uninitvar] Argyll_V3.3.0/link/collink.c:4807:16: note: Assuming condition is false Argyll_V3.3.0/link/collink.c:4877:32: note: Uninitialized variable: pin Argyll_V3.3.0/link/collink.c:4878:33: warning: Uninitialized variable: pout [uninitvar] Argyll_V3.3.0/link/collink.c:4807:16: note: Assuming condition is false Argyll_V3.3.0/link/collink.c:4878:33: note: Uninitialized variable: pout Argyll_V3.3.0/link/collink.c:4879:33: warning: Uninitialized variable: pref [uninitvar] Argyll_V3.3.0/link/collink.c:4807:16: note: Assuming condition is false Argyll_V3.3.0/link/collink.c:4879:33: note: Uninitialized variable: pref Argyll_V3.3.0/link/collink.c:355:9: style: struct member '_profinfo::rgb_bk' is never used. [unusedStructMember] Argyll_V3.3.0/link/collink.c:1108:22: style: Variable 'plu' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/link/collink.c:884:6: style: Variable 'tn' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/link/collink.c:1682:9: style: Variable 'clip' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/link/collink.c:1683:9: style: Unused variable: uc [unusedVariable] Argyll_V3.3.0/link/collink.c:1684:9: style: Unused variable: cin [unusedVariable] Argyll_V3.3.0/link/collink.c:1685:9: style: Unused variable: full [unusedVariable] Argyll_V3.3.0/link/collink.c:2794:8: style: Unused variable: inc [unusedVariable] Argyll_V3.3.0/link/collink.c:3961:28: style: Unused variable: vv [unusedVariable] Argyll_V3.3.0/link/collink.c:4118:17: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/link/collink.c:4998:9: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/link/collink.c:4998:12: style: Unused variable: k [unusedVariable] Argyll_V3.3.0/link/collink.c:5225:39: style: Variable 'of' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/link/collink.c:5236:10: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/link/collink.c:5236:13: style: Unused variable: k [unusedVariable] Argyll_V3.3.0/link/collink.c:5369:8: style: Unused variable: h [unusedVariable] Argyll_V3.3.0/link/collink.c:5371:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/link/collink.c:5399:10: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/link/collink.c:5399:13: style: Unused variable: k [unusedVariable] Argyll_V3.3.0/link/collink.c:5410:8: style: Unused variable: iout [unusedVariable] Argyll_V3.3.0/profile/invprofcheck.c:554:19: error: Array 'range[6]' accessed at index 6, which is out of bounds. [arrayIndexOutOfBounds] Argyll_V3.3.0/profile/invprofcheck.c:550:17: note: Assuming that condition 'i<5' is not redundant Argyll_V3.3.0/profile/invprofcheck.c:554:19: note: Array index out of bounds Argyll_V3.3.0/profile/invprofcheck.c:554:49: error: Array 'range[6]' accessed at index 6, which is out of bounds. [arrayIndexOutOfBounds] Argyll_V3.3.0/profile/invprofcheck.c:550:17: note: Assuming that condition 'i<5' is not redundant Argyll_V3.3.0/profile/invprofcheck.c:554:49: note: Array index out of bounds Argyll_V3.3.0/profile/invprofcheck.c:556:48: error: Array 'range[6]' accessed at index 6, which is out of bounds. [arrayIndexOutOfBounds] Argyll_V3.3.0/profile/invprofcheck.c:550:17: note: Assuming that condition 'i<5' is not redundant Argyll_V3.3.0/profile/invprofcheck.c:556:48: note: Array index out of bounds Argyll_V3.3.0/profile/invprofcheck.c:557:48: error: Array 'range[6]' accessed at index 6, which is out of bounds. [arrayIndexOutOfBounds] Argyll_V3.3.0/profile/invprofcheck.c:550:17: note: Assuming that condition 'i<5' is not redundant Argyll_V3.3.0/profile/invprofcheck.c:557:48: note: Array index out of bounds Argyll_V3.3.0/profile/invprofcheck.c:558:48: error: Array 'range[6]' accessed at index 6, which is out of bounds. [arrayIndexOutOfBounds] Argyll_V3.3.0/profile/invprofcheck.c:550:17: note: Assuming that condition 'i<5' is not redundant Argyll_V3.3.0/profile/invprofcheck.c:558:48: note: Array index out of bounds Argyll_V3.3.0/profile/invprofcheck.c:281:12: warning:inconclusive: Either the condition '(icco=new_icc(&err))==NULL' is redundant or there is possible null pointer dereference: icco. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/invprofcheck.c:277:29: note: Assuming that condition '(icco=new_icc(&err))==NULL' is not redundant Argyll_V3.3.0/profile/invprofcheck.c:281:12: note: Null pointer dereference Argyll_V3.3.0/profile/invprofcheck.c:305:4: warning: Either the condition '(luo1=(icmLuSpace*)icco->get_luobj(icco,icmFwd,icmDefaultIntent,icSigLabData,icmLuOrdNorm))==NULL' is redundant or there is possible null pointer dereference: luo1. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/invprofcheck.c:299:107: note: Assuming that condition '(luo1=(icmLuSpace*)icco->get_luobj(icco,icmFwd,icmDefaultIntent,icSigLabData,icmLuOrdNorm))==NULL' is not redundant Argyll_V3.3.0/profile/invprofcheck.c:305:4: note: Null pointer dereference Argyll_V3.3.0/profile/invprofcheck.c:143:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/invprofcheck.c:438:11: style: Unused variable: dev [unusedVariable] Argyll_V3.3.0/profile/invprofcheck.c:438:26: style: Unused variable: cdev [unusedVariable] Argyll_V3.3.0/profile/invprofcheck.c:444:12: style: Unused variable: rv1 [unusedVariable] Argyll_V3.3.0/profile/invprofcheck.c:445:12: style: Unused variable: sum [unusedVariable] Argyll_V3.3.0/profile/kodak2ti3.c:40:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/kodak2ti3.c:78:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error_program [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/ls2ti3.c:45:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/ls2ti3.c:64:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXML_TEXT [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/ls2ti3.c:106:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/kodak2ti3.c:74:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Argyll_V3.3.0/profile/kodak2ti3.c:75:14: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] Argyll_V3.3.0/profile/kodak2ti3.c:264:3: error: Resource leak: fp [resourceLeak] Argyll_V3.3.0/profile/kodak2ti3.c:272:3: error: Resource leak: fp [resourceLeak] Argyll_V3.3.0/profile/kodak2ti3.c:1244:39: style:inconclusive: Function 'next_928' argument 3 names different: declaration 'CMYK' definition 'cmyk'. [funcArgNamesDifferent] Argyll_V3.3.0/profile/kodak2ti3.c:54:39: note: Function 'next_928' argument 3 names different: declaration 'CMYK' definition 'cmyk'. Argyll_V3.3.0/profile/kodak2ti3.c:1244:39: note: Function 'next_928' argument 3 names different: declaration 'CMYK' definition 'cmyk'. Argyll_V3.3.0/profile/kodak2ti3.c:74:13: style: Variable 'tsp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/kodak2ti3.c:87:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/kodak2ti3.c:198:10: style: Variable 'D50wp' can be declared as const array [constVariable] Argyll_V3.3.0/profile/kodak2ti3.c:255:22: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/profile/kodak2ti3.c:1234:22: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/profile/ls2ti3.c:118:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Argyll_V3.3.0/profile/ls2ti3.c:119:14: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] Argyll_V3.3.0/profile/ls2ti3.c:178:12: warning:inconclusive: Either the condition '(ifp=fopen(inname,"r"))==NULL' is redundant or there is possible null pointer dereference: ifp. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/ls2ti3.c:170:36: note: Assuming that condition '(ifp=fopen(inname,"r"))==NULL' is not redundant Argyll_V3.3.0/profile/ls2ti3.c:178:12: note: Null pointer dereference Argyll_V3.3.0/profile/ls2ti3.c:217:14: warning: Either the condition '(attr=mxmlElementGetAttr(data,"frames"))==NULL' is redundant or there is possible null pointer dereference: attr. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/ls2ti3.c:214:50: note: Assuming that condition '(attr=mxmlElementGetAttr(data,"frames"))==NULL' is not redundant Argyll_V3.3.0/profile/ls2ti3.c:217:14: note: Null pointer dereference Argyll_V3.3.0/profile/ls2ti3.c:321:13: style: The comparison 'ndchan == 3' is always true. [knownConditionTrueFalse] Argyll_V3.3.0/profile/ls2ti3.c:124:15: note: 'ndchan' is assigned value '3' here. Argyll_V3.3.0/profile/ls2ti3.c:321:13: note: The comparison 'ndchan == 3' is always true. Argyll_V3.3.0/profile/ls2ti3.c:358:14: style: The comparison 'ndchan == 3' is always true. [knownConditionTrueFalse] Argyll_V3.3.0/profile/ls2ti3.c:124:15: note: 'ndchan' is assigned value '3' here. Argyll_V3.3.0/profile/ls2ti3.c:358:14: note: The comparison 'ndchan == 3' is always true. Argyll_V3.3.0/profile/ls2ti3.c:231:7: style: Local variable 'j' shadows outer variable [shadowVariable] Argyll_V3.3.0/profile/ls2ti3.c:103:9: note: Shadowed declaration Argyll_V3.3.0/profile/ls2ti3.c:231:7: note: Shadow variable Argyll_V3.3.0/profile/ls2ti3.c:44:13: style: Parameter 'mes' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/profile/ls2ti3.c:118:13: style: Variable 'tsp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/ls2ti3.c:137:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/ls2ti3.c:140:8: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/ls2ti3.c:145:10: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/ls2ti3.c:103:9: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/profile/ls2ti3.c:111:25: style: Unused variable: pnode [unusedVariable] Argyll_V3.3.0/profile/ls2ti3.c:113:21: style: Unused variable: name [unusedVariable] Argyll_V3.3.0/profile/mppcheck.c:37:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/mppcheck.c:69:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable instUnknown [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/mppprof.c:67:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/mppprof.c:100:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error_program [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/mppprof.c:246:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable instUnknown [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/mppprof.c:270:8: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] Argyll_V3.3.0/profile/mppprof.c:268:6: note: outer condition: ospec Argyll_V3.3.0/profile/mppprof.c:270:8: note: identical inner condition: ospec Argyll_V3.3.0/profile/mppprof.c:479:7: style: The if condition is the same as the previous if condition [duplicateCondition] Argyll_V3.3.0/profile/mppprof.c:449:7: note: First condition Argyll_V3.3.0/profile/mppprof.c:479:7: note: Second condition Argyll_V3.3.0/profile/mppprof.c:500:10: style: Condition 'ospec' is always true [knownConditionTrueFalse] Argyll_V3.3.0/profile/mppprof.c:535:18: style: Condition 'isdnormed==0' is always true [knownConditionTrueFalse] Argyll_V3.3.0/profile/mppprof.c:532:20: note: Assuming that condition '!isdnormed' is not redundant Argyll_V3.3.0/profile/mppprof.c:535:18: note: Condition 'isdnormed==0' is always true Argyll_V3.3.0/profile/mppprof.c:776:9: style: Condition 'verify' is always true [knownConditionTrueFalse] Argyll_V3.3.0/profile/mppprof.c:749:13: note: Assuming that condition 'verify>=2' is not redundant Argyll_V3.3.0/profile/mppprof.c:776:9: note: Condition 'verify' is always true Argyll_V3.3.0/profile/mppprof.c:317:22: warning: Either the condition '(buf=strdup(icg->t[0].kdata[ti]))==NULL' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/mppprof.c:312:43: note: Assuming that condition '(buf=strdup(icg->t[0].kdata[ti]))==NULL' is not redundant Argyll_V3.3.0/profile/mppprof.c:317:22: note: Null pointer dereference Argyll_V3.3.0/profile/mppprof.c:319:8: warning: Either the condition '(outc=strchr(buf,'_'))==NULL' is redundant or there is possible null pointer dereference: outc++. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/mppprof.c:317:33: note: Assuming that condition '(outc=strchr(buf,'_'))==NULL' is not redundant Argyll_V3.3.0/profile/mppprof.c:319:8: note: Null pointer dereference Argyll_V3.3.0/profile/mppprof.c:759:7: warning:inconclusive: Either the condition '(p2=new_mpp())==NULL' is redundant or there is possible null pointer dereference: p2. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/mppprof.c:756:24: note: Assuming that condition '(p2=new_mpp())==NULL' is not redundant Argyll_V3.3.0/profile/mppprof.c:759:7: note: Null pointer dereference Argyll_V3.3.0/profile/mppprof.c:319:8: warning: Either the condition '(outc=strchr(buf,'_'))==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] Argyll_V3.3.0/profile/mppprof.c:317:33: note: Assuming that condition '(outc=strchr(buf,'_'))==NULL' is not redundant Argyll_V3.3.0/profile/mppprof.c:319:8: note: Null pointer addition Argyll_V3.3.0/profile/mppprof.c:233:9: style:inconclusive: Function 'make_output_mpp' argument 7 names different: declaration 'ilimit' definition 'limit'. [funcArgNamesDifferent] Argyll_V3.3.0/profile/mppprof.c:84:19: note: Function 'make_output_mpp' argument 7 names different: declaration 'ilimit' definition 'limit'. Argyll_V3.3.0/profile/mppprof.c:233:9: note: Function 'make_output_mpp' argument 7 names different: declaration 'ilimit' definition 'limit'. Argyll_V3.3.0/profile/mppprof.c:401:8: style: Local variable 'ii' shadows outer variable [shadowVariable] Argyll_V3.3.0/profile/mppprof.c:392:7: note: Shadowed declaration Argyll_V3.3.0/profile/mppprof.c:401:8: note: Shadow variable Argyll_V3.3.0/profile/mppprof.c:113:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/mppcheck.c:159:8: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] Argyll_V3.3.0/profile/mppcheck.c:157:6: note: outer condition: ospec Argyll_V3.3.0/profile/mppcheck.c:159:8: note: identical inner condition: ospec Argyll_V3.3.0/profile/mppcheck.c:380:10: style: Condition 'ospec' is always true [knownConditionTrueFalse] Argyll_V3.3.0/profile/mppcheck.c:198:22: warning: Either the condition '(buf=strdup(icg->t[0].kdata[ti]))==NULL' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/mppcheck.c:193:43: note: Assuming that condition '(buf=strdup(icg->t[0].kdata[ti]))==NULL' is not redundant Argyll_V3.3.0/profile/mppcheck.c:198:22: note: Null pointer dereference Argyll_V3.3.0/profile/mppcheck.c:200:8: warning: Either the condition '(outc=strchr(buf,'_'))==NULL' is redundant or there is possible null pointer dereference: outc++. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/mppcheck.c:198:33: note: Assuming that condition '(outc=strchr(buf,'_'))==NULL' is not redundant Argyll_V3.3.0/profile/mppcheck.c:200:8: note: Null pointer dereference Argyll_V3.3.0/profile/mppcheck.c:412:6: warning:inconclusive: Either the condition '(p=new_mpp())==NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/mppcheck.c:409:22: note: Assuming that condition '(p=new_mpp())==NULL' is not redundant Argyll_V3.3.0/profile/mppcheck.c:412:6: note: Null pointer dereference Argyll_V3.3.0/profile/mppcheck.c:200:8: warning: Either the condition '(outc=strchr(buf,'_'))==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] Argyll_V3.3.0/profile/mppcheck.c:198:33: note: Assuming that condition '(outc=strchr(buf,'_'))==NULL' is not redundant Argyll_V3.3.0/profile/mppcheck.c:200:8: note: Null pointer addition Argyll_V3.3.0/profile/mppcheck.c:281:8: style: Local variable 'ii' shadows outer variable [shadowVariable] Argyll_V3.3.0/profile/mppcheck.c:272:7: note: Shadowed declaration Argyll_V3.3.0/profile/mppcheck.c:281:8: note: Shadow variable Argyll_V3.3.0/profile/mppcheck.c:93:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/mppcheck.c:69:17: style: Variable 'itype' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/mppcheck.c:91:7: style: Variable 'nfa' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/mppcheck.c:96:8: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/mppcheck.c:101:10: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/mppcheck.c:244:9: style: Variable 'limit' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/mppcheck.c:248:9: style: Variable 'limit' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/mppcheck.c:257:14: style: Variable 'itype' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/profcheck.c:53:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/profcheck.c:113:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/profcheck.c:1364:19: error: Array 'range[6]' accessed at index 6, which is out of bounds. [arrayIndexOutOfBounds] Argyll_V3.3.0/profile/profcheck.c:1360:17: note: Assuming that condition 'i<5' is not redundant Argyll_V3.3.0/profile/profcheck.c:1364:19: note: Array index out of bounds Argyll_V3.3.0/profile/profcheck.c:1364:49: error: Array 'range[6]' accessed at index 6, which is out of bounds. [arrayIndexOutOfBounds] Argyll_V3.3.0/profile/profcheck.c:1360:17: note: Assuming that condition 'i<5' is not redundant Argyll_V3.3.0/profile/profcheck.c:1364:49: note: Array index out of bounds Argyll_V3.3.0/profile/profcheck.c:1365:48: error: Array 'range[6]' accessed at index 6, which is out of bounds. [arrayIndexOutOfBounds] Argyll_V3.3.0/profile/profcheck.c:1360:17: note: Assuming that condition 'i<5' is not redundant Argyll_V3.3.0/profile/profcheck.c:1365:48: note: Array index out of bounds Argyll_V3.3.0/profile/profcheck.c:1366:48: error: Array 'range[6]' accessed at index 6, which is out of bounds. [arrayIndexOutOfBounds] Argyll_V3.3.0/profile/profcheck.c:1360:17: note: Assuming that condition 'i<5' is not redundant Argyll_V3.3.0/profile/profcheck.c:1366:48: note: Array index out of bounds Argyll_V3.3.0/profile/profcheck.c:1367:48: error: Array 'range[6]' accessed at index 6, which is out of bounds. [arrayIndexOutOfBounds] Argyll_V3.3.0/profile/profcheck.c:1360:17: note: Assuming that condition 'i<5' is not redundant Argyll_V3.3.0/profile/profcheck.c:1367:48: note: Array index out of bounds Argyll_V3.3.0/profile/profcheck.c:1278:4: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Argyll_V3.3.0/profile/profcheck.c:1283:6: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/profile/profcheck.c:1278:4: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/profile/profcheck.c:854:15: style: Local variable 'rv' shadows outer variable [shadowVariable] Argyll_V3.3.0/profile/profcheck.c:148:12: note: Shadowed declaration Argyll_V3.3.0/profile/profcheck.c:854:15: note: Shadow variable Argyll_V3.3.0/profile/profcheck.c:1162:9: style: Variable 'outn' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/printcal.c:75:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/printcal.c:183:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt_other [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/printcal.c:263:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/printcal.c:332:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/printcal.c:342:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/printcal.c:352:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/printcal.c:373:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/printcal.c:402:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/printcal.c:528:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/printcal.c:538:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/printcal.c:610:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icxIT_D50 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/profin.c:186:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigXYZData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/profin.c:211:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigXYZData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/profin.c:298:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMTV_DEFAULT [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/profin.c:894:7: style: The if condition is the same as the previous if condition [duplicateCondition] Argyll_V3.3.0/profile/profin.c:825:7: note: First condition Argyll_V3.3.0/profile/profin.c:894:7: note: Second condition Argyll_V3.3.0/profile/profin.c:955:12: style: Condition 'ii>1' is always false [knownConditionTrueFalse] Argyll_V3.3.0/profile/profin.c:1139:9: style: Local variable 'flags' shadows outer variable [shadowVariable] Argyll_V3.3.0/profile/profin.c:821:7: note: Shadowed declaration Argyll_V3.3.0/profile/profin.c:1139:9: note: Shadow variable Argyll_V3.3.0/profile/profin.c:1234:10: style: Local variable 'err' shadows outer variable [shadowVariable] Argyll_V3.3.0/profile/profin.c:300:9: note: Shadowed declaration Argyll_V3.3.0/profile/profin.c:1234:10: note: Shadow variable Argyll_V3.3.0/profile/profin.c:119:43: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/profile/profin.c:138:46: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/profile/profin.c:199:50: style: Parameter 'in' can be declared as const array. However it seems that 'in_b2a_clut' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/profile/profin.c:1201:5: note: You might need to cast the function pointer here Argyll_V3.3.0/profile/profin.c:199:50: note: Parameter 'in' can be declared as const array Argyll_V3.3.0/profile/profin.c:417:9: style: Variable 'dst' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/profin.c:439:9: style: Variable 'crt' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/profin.c:457:9: style: Variable 'dst' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/profin.c:471:9: style: Variable 'dst' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/profin.c:907:10: style: Variable 'pcsy' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/profin.c:909:10: style: Variable 'pcsy' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/profin.c:418:7: style: Unused variable: u8 [unusedVariable] Argyll_V3.3.0/profile/profin.c:458:7: style: Unused variable: u8 [unusedVariable] Argyll_V3.3.0/profile/profin.c:472:7: style: Unused variable: u8 [unusedVariable] Argyll_V3.3.0/profile/profin.c:571:9: style: Unused variable: crt [unusedVariable] Argyll_V3.3.0/profile/profin.c:782:14: style: Unused variable: xluo [unusedVariable] Argyll_V3.3.0/profile/profin.c:964:13: style: Unused variable: corr [unusedVariable] Argyll_V3.3.0/profile/profin.c:964:22: style: Unused variable: cwt [unusedVariable] Argyll_V3.3.0/profile/profout.c:217:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icAbsoluteColorimetric [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/profout.c:240:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icAbsoluteColorimetric [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/profout.c:274:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmD50_ary3 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/profout.c:300:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmD50_ary3 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/profout.c:348:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/profout.c:500:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigXYZData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/profout.c:528:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigXYZData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/profout.c:708:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmD50 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/profout.c:768:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/profout.c:859:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMTV_DEFAULT [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/printcal.c:776:22: style:inconclusive: Boolean expression 'cal_res<16' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] Argyll_V3.3.0/profile/printcal.c:171:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Argyll_V3.3.0/profile/printcal.c:172:14: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] Argyll_V3.3.0/profile/printcal.c:2618:21: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Argyll_V3.3.0/profile/printcal.c:2619:16: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] Argyll_V3.3.0/profile/printcal.c:776:22: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] Argyll_V3.3.0/profile/printcal.c:527:9: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Argyll_V3.3.0/profile/printcal.c:1042:8: style: Local variable 'ti' shadows outer variable [shadowVariable] Argyll_V3.3.0/profile/printcal.c:621:6: note: Shadowed declaration Argyll_V3.3.0/profile/printcal.c:1042:8: note: Shadow variable Argyll_V3.3.0/profile/printcal.c:1109:8: style: Local variable 'ti' shadows outer variable [shadowVariable] Argyll_V3.3.0/profile/printcal.c:621:6: note: Shadowed declaration Argyll_V3.3.0/profile/printcal.c:1109:8: note: Shadow variable Argyll_V3.3.0/profile/printcal.c:1212:9: style: Local variable 'buf' shadows outer variable [shadowVariable] Argyll_V3.3.0/profile/printcal.c:1188:8: note: Shadowed declaration Argyll_V3.3.0/profile/printcal.c:1212:9: note: Shadow variable Argyll_V3.3.0/profile/printcal.c:2087:7: style: Local variable 'tp' shadows outer variable [shadowVariable] Argyll_V3.3.0/profile/printcal.c:2080:6: note: Shadowed declaration Argyll_V3.3.0/profile/printcal.c:2087:7: note: Shadow variable Argyll_V3.3.0/profile/printcal.c:2143:8: style: Local variable 'tp' shadows outer variable [shadowVariable] Argyll_V3.3.0/profile/printcal.c:2080:6: note: Shadowed declaration Argyll_V3.3.0/profile/printcal.c:2143:8: note: Shadow variable Argyll_V3.3.0/profile/printcal.c:2144:12: style: Local variable 'max' shadows outer variable [shadowVariable] Argyll_V3.3.0/profile/printcal.c:2082:10: note: Shadowed declaration Argyll_V3.3.0/profile/printcal.c:2144:12: note: Shadow variable Argyll_V3.3.0/profile/printcal.c:171:13: style: Variable 'tsp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/printcal.c:387:38: style: Parameter 'p' can be declared as pointer to const. However it seems that 'pcaltarg_is_set' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/profile/printcal.c:483:14: note: You might need to cast the function pointer here Argyll_V3.3.0/profile/printcal.c:387:38: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/profile/printcal.c:2618:15: style: Variable 'tsp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/printcal.c:2626:10: style: Variable 'bp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/printcal.c:1730:22: warning: Uninitialized variable: maxd [uninitvar] Argyll_V3.3.0/profile/printcal.c:1724:18: note: Assuming condition is false Argyll_V3.3.0/profile/printcal.c:1730:22: note: Uninitialized variable: maxd Argyll_V3.3.0/profile/printcal.c:1765:16: warning: Uninitialized variable: aslope [uninitvar] Argyll_V3.3.0/profile/printcal.c:1757:13: note: Assuming condition is false Argyll_V3.3.0/profile/printcal.c:1765:16: note: Uninitialized variable: aslope Argyll_V3.3.0/profile/printcal.c:1826:10: error: Uninitialized variable: tp [uninitvar] Argyll_V3.3.0/profile/printcal.c:74:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/profile/printcal.c:261:9: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/profile/printcal.c:1613:13: style: Variable 'avgdev[0]' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/printcal.c:1898:11: style: Variable 'hdvrde' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/printcal.c:2739:13: style: Variable 'ix' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/printcal.c:2786:13: style: Variable 'ix' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/printcal.c:1042:8: style: Unused variable: ti [unusedVariable] Argyll_V3.3.0/profile/printcal.c:1109:8: style: Unused variable: ti [unusedVariable] Argyll_V3.3.0/profile/printcal.c:2080:6: style: Unused variable: tp [unusedVariable] Argyll_V3.3.0/profile/printcal.c:2429:13: style: Unused variable: inv [unusedVariable] Argyll_V3.3.0/profile/printcal.c:2624:8: style: Unused variable: ncps [unusedVariable] Argyll_V3.3.0/profile/printcal.c:2626:10: style: Variable 'bp' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/printcal.c:2739:10: style: Variable 'ix' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/printcal.c:2757:12: style: Unused variable: inmax [unusedVariable] Argyll_V3.3.0/profile/printcal.c:2786:10: style: Variable 'ix' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/printcal.c:2838:15: style: Unused variable: p [unusedVariable] Argyll_V3.3.0/profile/profout.c:810:13: warning: Function 'make_output_icc' argument order different: declaration 'ptype, mtxtoo, icctype, verb, iquality, oquality, noiluts, noisluts, nooluts, nocied, noptop, nostos, igammap, gamdiag, verify, clipprims, wpscale, ink, in_name, file_name, icg, spec, tillum, cust_tillum, illum, cust_illum, obType, custObserver, fwacomp, smooth, avgdev, demph, gcompr, gexpr, ipname, sgname, absname, sepsat, ivc_p, ovc_p, ivc_e, ovc_e, pgmi, sgmi, pi' definition 'ptype, mtxtoo, icctype, verb, iquality, oquality, noisluts, noipluts, nooluts, nocied, noptop, nostos, igammap, gamdiag, verify, clipprims, wpscale, oink, in_name, file_name, icg, spec, tillum, cust_tillum, illum, cust_illum, obType, custObserver, fwacomp, smooth, avgdev, demph, gcompr, gexpr, ipname, sgname, absname, sepsat, ivc_p, ovc_p, ivc_e, ovc_e, pgmi, sgmi, xpi' [funcArgOrderDifferent] Argyll_V3.3.0/profile/prof.h:37:13: note: Function 'make_output_icc' argument order different: declaration 'ptype, mtxtoo, icctype, verb, iquality, oquality, noiluts, noisluts, nooluts, nocied, noptop, nostos, igammap, gamdiag, verify, clipprims, wpscale, ink, in_name, file_name, icg, spec, tillum, cust_tillum, illum, cust_illum, obType, custObserver, fwacomp, smooth, avgdev, demph, gcompr, gexpr, ipname, sgname, absname, sepsat, ivc_p, ovc_p, ivc_e, ovc_e, pgmi, sgmi, pi' definition 'ptype, mtxtoo, icctype, verb, iquality, oquality, noisluts, noipluts, nooluts, nocied, noptop, nostos, igammap, gamdiag, verify, clipprims, wpscale, oink, in_name, file_name, icg, spec, tillum, cust_tillum, illum, cust_illum, obType, custObserver, fwacomp, smooth, avgdev, demph, gcompr, gexpr, ipname, sgname, absname, sepsat, ivc_p, ovc_p, ivc_e, ovc_e, pgmi, sgmi, xpi' Argyll_V3.3.0/profile/profout.c:810:13: note: Function 'make_output_icc' argument order different: declaration 'ptype, mtxtoo, icctype, verb, iquality, oquality, noiluts, noisluts, nooluts, nocied, noptop, nostos, igammap, gamdiag, verify, clipprims, wpscale, ink, in_name, file_name, icg, spec, tillum, cust_tillum, illum, cust_illum, obType, custObserver, fwacomp, smooth, avgdev, demph, gcompr, gexpr, ipname, sgname, absname, sepsat, ivc_p, ovc_p, ivc_e, ovc_e, pgmi, sgmi, pi' definition 'ptype, mtxtoo, icctype, verb, iquality, oquality, noisluts, noipluts, nooluts, nocied, noptop, nostos, igammap, gamdiag, verify, clipprims, wpscale, oink, in_name, file_name, icg, spec, tillum, cust_tillum, illum, cust_illum, obType, custObserver, fwacomp, smooth, avgdev, demph, gcompr, gexpr, ipname, sgname, absname, sepsat, ivc_p, ovc_p, ivc_e, ovc_e, pgmi, sgmi, xpi' Argyll_V3.3.0/profile/profout.c:1373:16: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/profile/profout.c:872:6: note: Shadowed declaration Argyll_V3.3.0/profile/profout.c:1373:16: note: Shadow variable Argyll_V3.3.0/profile/profout.c:1404:7: style: Local variable 'j' shadows outer variable [shadowVariable] Argyll_V3.3.0/profile/profout.c:872:9: note: Shadowed declaration Argyll_V3.3.0/profile/profout.c:1404:7: note: Shadow variable Argyll_V3.3.0/profile/profout.c:1404:10: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/profile/profout.c:872:6: note: Shadowed declaration Argyll_V3.3.0/profile/profout.c:1404:10: note: Shadow variable Argyll_V3.3.0/profile/profout.c:1708:10: style: Local variable 'j' shadows outer variable [shadowVariable] Argyll_V3.3.0/profile/profout.c:872:9: note: Shadowed declaration Argyll_V3.3.0/profile/profout.c:1708:10: note: Shadow variable Argyll_V3.3.0/profile/profout.c:1754:8: style: Local variable 'ii' shadows outer variable [shadowVariable] Argyll_V3.3.0/profile/profout.c:1575:11: note: Shadowed declaration Argyll_V3.3.0/profile/profout.c:1754:8: note: Shadow variable Argyll_V3.3.0/profile/profout.c:1886:15: style: Local variable 'rv' shadows outer variable [shadowVariable] Argyll_V3.3.0/profile/profout.c:872:12: note: Shadowed declaration Argyll_V3.3.0/profile/profout.c:1886:15: note: Shadow variable Argyll_V3.3.0/profile/profout.c:2044:8: style: Local variable 'j' shadows outer variable [shadowVariable] Argyll_V3.3.0/profile/profout.c:872:9: note: Shadowed declaration Argyll_V3.3.0/profile/profout.c:2044:8: note: Shadow variable Argyll_V3.3.0/profile/profout.c:2214:13: style: Local variable 'x' shadows outer variable [shadowVariable] Argyll_V3.3.0/profile/profout.c:2178:11: note: Shadowed declaration Argyll_V3.3.0/profile/profout.c:2214:13: note: Shadow variable Argyll_V3.3.0/profile/profout.c:2237:13: style: Local variable 'x' shadows outer variable [shadowVariable] Argyll_V3.3.0/profile/profout.c:2178:11: note: Shadowed declaration Argyll_V3.3.0/profile/profout.c:2237:13: note: Shadow variable Argyll_V3.3.0/profile/profout.c:2254:13: style: Local variable 'x' shadows outer variable [shadowVariable] Argyll_V3.3.0/profile/profout.c:2178:11: note: Shadowed declaration Argyll_V3.3.0/profile/profout.c:2254:13: note: Shadow variable Argyll_V3.3.0/profile/profout.c:3022:17: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/profile/profout.c:872:6: note: Shadowed declaration Argyll_V3.3.0/profile/profout.c:3022:17: note: Shadow variable Argyll_V3.3.0/profile/profout.c:3202:17: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/profile/profout.c:872:6: note: Shadowed declaration Argyll_V3.3.0/profile/profout.c:3202:17: note: Shadow variable Argyll_V3.3.0/profile/profout.c:212:75: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/profile/profout.c:235:79: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/profile/profout.c:267:44: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/profile/profout.c:287:44: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/profile/profout.c:514:51: style: Parameter 'in' can be declared as const array. However it seems that 'out_b2a_clut' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/profile/profout.c:2916:5: note: You might need to cast the function pointer here Argyll_V3.3.0/profile/profout.c:514:51: note: Parameter 'in' can be declared as const array Argyll_V3.3.0/profile/profout.c:751:60: style: Parameter 'in' can be declared as const array. However it seems that 'gamut_output' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/profile/profout.c:3135:6: note: You might need to cast the function pointer here Argyll_V3.3.0/profile/profout.c:751:60: note: Parameter 'in' can be declared as const array Argyll_V3.3.0/profile/profout.c:766:46: style: Parameter 'v' can be declared as pointer to const. However it seems that 'xyzoptfunc' is a callback function, if 'v' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/profile/profout.c:2721:34: note: You might need to cast the function pointer here Argyll_V3.3.0/profile/profout.c:766:46: note: Parameter 'v' can be declared as pointer to const Argyll_V3.3.0/profile/profout.c:1288:9: style: Variable 'dst' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/profout.c:1312:9: style: Variable 'crt' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/profout.c:1330:9: style: Variable 'dst' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/profout.c:1344:9: style: Variable 'dst' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/profout.c:1387:10: style: Variable 'name' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/profout.c:2978:13: style: Variable 'wo' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/profout.c:2983:14: style: Variable 'wo' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/profout.c:2994:13: style: Variable 'wo' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/profout.c:3006:13: style: Variable 'wo' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/profout.c:3012:13: style: Variable 'wo' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/profout.c:3031:11: style: Variable 'dv[i]' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/profout.c:3037:11: style: Variable 'dv[i]' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/profout.c:3218:11: style: Variable 'dv[i]' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/profout.c:3226:11: style: Variable 'dv[i]' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/profout.c:1289:7: style: Unused variable: u8 [unusedVariable] Argyll_V3.3.0/profile/profout.c:1331:7: style: Unused variable: u8 [unusedVariable] Argyll_V3.3.0/profile/profout.c:1345:7: style: Unused variable: u8 [unusedVariable] Argyll_V3.3.0/profile/profout.c:1524:9: style: Unused variable: crt [unusedVariable] Argyll_V3.3.0/profile/profout.c:2045:19: style: Unused variable: L [unusedVariable] Argyll_V3.3.0/profile/profout.c:2761:10: style: Unused variable: extra [unusedVariable] Argyll_V3.3.0/profile/profout.c:2856:9: style: Unused variable: extra [unusedVariable] Argyll_V3.3.0/profile/simpprof.c:91:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmD50 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/simpprof.c:131:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmD50 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/simpprof.c:314:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmD50 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/simpprof.c:425:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/splitti3.c:48:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/splitti3.c:72:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/splitti3.c:160:2: warning: Either the condition '(cgf=new_cgats())==NULL' is redundant or there is possible null pointer dereference: cgf. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/splitti3.c:158:26: note: Assuming that condition '(cgf=new_cgats())==NULL' is not redundant Argyll_V3.3.0/profile/splitti3.c:160:2: note: Null pointer dereference Argyll_V3.3.0/profile/splitti3.c:163:6: warning:inconclusive: Either the condition '(cgf=new_cgats())==NULL' is redundant or there is possible null pointer dereference: cgf. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/splitti3.c:158:26: note: Assuming that condition '(cgf=new_cgats())==NULL' is not redundant Argyll_V3.3.0/profile/splitti3.c:163:6: note: Null pointer dereference Argyll_V3.3.0/profile/splitti3.c:250:22: warning: Either the condition '(buf=strdup(cgf->t[0].kdata[ti]))==NULL' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/splitti3.c:246:43: note: Assuming that condition '(buf=strdup(cgf->t[0].kdata[ti]))==NULL' is not redundant Argyll_V3.3.0/profile/splitti3.c:250:22: note: Null pointer dereference Argyll_V3.3.0/profile/splitti3.c:252:8: warning: Either the condition '(outc=strchr(buf,'_'))==NULL' is redundant or there is possible null pointer dereference: outc++. [nullPointerRedundantCheck] Argyll_V3.3.0/profile/splitti3.c:250:33: note: Assuming that condition '(outc=strchr(buf,'_'))==NULL' is not redundant Argyll_V3.3.0/profile/splitti3.c:252:8: note: Null pointer dereference Argyll_V3.3.0/profile/splitti3.c:252:8: warning: Either the condition '(outc=strchr(buf,'_'))==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] Argyll_V3.3.0/profile/splitti3.c:250:33: note: Assuming that condition '(outc=strchr(buf,'_'))==NULL' is not redundant Argyll_V3.3.0/profile/splitti3.c:252:8: note: Null pointer addition Argyll_V3.3.0/profile/splitti3.c:95:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/txt2ti3.c:93:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/txt2ti3.c:121:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/txt2ti3.c:139:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Argyll_V3.3.0/profile/txt2ti3.c:140:14: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] Argyll_V3.3.0/profile/txt2ti3.c:694:21: style: Same expression on both sides of '/'. [duplicateExpression] Argyll_V3.3.0/profile/txt2ti3.c:731:22: style: Same expression on both sides of '/'. [duplicateExpression] Argyll_V3.3.0/profile/txt2ti3.c:765:35: style: Same expression on both sides of '&&'. [duplicateExpression] Argyll_V3.3.0/profile/txt2ti3.c:92:13: style: Parameter 'mes' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/profile/txt2ti3.c:139:13: style: Variable 'tsp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/txt2ti3.c:161:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/txt2ti3.c:676:7: style: Variable 'f_dev' can be declared as const array [constVariable] Argyll_V3.3.0/profile/simpprof.c:186:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Argyll_V3.3.0/profile/simpprof.c:187:14: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] Argyll_V3.3.0/profile/simpprof.c:186:13: style: Variable 'tsp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/simpprof.c:204:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/profile/simpprof.c:201:7: style: Variable 'nfa' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/simpprof.c:207:8: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/simpprof.c:215:10: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/simpprof.c:334:9: style: Variable 'sarea' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/profile/simpprof.c:335:19: style: Variable 'dresid' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/render/render.c:253:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/render/render.c:477:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/render/render.c:1094:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/render/render.c:1443:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/render/thscreen.c:79:18: style: Variable 'ein' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/render/thscreen.c:451:7: style: Variable 'lut' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/render/thscreen.c:452:18: style: Variable 'ein' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/render/thscreen.c:518:7: style: Parameter 'oevalues' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/render/thscreen.c:345:29: warning: Uninitialized variable: bamatch [uninitvar] Argyll_V3.3.0/render/thscreen.c:81:6: style: Unused variable: xo [unusedVariable] Argyll_V3.3.0/render/thscreen.c:81:10: style: Unused variable: yo [unusedVariable] Argyll_V3.3.0/render/thscreen.c:369:7: style: Unused variable: npix [unusedVariable] Argyll_V3.3.0/render/render.c:840:13: style: Redundant assignment of 'cc[j]' to itself. [selfAssignment] Argyll_V3.3.0/render/render.c:1205:11: style:inconclusive: Function 'new_rect2d' argument 1 names different: declaration 's' definition 'ss'. [funcArgNamesDifferent] Argyll_V3.3.0/render/render.h:97:38: note: Function 'new_rect2d' argument 1 names different: declaration 's' definition 'ss'. Argyll_V3.3.0/render/render.c:1205:11: note: Function 'new_rect2d' argument 1 names different: declaration 's' definition 'ss'. Argyll_V3.3.0/render/render.c:1307:11: style:inconclusive: Function 'new_rectvs2d' argument 1 names different: declaration 's' definition 'ss'. [funcArgNamesDifferent] Argyll_V3.3.0/render/render.h:112:40: note: Function 'new_rectvs2d' argument 1 names different: declaration 's' definition 'ss'. Argyll_V3.3.0/render/render.c:1307:11: note: Function 'new_rectvs2d' argument 1 names different: declaration 's' definition 'ss'. Argyll_V3.3.0/render/render.c:1399:11: style:inconclusive: Function 'new_trivs2d' argument 1 names different: declaration 's' definition 'ss'. [funcArgNamesDifferent] Argyll_V3.3.0/render/render.h:122:39: note: Function 'new_trivs2d' argument 1 names different: declaration 's' definition 'ss'. Argyll_V3.3.0/render/render.c:1399:11: note: Function 'new_trivs2d' argument 1 names different: declaration 's' definition 'ss'. Argyll_V3.3.0/render/render.c:1484:11: style:inconclusive: Function 'new_poly2d' argument 1 names different: declaration 's' definition 'ss'. [funcArgNamesDifferent] Argyll_V3.3.0/render/render.h:135:38: note: Function 'new_poly2d' argument 1 names different: declaration 's' definition 'ss'. Argyll_V3.3.0/render/render.c:1484:11: note: Function 'new_poly2d' argument 1 names different: declaration 's' definition 'ss'. Argyll_V3.3.0/render/render.c:1564:11: style:inconclusive: Function 'new_disk2d' argument 1 names different: declaration 's' definition 'ss'. [funcArgNamesDifferent] Argyll_V3.3.0/render/render.h:161:38: note: Function 'new_disk2d' argument 1 names different: declaration 's' definition 'ss'. Argyll_V3.3.0/render/render.c:1564:11: note: Function 'new_disk2d' argument 1 names different: declaration 's' definition 'ss'. Argyll_V3.3.0/render/render.c:1617:29: style:inconclusive: Function 'add_circle2d' argument 1 names different: declaration 's' definition 'ss'. [funcArgNamesDifferent] Argyll_V3.3.0/render/render.h:164:37: note: Function 'add_circle2d' argument 1 names different: declaration 's' definition 'ss'. Argyll_V3.3.0/render/render.c:1617:29: note: Function 'add_circle2d' argument 1 names different: declaration 's' definition 'ss'. Argyll_V3.3.0/render/render.c:1727:11: style:inconclusive: Function 'new_line2d' argument 1 names different: declaration 's' definition 'ss'. [funcArgNamesDifferent] Argyll_V3.3.0/render/render.h:179:38: note: Function 'new_line2d' argument 1 names different: declaration 's' definition 'ss'. Argyll_V3.3.0/render/render.c:1727:11: note: Function 'new_line2d' argument 1 names different: declaration 's' definition 'ss'. Argyll_V3.3.0/render/render.c:734:8: style: Local variable 'j' shadows outer variable [shadowVariable] Argyll_V3.3.0/render/render.c:354:9: note: Shadowed declaration Argyll_V3.3.0/render/render.c:734:8: note: Shadow variable Argyll_V3.3.0/render/render.c:1708:11: style: Local variable 'nx' shadows outer variable [shadowVariable] Argyll_V3.3.0/render/render.c:1687:13: note: Shadowed declaration Argyll_V3.3.0/render/render.c:1708:11: note: Shadow variable Argyll_V3.3.0/render/render.c:1708:15: style: Local variable 'ny' shadows outer variable [shadowVariable] Argyll_V3.3.0/render/render.c:1687:17: note: Shadowed declaration Argyll_V3.3.0/render/render.c:1708:15: note: Shadow variable Argyll_V3.3.0/render/render.c:53:53: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/render/render.c:79:54: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/render/render.c:284:27: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/render/render.c:294:32: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/render/render.c:1046:12: style: Parameter 's' can be declared as pointer to const. However it seems that 'render2d_rast_details' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/render/render.c:1119:20: note: You might need to cast the function pointer here Argyll_V3.3.0/render/render.c:1046:12: note: Parameter 's' can be declared as pointer to const Argyll_V3.3.0/render/render.c:1066:8: style: Parameter 'ma' can be declared as const array [constParameter] Argyll_V3.3.0/render/render.c:1187:11: style: Variable 'val' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/render/render.c:1205:11: style: Parameter 'ss' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/render/render.c:1307:11: style: Parameter 'ss' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/render/render.c:1399:11: style: Parameter 'ss' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/render/render.c:1400:8: style: Parameter 'v' can be declared as const array [constParameter] Argyll_V3.3.0/render/render.c:1484:11: style: Parameter 'ss' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/render/render.c:1486:8: style: Parameter 'v' can be declared as const array [constParameter] Argyll_V3.3.0/render/render.c:1564:11: style: Parameter 'ss' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/render/render.c:1605:30: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/render/render.c:1727:11: style: Parameter 'ss' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/render/render.c:1941:8: style: Parameter 'mat' can be declared as const array [constParameter] Argyll_V3.3.0/render/render.c:340:6: style: Unused variable: ppitch [unusedVariable] Argyll_V3.3.0/render/render.c:341:6: style: Unused variable: lpitch [unusedVariable] Argyll_V3.3.0/render/render.c:1687:13: style: Unused variable: nx [unusedVariable] Argyll_V3.3.0/render/render.c:1687:17: style: Unused variable: ny [unusedVariable] Argyll_V3.3.0/render/render.c:1733:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/render/render.c:1735:9: style: Unused variable: tt [unusedVariable] Argyll_V3.3.0/rspl/c1.c:86:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/c1.c:111:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error_program [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/c1.c:223:16: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/rspl/c1.c:280:17: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/rspl/c1.c:118:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/rspl/c1.c:319:8: style: Parameter 'xa' can be declared as const array [constParameter] Argyll_V3.3.0/rspl/c1.c:350:8: style: struct member '_edatas::rss' is never used. [unusedStructMember] Argyll_V3.3.0/rspl/c1.c:351:6: style: struct member '_edatas::j' is never used. [unusedStructMember] Argyll_V3.3.0/render/timage.c:48:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/render/timage.c:76:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/c1df.c:72:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/c1df.c:125:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error_program [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/c1df.c:67:53: style: Parameter 'in' can be declared as pointer to const. However it seems that 'wfunc' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/rspl/c1df.c:259:15: note: You might need to cast the function pointer here Argyll_V3.3.0/rspl/c1df.c:67:53: note: Parameter 'in' can be declared as pointer to const Argyll_V3.3.0/rspl/c1df.c:95:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/rspl/c1df.c:291:8: style: Parameter 'xa' can be declared as const array [constParameter] Argyll_V3.3.0/rspl/cw1.c:78:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/cw1.c:103:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error_program [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/cw1.c:110:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/rspl/cw1.c:271:8: style: struct member '_edatas::rss' is never used. [unusedStructMember] Argyll_V3.3.0/rspl/cw1.c:272:6: style: struct member '_edatas::j' is never used. [unusedStructMember] Argyll_V3.3.0/rspl/cw1.c:140:16: style: Variable 'lrand' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/cw1.c:140:10: style: Variable 'lrand' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/cw1.c:180:17: style: Unused variable: out [unusedVariable] Argyll_V3.3.0/rspl/cw1.c:249:9: style: Unused variable: tt [unusedVariable] Argyll_V3.3.0/rspl/cw3.c:78:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/cw3.c:109:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error_program [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/cw3.c:116:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/rspl/cw3.c:288:8: style: struct member '_edatas::rss' is never used. [unusedStructMember] Argyll_V3.3.0/rspl/cw3.c:289:6: style: struct member '_edatas::j' is never used. [unusedStructMember] Argyll_V3.3.0/rspl/cw3.c:145:16: style: Variable 'lrand' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/cw3.c:87:12: style: Unused variable: e [unusedVariable] Argyll_V3.3.0/rspl/cw3.c:145:10: style: Variable 'lrand' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/cw3.c:195:17: style: Unused variable: out [unusedVariable] Argyll_V3.3.0/rspl/cw3.c:266:9: style: Unused variable: tt [unusedVariable] Argyll_V3.3.0/rspl/gam.c:361:3: warning: Either the condition '(vp=calloc(1,sizeof(struct rvert)))==NULL' is redundant or there is possible null pointer dereference: vp. [nullPointerRedundantCheck] Argyll_V3.3.0/rspl/gam.c:357:39: note: Assuming that condition '(vp=calloc(1,sizeof(struct rvert)))==NULL' is not redundant Argyll_V3.3.0/rspl/gam.c:361:3: note: Null pointer dereference Argyll_V3.3.0/rspl/gam.c:362:3: warning: Either the condition '(vp=calloc(1,sizeof(struct rvert)))==NULL' is redundant or there is possible null pointer dereference: vp. [nullPointerRedundantCheck] Argyll_V3.3.0/rspl/gam.c:357:39: note: Assuming that condition '(vp=calloc(1,sizeof(struct rvert)))==NULL' is not redundant Argyll_V3.3.0/rspl/gam.c:362:3: note: Null pointer dereference Argyll_V3.3.0/rspl/gam.c:363:3: warning: Either the condition '(vp=calloc(1,sizeof(struct rvert)))==NULL' is redundant or there is possible null pointer dereference: vp. [nullPointerRedundantCheck] Argyll_V3.3.0/rspl/gam.c:357:39: note: Assuming that condition '(vp=calloc(1,sizeof(struct rvert)))==NULL' is not redundant Argyll_V3.3.0/rspl/gam.c:363:3: note: Null pointer dereference Argyll_V3.3.0/rspl/gam.c:434:3: warning: Either the condition '(ep=calloc(1,sizeof(struct redge)))==NULL' is redundant or there is possible null pointer dereference: ep. [nullPointerRedundantCheck] Argyll_V3.3.0/rspl/gam.c:431:39: note: Assuming that condition '(ep=calloc(1,sizeof(struct redge)))==NULL' is not redundant Argyll_V3.3.0/rspl/gam.c:434:3: note: Null pointer dereference Argyll_V3.3.0/rspl/gam.c:591:3: warning: Either the condition '(tp=calloc(1,sizeof(struct rtri)))==NULL' is redundant or there is possible null pointer dereference: tp. [nullPointerRedundantCheck] Argyll_V3.3.0/rspl/gam.c:588:38: note: Assuming that condition '(tp=calloc(1,sizeof(struct rtri)))==NULL' is not redundant Argyll_V3.3.0/rspl/gam.c:591:3: note: Null pointer dereference Argyll_V3.3.0/rspl/gam.c:304:19: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Argyll_V3.3.0/rspl/gam.c:713:7: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/rspl/gam.c:664:6: note: Shadowed declaration Argyll_V3.3.0/rspl/gam.c:713:7: note: Shadow variable Argyll_V3.3.0/rspl/gam.c:713:10: style: Local variable 'j' shadows outer variable [shadowVariable] Argyll_V3.3.0/rspl/gam.c:664:9: note: Shadowed declaration Argyll_V3.3.0/rspl/gam.c:713:10: note: Shadow variable Argyll_V3.3.0/rspl/gam.c:177:31: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/rspl/gam.c:177:46: style: Parameter 'in0' can be declared as const array [constParameter] Argyll_V3.3.0/rspl/gam.c:191:39: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/rspl/gam.c:206:52: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/rspl/gam.c:222:24: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/rspl/gam.c:222:46: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/rspl/gam.c:656:9: style: Parameter 'cent' can be declared as pointer to const. However it seems that 'gam_comp_gamut' is a callback function, if 'cent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/rspl/gam.c:1170:18: note: You might need to cast the function pointer here Argyll_V3.3.0/rspl/gam.c:656:9: note: Parameter 'cent' can be declared as pointer to const Argyll_V3.3.0/rspl/gam.c:657:9: style: Parameter 'scale' can be declared as pointer to const. However it seems that 'gam_comp_gamut' is a callback function, if 'scale' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/rspl/gam.c:1170:18: note: You might need to cast the function pointer here Argyll_V3.3.0/rspl/gam.c:657:9: note: Parameter 'scale' can be declared as pointer to const Argyll_V3.3.0/rspl/gam.c:1236:26: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/rspl/gam.c:452:11: style: Variable 'v1[f]' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/gam.c:453:11: style: Variable 'v2[f]' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/gam.c:429:7: style: Unused variable: sm [unusedVariable] Argyll_V3.3.0/rspl/gam.c:429:11: style: Unused variable: lg [unusedVariable] Argyll_V3.3.0/rspl/gam.c:492:12: style: Unused variable: k [unusedVariable] Argyll_V3.3.0/rspl/gam.c:492:15: style: Unused variable: f [unusedVariable] Argyll_V3.3.0/rspl/gam.c:541:15: style: Unused variable: f [unusedVariable] Argyll_V3.3.0/rspl/gam.c:1177:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/rspl/gam.c:1238:16: style: Variable 'col' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/gam.c:1237:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/rspl/gam.c:1239:14: style: Unused variable: nvp [unusedVariable] Argyll_V3.3.0/rspl/mlbs.c:208:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/mlbs.c:381:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/mlbs.c:507:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/mlbs.c:581:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/mlbs.c:594:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/mlbs.c:565:42: style: Condition '(p=alloc_mlbs(di,fdi,res,smf))==NULL' is always false [knownConditionTrueFalse] Argyll_V3.3.0/rspl/mlbs.c:160:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/rspl/mlbs.c:254:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/rspl/mlbs.c:259:17: style: Variable 'wt' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/rspl/mlbs.c:487:9: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/rspl/mlbs.c:488:9: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/rspl/mlbs.c:91:9: style: Unused variable: f [unusedVariable] Argyll_V3.3.0/rspl/mlbs.c:92:10: style: Unused variable: _lat [unusedVariable] Argyll_V3.3.0/rspl/mlbs.c:92:17: style: Unused variable: lat [unusedVariable] Argyll_V3.3.0/rspl/mlbs.c:491:12: style: Unused variable: f [unusedVariable] Argyll_V3.3.0/rspl/opt.c:427:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gc [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/opt.c:503:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gc [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/opt.c:619:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cc [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/opt.c:319:2: warning: Either the condition '(m=(struct omgtp*)calloc(1,sizeof(struct omgtp)))==NULL' is redundant or there is possible null pointer dereference: m. [nullPointerRedundantCheck] Argyll_V3.3.0/rspl/opt.c:315:47: note: Assuming that condition '(m=(struct omgtp*)calloc(1,sizeof(struct omgtp)))==NULL' is not redundant Argyll_V3.3.0/rspl/opt.c:319:2: note: Null pointer dereference Argyll_V3.3.0/rspl/opt.c:319:12: warning: Either the condition '(m=(struct omgtp*)calloc(1,sizeof(struct omgtp)))==NULL' is redundant or there is possible null pointer dereference: m. [nullPointerRedundantCheck] Argyll_V3.3.0/rspl/opt.c:315:47: note: Assuming that condition '(m=(struct omgtp*)calloc(1,sizeof(struct omgtp)))==NULL' is not redundant Argyll_V3.3.0/rspl/opt.c:319:12: note: Null pointer dereference Argyll_V3.3.0/rspl/opt.c:320:2: warning: Either the condition '(m=(struct omgtp*)calloc(1,sizeof(struct omgtp)))==NULL' is redundant or there is possible null pointer dereference: m. [nullPointerRedundantCheck] Argyll_V3.3.0/rspl/opt.c:315:47: note: Assuming that condition '(m=(struct omgtp*)calloc(1,sizeof(struct omgtp)))==NULL' is not redundant Argyll_V3.3.0/rspl/opt.c:320:2: note: Null pointer dereference Argyll_V3.3.0/rspl/opt.c:320:13: warning: Either the condition '(m=(struct omgtp*)calloc(1,sizeof(struct omgtp)))==NULL' is redundant or there is possible null pointer dereference: m. [nullPointerRedundantCheck] Argyll_V3.3.0/rspl/opt.c:315:47: note: Assuming that condition '(m=(struct omgtp*)calloc(1,sizeof(struct omgtp)))==NULL' is not redundant Argyll_V3.3.0/rspl/opt.c:320:13: note: Null pointer dereference Argyll_V3.3.0/rspl/opt.c:168:6: style: Parameter 'gres' can be declared as const array [constParameter] Argyll_V3.3.0/rspl/opt.c:420:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/rspl/opt.c:468:12: style: Variable 'd' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/rspl/opt.c:496:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/rspl/opt.c:557:12: style: Variable 'd' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/rspl/opt.c:617:7: style: Variable 'gres' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/rspl/opt.c:251:7: style: Variable 'nn' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/opt.c:590:6: style: Variable 'ltt' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/rev.c:7137:2: error: There is an unknown macro here somewhere. Configuration is required. If HEAPSORT is a macro then please configure it. [unknownMacro] Argyll_V3.3.0/rspl/revbench.c:93:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/revbench.c:113:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error_program [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/revbench.c:227:8: style: Local variable 'e' shadows outer variable [shadowVariable] Argyll_V3.3.0/rspl/revbench.c:108:6: note: Shadowed declaration Argyll_V3.3.0/rspl/revbench.c:227:8: note: Shadow variable Argyll_V3.3.0/rspl/revbench.c:52:9: style: Parameter 'in' can be declared as pointer to const. However it seems that 'func' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/rspl/revbench.c:163:38: note: You might need to cast the function pointer here Argyll_V3.3.0/rspl/revbench.c:52:9: note: Parameter 'in' can be declared as pointer to const Argyll_V3.3.0/rspl/revbench.c:79:7: style: Parameter 'lcntx' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/rspl/revbench.c:80:8: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/rspl/revbench.c:119:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/rspl/revbench.c:177:13: style: Variable 'flags' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/revbench.c:217:10: style: Variable 'rcount' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/revbench.c:222:9: style: Variable 'flags' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/rspl.c:225:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gc [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/rspl.c:1420:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gc [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/rspl.c:258:22: warning: Either the condition '(s->g.alloc=(float*)malloc(sizeof(float)*gno*s->g.pss))==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] Argyll_V3.3.0/rspl/rspl.c:256:70: note: Assuming that condition '(s->g.alloc=(float*)malloc(sizeof(float)*gno*s->g.pss))==NULL' is not redundant Argyll_V3.3.0/rspl/rspl.c:258:22: note: Null pointer addition Argyll_V3.3.0/rspl/rspl.c:267:3: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Argyll_V3.3.0/rspl/rspl.c:275:5: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Argyll_V3.3.0/rspl/rspl.c:279:5: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Argyll_V3.3.0/rspl/rspl.c:282:3: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Argyll_V3.3.0/rspl/rspl.c:416:4: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Argyll_V3.3.0/rspl/rspl.c:849:10: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Argyll_V3.3.0/rspl/rspl.c:989:6: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Argyll_V3.3.0/rspl/rspl.c:1183:6: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Argyll_V3.3.0/rspl/rspl.c:1466:6: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Argyll_V3.3.0/rspl/rspl.c:449:5: style:inconclusive: Function 'interp_rspl_sx' argument 2 names different: declaration 'pp' definition 'p'. [funcArgNamesDifferent] Argyll_V3.3.0/rspl/rspl.c:67:40: note: Function 'interp_rspl_sx' argument 2 names different: declaration 'pp' definition 'p'. Argyll_V3.3.0/rspl/rspl.c:449:5: note: Function 'interp_rspl_sx' argument 2 names different: declaration 'pp' definition 'p'. Argyll_V3.3.0/rspl/rspl.c:1239:7: style:inconclusive: Function 're_set_rspl' argument 3 names different: declaration 'cbntx' definition 'cbctx'. [funcArgNamesDifferent] Argyll_V3.3.0/rspl/rspl.c:76:58: note: Function 're_set_rspl' argument 3 names different: declaration 'cbntx' definition 'cbctx'. Argyll_V3.3.0/rspl/rspl.c:1239:7: note: Function 're_set_rspl' argument 3 names different: declaration 'cbntx' definition 'cbctx'. Argyll_V3.3.0/rspl/rspl.c:1250:7: style:inconclusive: Function 'scan_rspl' argument 3 names different: declaration 'cbntx' definition 'cbctx'. [funcArgNamesDifferent] Argyll_V3.3.0/rspl/rspl.c:78:57: note: Function 'scan_rspl' argument 3 names different: declaration 'cbntx' definition 'cbctx'. Argyll_V3.3.0/rspl/rspl.c:1250:7: note: Function 'scan_rspl' argument 3 names different: declaration 'cbntx' definition 'cbctx'. Argyll_V3.3.0/rspl/rspl.c:1599:5: style:inconclusive: Function 'rpsh_inc' argument 2 names different: declaration 'co' definition 'coa'. [funcArgNamesDifferent] Argyll_V3.3.0/rspl/rspl.h:651:27: note: Function 'rpsh_inc' argument 2 names different: declaration 'co' definition 'coa'. Argyll_V3.3.0/rspl/rspl.c:1599:5: note: Function 'rpsh_inc' argument 2 names different: declaration 'co' definition 'coa'. Argyll_V3.3.0/rspl/rspl.c:323:13: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/rspl/rspl.c:410:13: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/rspl/rspl.c:433:7: style: Parameter 's' can be declared as pointer to const. However it seems that 'within_restrictedsize' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/rspl/rspl.c:189:29: note: You might need to cast the function pointer here Argyll_V3.3.0/rspl/rspl.c:433:7: note: Parameter 's' can be declared as pointer to const Argyll_V3.3.0/rspl/rspl.c:628:11: style: Variable 'lgp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/rspl/rspl.c:829:7: style: Variable 'fci' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/rspl/rspl.c:830:14: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/rspl/rspl.c:1422:14: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/rspl/rspl.c:1552:15: style: Parameter 'res' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/rspl/rspl.c:1080:8: style: Variable 'ccp' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/rspl.c:1083:9: style: Variable 'ccp' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/rspl1.c:419:13: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] Argyll_V3.3.0/rspl/rspl1.c:414:5: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Argyll_V3.3.0/rspl/rspl1.c:176:7: style: Local variable 'n' shadows outer variable [shadowVariable] Argyll_V3.3.0/rspl/rspl1.c:98:6: note: Shadowed declaration Argyll_V3.3.0/rspl/rspl1.c:176:7: note: Shadow variable Argyll_V3.3.0/rspl/rspl1.c:91:10: style: Parameter 'gres' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/rspl/rspl1.c:378:7: style: Parameter 'gres' can be declared as pointer to const. However it seems that 'set_rspl' is a callback function, if 'gres' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/rspl/rspl1.c:462:18: note: You might need to cast the function pointer here Argyll_V3.3.0/rspl/rspl1.c:378:7: note: Parameter 'gres' can be declared as pointer to const Argyll_V3.3.0/rspl/rspl1.c:410:10: style: Unused variable: vv [unusedVariable] Argyll_V3.3.0/profile/colprof.c:89:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/profile/colprof.c:218:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icxIT_none [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/scat.c:1529:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mgdat [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/scat.c:1771:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gc [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/scat.c:2446:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gc [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/scat.c:2628:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/scat.c:1377:2: warning: Either the condition '(m=(struct mgtmp*)calloc(1,sizeof(struct mgtmp)))==NULL' is redundant or there is possible null pointer dereference: m. [nullPointerRedundantCheck] Argyll_V3.3.0/rspl/scat.c:1373:47: note: Assuming that condition '(m=(struct mgtmp*)calloc(1,sizeof(struct mgtmp)))==NULL' is not redundant Argyll_V3.3.0/rspl/scat.c:1377:2: note: Null pointer dereference Argyll_V3.3.0/rspl/scat.c:1378:2: warning: Either the condition '(m=(struct mgtmp*)calloc(1,sizeof(struct mgtmp)))==NULL' is redundant or there is possible null pointer dereference: m. [nullPointerRedundantCheck] Argyll_V3.3.0/rspl/scat.c:1373:47: note: Assuming that condition '(m=(struct mgtmp*)calloc(1,sizeof(struct mgtmp)))==NULL' is not redundant Argyll_V3.3.0/rspl/scat.c:1378:2: note: Null pointer dereference Argyll_V3.3.0/rspl/scat.c:2592:7: style: Redundant initialization for 'err'. The initialized value is overwritten before it is read. [redundantInitialization] Argyll_V3.3.0/rspl/scat.c:2588:26: note: err is initialized Argyll_V3.3.0/rspl/scat.c:2592:7: note: err is overwritten Argyll_V3.3.0/rspl/scat.c:2284:9: style: Local variable 'k' shadows outer variable [shadowVariable] Argyll_V3.3.0/rspl/scat.c:1754:13: note: Shadowed declaration Argyll_V3.3.0/rspl/scat.c:2284:9: note: Shadow variable Argyll_V3.3.0/rspl/scat.c:413:6: style: Parameter 'gres' can be declared as const array [constParameter] Argyll_V3.3.0/rspl/scat.c:419:9: style: Parameter 'avgdev' can be declared as const array [constParameter] Argyll_V3.3.0/rspl/scat.c:643:9: style: Variable 'psm' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/rspl/scat.c:1096:6: style: Variable 'nncixv' can be declared as const array [constVariable] Argyll_V3.3.0/rspl/scat.c:1097:9: style: Variable 'ncixv' can be declared as const array [constVariable] Argyll_V3.3.0/rspl/scat.c:1109:6: style: Variable 'nadixv' can be declared as const array [constVariable] Argyll_V3.3.0/rspl/scat.c:1110:9: style: Variable 'adixv' can be declared as const array [constVariable] Argyll_V3.3.0/rspl/scat.c:1179:9: style: Variable 'rwf' can be declared as const array [constVariable] Argyll_V3.3.0/rspl/scat.c:1356:6: style: Parameter 'gres' can be declared as const array [constParameter] Argyll_V3.3.0/rspl/scat.c:1745:25: style: Variable 'gci' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/rspl/scat.c:2385:9: style: Parameter 'p' can be declared as const array [constParameter] Argyll_V3.3.0/rspl/scat.c:2387:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/rspl/scat.c:2442:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/rspl/scat.c:2502:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/rspl/scat.c:2658:7: style: Parameter 'gres' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/rspl/scat.c:2659:7: style: Parameter 'gci' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/rspl/scat.c:2726:10: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/rspl/scat.c:2729:7: style: Parameter 'xcol' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/rspl/scat.c:2815:10: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/rspl/scat.c:2816:10: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/rspl/scat.c:2820:7: style: Parameter 'xcol' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/rspl/scat.c:2924:10: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/rspl/scat.c:2927:7: style: Parameter 'xcol' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/rspl/scat.c:337:12: style: Unused variable: f [unusedVariable] Argyll_V3.3.0/rspl/scat.c:393:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/rspl/scat.c:393:9: style: Unused variable: f [unusedVariable] Argyll_V3.3.0/rspl/scat.c:706:7: style: Variable 'psm' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/scat.c:1615:12: style: Variable 'di' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/scat.c:1615:9: style: Variable 'di' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/scat.c:1753:14: style: Variable 'x' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/scat.c:1968:9: style: Variable 'w0' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/scat.c:1975:10: style: Variable 'w0' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/scat.c:1960:12: style: Unused variable: dw [unusedVariable] Argyll_V3.3.0/rspl/scat.c:2389:9: style: Unused variable: n [unusedVariable] Argyll_V3.3.0/rspl/scat.c:2739:9: style: Variable 'gc[e]' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/scat.c:2937:20: style: Variable 'rho' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/scat.c:3081:11: style: Variable 'max_it' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/scat2.c:93:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPL_NONMON [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/render/timage.c:200:3: warning: Either the condition '(r=new_render2d(w,h,NULL,res,res,rgb_2d,0,depth,0,NULL,NULL,0.0))==NULL' is redundant or there is possible null pointer dereference: r. [nullPointerRedundantCheck] Argyll_V3.3.0/render/timage.c:189:91: note: Assuming that condition '(r=new_render2d(w,h,NULL,res,res,rgb_2d,0,depth,0,NULL,NULL,0.0))==NULL' is not redundant Argyll_V3.3.0/render/timage.c:200:3: note: Null pointer dereference Argyll_V3.3.0/render/timage.c:205:3: warning:inconclusive: Either the condition '(r=new_render2d(w,h,NULL,res,res,rgb_2d,0,depth,0,NULL,NULL,0.0))==NULL' is redundant or there is possible null pointer dereference: r. [nullPointerRedundantCheck] Argyll_V3.3.0/render/timage.c:189:91: note: Assuming that condition '(r=new_render2d(w,h,NULL,res,res,rgb_2d,0,depth,0,NULL,NULL,0.0))==NULL' is not redundant Argyll_V3.3.0/render/timage.c:205:3: note: Null pointer dereference Argyll_V3.3.0/render/timage.c:210:3: warning:inconclusive: Either the condition '(r=new_render2d(w,h,NULL,res,res,rgb_2d,0,depth,0,NULL,NULL,0.0))==NULL' is redundant or there is possible null pointer dereference: r. [nullPointerRedundantCheck] Argyll_V3.3.0/render/timage.c:189:91: note: Assuming that condition '(r=new_render2d(w,h,NULL,res,res,rgb_2d,0,depth,0,NULL,NULL,0.0))==NULL' is not redundant Argyll_V3.3.0/render/timage.c:210:3: note: Null pointer dereference Argyll_V3.3.0/render/timage.c:215:3: warning:inconclusive: Either the condition '(r=new_render2d(w,h,NULL,res,res,rgb_2d,0,depth,0,NULL,NULL,0.0))==NULL' is redundant or there is possible null pointer dereference: r. [nullPointerRedundantCheck] Argyll_V3.3.0/render/timage.c:189:91: note: Assuming that condition '(r=new_render2d(w,h,NULL,res,res,rgb_2d,0,depth,0,NULL,NULL,0.0))==NULL' is not redundant Argyll_V3.3.0/render/timage.c:215:3: note: Null pointer dereference Argyll_V3.3.0/render/timage.c:231:3: warning:inconclusive: Either the condition '(r=new_render2d(w,h,NULL,res,res,rgb_2d,0,depth,0,NULL,NULL,0.0))==NULL' is redundant or there is possible null pointer dereference: r. [nullPointerRedundantCheck] Argyll_V3.3.0/render/timage.c:189:91: note: Assuming that condition '(r=new_render2d(w,h,NULL,res,res,rgb_2d,0,depth,0,NULL,NULL,0.0))==NULL' is not redundant Argyll_V3.3.0/render/timage.c:231:3: note: Null pointer dereference Argyll_V3.3.0/render/timage.c:251:3: warning:inconclusive: Either the condition '(r=new_render2d(w,h,NULL,res,res,rgb_2d,0,depth,0,NULL,NULL,0.0))==NULL' is redundant or there is possible null pointer dereference: r. [nullPointerRedundantCheck] Argyll_V3.3.0/render/timage.c:189:91: note: Assuming that condition '(r=new_render2d(w,h,NULL,res,res,rgb_2d,0,depth,0,NULL,NULL,0.0))==NULL' is not redundant Argyll_V3.3.0/render/timage.c:251:3: note: Null pointer dereference Argyll_V3.3.0/render/timage.c:257:3: warning:inconclusive: Either the condition '(r=new_render2d(w,h,NULL,res,res,rgb_2d,0,depth,0,NULL,NULL,0.0))==NULL' is redundant or there is possible null pointer dereference: r. [nullPointerRedundantCheck] Argyll_V3.3.0/render/timage.c:189:91: note: Assuming that condition '(r=new_render2d(w,h,NULL,res,res,rgb_2d,0,depth,0,NULL,NULL,0.0))==NULL' is not redundant Argyll_V3.3.0/render/timage.c:257:3: note: Null pointer dereference Argyll_V3.3.0/render/timage.c:281:3: warning:inconclusive: Either the condition '(r=new_render2d(w,h,NULL,res,res,rgb_2d,0,depth,0,NULL,NULL,0.0))==NULL' is redundant or there is possible null pointer dereference: r. [nullPointerRedundantCheck] Argyll_V3.3.0/render/timage.c:189:91: note: Assuming that condition '(r=new_render2d(w,h,NULL,res,res,rgb_2d,0,depth,0,NULL,NULL,0.0))==NULL' is not redundant Argyll_V3.3.0/render/timage.c:281:3: note: Null pointer dereference Argyll_V3.3.0/render/timage.c:287:3: warning:inconclusive: Either the condition '(r=new_render2d(w,h,NULL,res,res,rgb_2d,0,depth,0,NULL,NULL,0.0))==NULL' is redundant or there is possible null pointer dereference: r. [nullPointerRedundantCheck] Argyll_V3.3.0/render/timage.c:189:91: note: Assuming that condition '(r=new_render2d(w,h,NULL,res,res,rgb_2d,0,depth,0,NULL,NULL,0.0))==NULL' is not redundant Argyll_V3.3.0/render/timage.c:287:3: note: Null pointer dereference Argyll_V3.3.0/render/timage.c:298:3: warning:inconclusive: Either the condition '(r=new_render2d(w,h,NULL,res,res,rgb_2d,0,depth,0,NULL,NULL,0.0))==NULL' is redundant or there is possible null pointer dereference: r. [nullPointerRedundantCheck] Argyll_V3.3.0/render/timage.c:189:91: note: Assuming that condition '(r=new_render2d(w,h,NULL,res,res,rgb_2d,0,depth,0,NULL,NULL,0.0))==NULL' is not redundant Argyll_V3.3.0/render/timage.c:298:3: note: Null pointer dereference Argyll_V3.3.0/render/timage.c:621:3: warning: Either the condition '(r=new_render2d(w,h,NULL,res,res,rgb_2d,0,depth,0,NULL,NULL,0.0))==NULL' is redundant or there is possible null pointer dereference: r. [nullPointerRedundantCheck] Argyll_V3.3.0/render/timage.c:613:91: note: Assuming that condition '(r=new_render2d(w,h,NULL,res,res,rgb_2d,0,depth,0,NULL,NULL,0.0))==NULL' is not redundant Argyll_V3.3.0/render/timage.c:621:3: note: Null pointer dereference Argyll_V3.3.0/render/timage.c:691:3: warning: Either the condition '(r=new_render2d(w,h,NULL,res,res,lab_2d,0,depth,0,NULL,NULL,0.0))==NULL' is redundant or there is possible null pointer dereference: r. [nullPointerRedundantCheck] Argyll_V3.3.0/render/timage.c:683:91: note: Assuming that condition '(r=new_render2d(w,h,NULL,res,res,lab_2d,0,depth,0,NULL,NULL,0.0))==NULL' is not redundant Argyll_V3.3.0/render/timage.c:691:3: note: Null pointer dereference Argyll_V3.3.0/render/timage.c:746:6: warning:inconclusive: Either the condition '(r=new_render2d(w,h,NULL,res,res,rgb_2d,0,depth,0,NULL,NULL,0.0))==NULL' is redundant or there is possible null pointer dereference: r. [nullPointerRedundantCheck] Argyll_V3.3.0/render/timage.c:189:91: note: Assuming that condition '(r=new_render2d(w,h,NULL,res,res,rgb_2d,0,depth,0,NULL,NULL,0.0))==NULL' is not redundant Argyll_V3.3.0/render/timage.c:746:6: note: Null pointer dereference Argyll_V3.3.0/render/timage.c:96:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/render/timage.c:598:10: style: Variable 'sc' can be declared as const array [constVariable] Argyll_V3.3.0/rspl/scat2.c:151:2: warning:inconclusive: Either the condition 'p==NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] Argyll_V3.3.0/rspl/scat2.c:144:8: note: Assuming that condition 'p==NULL' is not redundant Argyll_V3.3.0/rspl/scat2.c:151:2: note: Null pointer dereference Argyll_V3.3.0/rspl/scat2.c:51:54: style: Parameter 'in' can be declared as pointer to const. However it seems that 'set_from_mlbs' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/rspl/scat2.c:148:36: note: You might need to cast the function pointer here Argyll_V3.3.0/rspl/scat2.c:51:54: note: Parameter 'in' can be declared as pointer to const Argyll_V3.3.0/rspl/scat2.c:83:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/rspl/scat2.c:85:6: style: Unused variable: nigc [unusedVariable] Argyll_V3.3.0/render/timage.c:67:11: style: Variable 'verb' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/render/timage.c:113:10: style: Variable 'verb' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/sm1.c:57:9: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/rspl/sm2.c:79:9: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/rspl/sm3.c:79:9: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/rspl/smtmpp.c:86:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_INVERTED [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/smtmpp.c:109:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_INVERTED [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/smtmpp.c:151:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_INVERTED [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/smtmpp.c:528:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/smtmpp.c:657:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/smtmpp.c:670:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/smtmpp.c:715:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error_program [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/smtmpp.c:1149:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gc [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/smtnd.c:108:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPP_MXINKS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/smtnd.c:554:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/smtnd.c:690:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/smtnd.c:708:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/smtnd.c:750:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error_program [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/smtnd.c:1166:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gc [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/smtmpp.c:980:3: warning: Either the condition '(so=new_sobol(di))==NULL' is redundant or there is possible null pointer dereference: so. [nullPointerRedundantCheck] Argyll_V3.3.0/rspl/smtmpp.c:968:27: note: Assuming that condition '(so=new_sobol(di))==NULL' is not redundant Argyll_V3.3.0/rspl/smtmpp.c:980:3: note: Null pointer dereference Argyll_V3.3.0/rspl/smtmpp.c:989:17: warning: If memory allocation fails, then there is a possible null pointer dereference: tps [nullPointerOutOfMemory] Argyll_V3.3.0/rspl/smtmpp.c:978:21: note: Assuming allocation function fails Argyll_V3.3.0/rspl/smtmpp.c:978:9: note: Assignment 'tps=(struct co*)malloc(ntps*sizeof(struct co))', assigned value is 0 Argyll_V3.3.0/rspl/smtmpp.c:989:17: note: Null pointer dereference Argyll_V3.3.0/rspl/smtmpp.c:990:26: warning: If memory allocation fails, then there is a possible null pointer dereference: tps [nullPointerOutOfMemory] Argyll_V3.3.0/rspl/smtmpp.c:978:21: note: Assuming allocation function fails Argyll_V3.3.0/rspl/smtmpp.c:978:9: note: Assignment 'tps=(struct co*)malloc(ntps*sizeof(struct co))', assigned value is 0 Argyll_V3.3.0/rspl/smtmpp.c:990:26: note: Null pointer dereference Argyll_V3.3.0/rspl/smtmpp.c:996:6: warning: If memory allocation fails, then there is a possible null pointer dereference: tps [nullPointerOutOfMemory] Argyll_V3.3.0/rspl/smtmpp.c:978:21: note: Assuming allocation function fails Argyll_V3.3.0/rspl/smtmpp.c:978:9: note: Assignment 'tps=(struct co*)malloc(ntps*sizeof(struct co))', assigned value is 0 Argyll_V3.3.0/rspl/smtmpp.c:996:6: note: Null pointer dereference Argyll_V3.3.0/rspl/smtmpp.c:998:6: warning: If memory allocation fails, then there is a possible null pointer dereference: tps [nullPointerOutOfMemory] Argyll_V3.3.0/rspl/smtmpp.c:978:21: note: Assuming allocation function fails Argyll_V3.3.0/rspl/smtmpp.c:978:9: note: Assignment 'tps=(struct co*)malloc(ntps*sizeof(struct co))', assigned value is 0 Argyll_V3.3.0/rspl/smtmpp.c:998:6: note: Null pointer dereference Argyll_V3.3.0/rspl/smtmpp.c:79:9: style: Parameter 'in' can be declared as pointer to const. However it seems that 'refconv_1d' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/rspl/smtmpp.c:164:15: note: You might need to cast the function pointer here Argyll_V3.3.0/rspl/smtmpp.c:79:9: note: Parameter 'in' can be declared as pointer to const Argyll_V3.3.0/rspl/smtmpp.c:102:9: style: Parameter 'in' can be declared as pointer to const. However it seems that 'refconv_2d' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/rspl/smtmpp.c:171:15: note: You might need to cast the function pointer here Argyll_V3.3.0/rspl/smtmpp.c:102:9: note: Parameter 'in' can be declared as pointer to const Argyll_V3.3.0/rspl/smtmpp.c:215:35: style: Parameter 'rmse' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/rspl/smtmpp.c:215:49: style: Parameter 'smv' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/rspl/smtmpp.c:571:6: style: Variable 'reses' can be declared as const array [constVariable] Argyll_V3.3.0/rspl/smtmpp.c:579:9: style: Variable 'smset' can be declared as const array [constVariable] Argyll_V3.3.0/rspl/smtmpp.c:623:9: style: Variable 'noiseset' can be declared as const array [constVariable] Argyll_V3.3.0/rspl/smtmpp.c:721:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/rspl/smtmpp.c:290:11: warning: Uninitialized variable: bi [uninitvar] Argyll_V3.3.0/rspl/smtmpp.c:282:15: note: Assuming condition is false Argyll_V3.3.0/rspl/smtmpp.c:290:11: note: Uninitialized variable: bi Argyll_V3.3.0/rspl/smtmpp.c:242:9: style: Variable 'low[0]' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/smtmpp.c:243:10: style: Variable 'high[0]' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/smtmpp.c:244:10: style: Variable 'dlow[0]' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/smtmpp.c:245:11: style: Variable 'dhigh[0]' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/smtmpp.c:300:10: style: Variable 'brmse' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/smtmpp.c:334:10: style: Variable 'res' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/smtmpp.c:335:11: style: Variable 'ntps' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/smtmpp.c:556:11: style: Variable 'ntps' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/smtmpp.c:557:15: style: Variable 'noise' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/smtmpp.c:558:16: style: Variable 'smooth' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/smtmpp.c:563:16: style: Variable 'trials' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/smtmpp.c:952:12: style: Unused variable: it [unusedVariable] Argyll_V3.3.0/rspl/smtnd.c:1035:7: style: The if condition is the same as the previous if condition [duplicateCondition] Argyll_V3.3.0/rspl/smtnd.c:1032:7: note: First condition Argyll_V3.3.0/rspl/smtnd.c:1035:7: note: Second condition Argyll_V3.3.0/rspl/smtnd.c:197:35: style: Parameter 'rmse' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/rspl/smtnd.c:197:49: style: Parameter 'smv' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/rspl/smtnd.c:332:6: style: Variable 'trials' can be declared as const array [constVariable] Argyll_V3.3.0/rspl/smtnd.c:586:6: style: Variable 'trials' can be declared as const array [constVariable] Argyll_V3.3.0/rspl/smtnd.c:595:6: style: Variable 'reses' can be declared as const array [constVariable] Argyll_V3.3.0/rspl/smtnd.c:647:9: style: Variable 'noiseset' can be declared as const array [constVariable] Argyll_V3.3.0/rspl/smtnd.c:772:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/rspl/smtnd.c:272:11: warning: Uninitialized variable: bi [uninitvar] Argyll_V3.3.0/rspl/smtnd.c:264:15: note: Assuming condition is false Argyll_V3.3.0/rspl/smtnd.c:272:11: note: Uninitialized variable: bi Argyll_V3.3.0/rspl/smtnd.c:224:9: style: Variable 'low[0]' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/smtnd.c:225:10: style: Variable 'high[0]' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/smtnd.c:226:10: style: Variable 'dlow[0]' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/smtnd.c:227:11: style: Variable 'dhigh[0]' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/smtnd.c:282:10: style: Variable 'brmse' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/smtnd.c:324:10: style: Variable 'res' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/smtnd.c:325:11: style: Variable 'ntps' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/smtnd.c:578:10: style: Variable 'res' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/smtnd.c:579:11: style: Variable 'ntps' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/smtnd.c:580:15: style: Variable 'noise' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/smtnd.c:581:16: style: Variable 'smooth' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/rspl/stest.c:596:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error_program [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/stest.c:633:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/stest.c:646:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/rspl/spline.c:100:20: warning: Either the condition '(tang_alloc=(float*)malloc(sizeof(float)*nig*(((1<6' is always true [knownConditionTrueFalse] Argyll_V3.3.0/spectro/base64.c:50:25: note: Assignment 'ib=8', assigned value is 8 Argyll_V3.3.0/spectro/base64.c:51:28: note: Compound assignment '+=', assigned value is 16 Argyll_V3.3.0/spectro/base64.c:52:28: note: Compound assignment '+=', assigned value is 24 Argyll_V3.3.0/spectro/base64.c:56:10: note: Condition 'ib>6' is always true Argyll_V3.3.0/spectro/base64.c:58:11: style: Condition 'ib>12' is always true [knownConditionTrueFalse] Argyll_V3.3.0/spectro/base64.c:50:25: note: Assignment 'ib=8', assigned value is 8 Argyll_V3.3.0/spectro/base64.c:51:28: note: Compound assignment '+=', assigned value is 16 Argyll_V3.3.0/spectro/base64.c:52:28: note: Compound assignment '+=', assigned value is 24 Argyll_V3.3.0/spectro/base64.c:58:11: note: Condition 'ib>12' is always true Argyll_V3.3.0/spectro/base64.c:60:12: style: Condition 'ib>18' is always true [knownConditionTrueFalse] Argyll_V3.3.0/spectro/base64.c:50:25: note: Assignment 'ib=8', assigned value is 8 Argyll_V3.3.0/spectro/base64.c:51:28: note: Compound assignment '+=', assigned value is 16 Argyll_V3.3.0/spectro/base64.c:52:28: note: Compound assignment '+=', assigned value is 24 Argyll_V3.3.0/spectro/base64.c:60:12: note: Condition 'ib>18' is always true Argyll_V3.3.0/spectro/base64.c:101:61: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/base64.c:107:7: style: Unused variable: v [unusedVariable] Argyll_V3.3.0/spectro/ccwin.c:144:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/ccwin.c:193:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/ccwin.c:238:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/ccwin.c:394:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/ccwin.c:428:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/ccwin.c:435:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/ccwin.c:444:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/ccwin.c:451:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/ccwin.c:458:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/ccwin.c:477:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/ccwin.c:709:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/ccwin.c:721:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/ccwin.c:770:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/average.c:49:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/average.c:94:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_MXINKS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/ccwin.c:770:3: warning: Either the condition '(p=(struct dispwin*)calloc(sizeof(struct dispwin),1))==NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] Argyll_V3.3.0/spectro/ccwin.c:769:50: note: Assuming that condition '(p=(struct dispwin*)calloc(sizeof(struct dispwin),1))==NULL' is not redundant Argyll_V3.3.0/spectro/ccwin.c:770:3: note: Null pointer dereference Argyll_V3.3.0/spectro/ccwin.c:235:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/ccwin.c:427:42: style: Parameter 'p' can be declared as pointer to const. However it seems that 'ccwin_get_ramdac' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/ccwin.c:784:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/ccwin.c:427:42: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/ccwin.c:434:38: style: Parameter 'p' can be declared as pointer to const. However it seems that 'ccwin_set_ramdac' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/ccwin.c:785:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/ccwin.c:434:38: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/ccwin.c:443:36: style: Parameter 'p' can be declared as pointer to const. However it seems that 'ccwin_install_profile' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/ccwin.c:786:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/ccwin.c:443:36: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/ccwin.c:450:38: style: Parameter 'p' can be declared as pointer to const. However it seems that 'ccwin_uninstall_profile' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/ccwin.c:787:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/ccwin.c:450:38: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/ccwin.c:457:37: style: Parameter 'p' can be declared as pointer to const. However it seems that 'ccwin_get_profile' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/ccwin.c:788:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/ccwin.c:457:37: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/ccwin.c:517:11: style: Variable 'rct' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/ccwin.c:348:13: style: Variable 'portno' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/ccwin.c:348:6: style: Variable 'portno' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/ccwin.c:474:9: style: Unused variable: kr [unusedVariable] Argyll_V3.3.0/spectro/ccwin.c:474:13: style: Unused variable: kf [unusedVariable] Argyll_V3.3.0/spectro/ccwin.c:763:8: style: Unused variable: cp [unusedVariable] Argyll_V3.3.0/spectro/average.c:168:5: error: Common realloc mistake: 'inps' nulled but not freed upon failure [memleakOnRealloc] Argyll_V3.3.0/spectro/average.c:173:12: warning: If memory allocation fails, then there is a possible null pointer dereference: inps [nullPointerOutOfMemory] Argyll_V3.3.0/spectro/average.c:166:29: note: Assuming allocation function fails Argyll_V3.3.0/spectro/average.c:166:12: note: Assignment 'inps=(struct inpinfo*)malloc(sizeof(struct inpinfo))', assigned value is 0 Argyll_V3.3.0/spectro/average.c:173:12: note: Null pointer dereference Argyll_V3.3.0/spectro/average.c:174:4: warning: If memory allocation fails, then there is a possible null pointer dereference: inps [nullPointerOutOfMemory] Argyll_V3.3.0/spectro/average.c:166:29: note: Assuming allocation function fails Argyll_V3.3.0/spectro/average.c:166:12: note: Assignment 'inps=(struct inpinfo*)malloc(sizeof(struct inpinfo))', assigned value is 0 Argyll_V3.3.0/spectro/average.c:174:4: note: Null pointer dereference Argyll_V3.3.0/spectro/average.c:263:22: warning: Either the condition '(buf=strdup(inps[0].c->t[0].kdata[ti]))==NULL' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] Argyll_V3.3.0/spectro/average.c:259:49: note: Assuming that condition '(buf=strdup(inps[0].c->t[0].kdata[ti]))==NULL' is not redundant Argyll_V3.3.0/spectro/average.c:263:22: note: Null pointer dereference Argyll_V3.3.0/spectro/average.c:265:8: warning: Either the condition '(outc=strchr(buf,'_'))==NULL' is redundant or there is possible null pointer dereference: outc++. [nullPointerRedundantCheck] Argyll_V3.3.0/spectro/average.c:263:33: note: Assuming that condition '(outc=strchr(buf,'_'))==NULL' is not redundant Argyll_V3.3.0/spectro/average.c:265:8: note: Null pointer dereference Argyll_V3.3.0/spectro/average.c:265:8: warning: Either the condition '(outc=strchr(buf,'_'))==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] Argyll_V3.3.0/spectro/average.c:263:33: note: Assuming that condition '(outc=strchr(buf,'_'))==NULL' is not redundant Argyll_V3.3.0/spectro/average.c:265:8: note: Null pointer addition Argyll_V3.3.0/spectro/average.c:301:7: style: Local variable 'npcs' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/average.c:95:6: note: Shadowed declaration Argyll_V3.3.0/spectro/average.c:301:7: note: Shadow variable Argyll_V3.3.0/spectro/average.c:112:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/average.c:254:9: style: Variable 'bident' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/average.c:645:31: style: Parameter 'vals' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/average.c:48:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/average.c:115:8: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/average.c:120:10: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/average.c:91:7: style: Unused variable: flags [unusedVariable] Argyll_V3.3.0/spectro/average.c:95:6: style: Variable 'npcs' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/scanin/scanrd.c:3362:16: warning: Either the condition 'i==-1' is redundant or the array 'es->e[4]' is accessed at index -1, which is out of bounds. [negativeIndex] Argyll_V3.3.0/scanin/scanrd.c:3372:8: note: Assuming that condition 'i==-1' is not redundant Argyll_V3.3.0/scanin/scanrd.c:3362:16: note: Negative array index Argyll_V3.3.0/scanin/scanrd.c:131:18: style: Condition 'show_groups(s)' is always false [knownConditionTrueFalse] Argyll_V3.3.0/scanin/scanrd.c:131:18: note: Calling function 'show_groups' returns 0 Argyll_V3.3.0/scanin/scanrd.c:131:18: note: Condition 'show_groups(s)' is always false Argyll_V3.3.0/scanin/scanrd.c:260:22: style: Condition 'compute_xcc(s)' is always false [knownConditionTrueFalse] Argyll_V3.3.0/scanin/scanrd.c:260:22: note: Calling function 'compute_xcc' returns 0 Argyll_V3.3.0/scanin/scanrd.c:260:22: note: Condition 'compute_xcc(s)' is always false Argyll_V3.3.0/scanin/scanrd.c:293:21: style: Condition 'improve_match(s)' is always false [knownConditionTrueFalse] Argyll_V3.3.0/scanin/scanrd.c:293:21: note: Calling function 'improve_match' returns 0 Argyll_V3.3.0/scanin/scanrd.c:293:21: note: Condition 'improve_match(s)' is always false Argyll_V3.3.0/scanin/scanrd.c:313:16: style: Condition 'show_lines(s)' is always false [knownConditionTrueFalse] Argyll_V3.3.0/scanin/scanrd.c:313:16: note: Calling function 'show_lines' returns 0 Argyll_V3.3.0/scanin/scanrd.c:313:16: note: Condition 'show_lines(s)' is always false Argyll_V3.3.0/scanin/scanrd.c:1855:21: style: Condition 'coalesce_elist(s,&tl,200)' is always false [knownConditionTrueFalse] Argyll_V3.3.0/scanin/scanrd.c:1855:21: note: Calling function 'coalesce_elist' returns 0 Argyll_V3.3.0/scanin/scanrd.c:1855:21: note: Condition 'coalesce_elist(s,&tl,200)' is always false Argyll_V3.3.0/scanin/scanrd.c:1893:21: style: Condition 'coalesce_elist(s,&tl,200)' is always false [knownConditionTrueFalse] Argyll_V3.3.0/scanin/scanrd.c:1893:21: note: Calling function 'coalesce_elist' returns 0 Argyll_V3.3.0/scanin/scanrd.c:1893:21: note: Condition 'coalesce_elist(s,&tl,200)' is always false Argyll_V3.3.0/scanin/scanrd.c:2628:16: style: Condition 'best_match(s,&s->rxelist,&s->xelist,&xx)' is always false [knownConditionTrueFalse] Argyll_V3.3.0/scanin/scanrd.c:2628:16: note: Calling function 'best_match' returns 0 Argyll_V3.3.0/scanin/scanrd.c:2628:16: note: Condition 'best_match(s,&s->rxelist,&s->xelist,&xx)' is always false Argyll_V3.3.0/scanin/scanrd.c:2631:16: style: Condition 'best_match(s,&s->ryelist,&s->yelist,&yy)' is always false [knownConditionTrueFalse] Argyll_V3.3.0/scanin/scanrd.c:2631:16: note: Calling function 'best_match' returns 0 Argyll_V3.3.0/scanin/scanrd.c:2631:16: note: Condition 'best_match(s,&s->ryelist,&s->yelist,&yy)' is always false Argyll_V3.3.0/scanin/scanrd.c:2634:16: style: Condition 'best_match(s,&s->rxelist,&s->yelist,&xy)' is always false [knownConditionTrueFalse] Argyll_V3.3.0/scanin/scanrd.c:2634:16: note: Calling function 'best_match' returns 0 Argyll_V3.3.0/scanin/scanrd.c:2634:16: note: Condition 'best_match(s,&s->rxelist,&s->yelist,&xy)' is always false Argyll_V3.3.0/scanin/scanrd.c:2637:16: style: Condition 'best_match(s,&s->ryelist,&s->xelist,&yx)' is always false [knownConditionTrueFalse] Argyll_V3.3.0/scanin/scanrd.c:2637:16: note: Calling function 'best_match' returns 0 Argyll_V3.3.0/scanin/scanrd.c:2637:16: note: Condition 'best_match(s,&s->ryelist,&s->xelist,&yx)' is always false Argyll_V3.3.0/scanin/scanrd.c:2640:16: style: Condition 'best_match(s,&s->rxelist,&s->ixelist,&xix)' is always false [knownConditionTrueFalse] Argyll_V3.3.0/scanin/scanrd.c:2640:16: note: Calling function 'best_match' returns 0 Argyll_V3.3.0/scanin/scanrd.c:2640:16: note: Condition 'best_match(s,&s->rxelist,&s->ixelist,&xix)' is always false Argyll_V3.3.0/scanin/scanrd.c:2643:16: style: Condition 'best_match(s,&s->ryelist,&s->iyelist,&yiy)' is always false [knownConditionTrueFalse] Argyll_V3.3.0/scanin/scanrd.c:2643:16: note: Calling function 'best_match' returns 0 Argyll_V3.3.0/scanin/scanrd.c:2643:16: note: Condition 'best_match(s,&s->ryelist,&s->iyelist,&yiy)' is always false Argyll_V3.3.0/scanin/scanrd.c:2646:16: style: Condition 'best_match(s,&s->rxelist,&s->iyelist,&xiy)' is always false [knownConditionTrueFalse] Argyll_V3.3.0/scanin/scanrd.c:2646:16: note: Calling function 'best_match' returns 0 Argyll_V3.3.0/scanin/scanrd.c:2646:16: note: Condition 'best_match(s,&s->rxelist,&s->iyelist,&xiy)' is always false Argyll_V3.3.0/scanin/scanrd.c:2649:16: style: Condition 'best_match(s,&s->ryelist,&s->ixelist,&yix)' is always false [knownConditionTrueFalse] Argyll_V3.3.0/scanin/scanrd.c:2649:16: note: Calling function 'best_match' returns 0 Argyll_V3.3.0/scanin/scanrd.c:2649:16: note: Condition 'best_match(s,&s->ryelist,&s->ixelist,&yix)' is always false Argyll_V3.3.0/scanin/scanrd.c:3187:14: style: Condition 'nxlines<2' is always true [knownConditionTrueFalse] Argyll_V3.3.0/scanin/scanrd.c:3088:16: note: Assignment 'nxlines=0', assigned value is 0 Argyll_V3.3.0/scanin/scanrd.c:3187:14: note: Condition 'nxlines<2' is always true Argyll_V3.3.0/scanin/scanrd.c:4114:12: style: Condition 'pix_r<=line_r' is always true [knownConditionTrueFalse] Argyll_V3.3.0/scanin/scanrd.c:4061:16: note: Assignment 'pix_r=0.5', assigned value is 0.5 Argyll_V3.3.0/scanin/scanrd.c:4101:63: note: Assuming condition is false Argyll_V3.3.0/scanin/scanrd.c:4114:12: note: Condition 'pix_r<=line_r' is always true Argyll_V3.3.0/scanin/scanrd.c:4386:16: style: Condition 'show_char(s,is[i],x,y,sc,col)' is always false [knownConditionTrueFalse] Argyll_V3.3.0/scanin/scanrd.c:4386:16: note: Calling function 'show_char' returns 0 Argyll_V3.3.0/scanin/scanrd.c:4386:16: note: Condition 'show_char(s,is[i],x,y,sc,col)' is always false Argyll_V3.3.0/scanin/scanrd.c:100:8: style:inconclusive: Function 'do_scanrd' argument 3 names different: declaration 'gamma' definition 'gammav'. [funcArgNamesDifferent] Argyll_V3.3.0/scanin/scanrd.h:108:9: note: Function 'do_scanrd' argument 3 names different: declaration 'gamma' definition 'gammav'. Argyll_V3.3.0/scanin/scanrd.c:100:8: note: Function 'do_scanrd' argument 3 names different: declaration 'gamma' definition 'gammav'. Argyll_V3.3.0/scanin/scanrd.c:478:9: style:inconclusive: Function 'free_scanrd' argument 1 names different: declaration 's' definition 'ps'. [funcArgNamesDifferent] Argyll_V3.3.0/scanin/scanrd.c:58:33: note: Function 'free_scanrd' argument 1 names different: declaration 's' definition 'ps'. Argyll_V3.3.0/scanin/scanrd.c:478:9: note: Function 'free_scanrd' argument 1 names different: declaration 's' definition 'ps'. Argyll_V3.3.0/scanin/scanrd.c:531:22: style:inconclusive: Function 'scanrd_error' argument 1 names different: declaration 's' definition 'ps'. [funcArgNamesDifferent] Argyll_V3.3.0/scanin/scanrd.c:62:42: note: Function 'scanrd_error' argument 1 names different: declaration 's' definition 'ps'. Argyll_V3.3.0/scanin/scanrd.c:531:22: note: Function 'scanrd_error' argument 1 names different: declaration 's' definition 'ps'. Argyll_V3.3.0/scanin/scanrd.c:3008:9: style:inconclusive: Function 'compute_man_ptrans' argument 2 names different: declaration 'sfids' definition 'sfid'. [funcArgNamesDifferent] Argyll_V3.3.0/scanin/scanrd.c:80:51: note: Function 'compute_man_ptrans' argument 2 names different: declaration 'sfids' definition 'sfid'. Argyll_V3.3.0/scanin/scanrd.c:3008:9: note: Function 'compute_man_ptrans' argument 2 names different: declaration 'sfids' definition 'sfid'. Argyll_V3.3.0/scanin/scanrd.c:3687:9: style:inconclusive: Function 'scanrd_reset' argument 1 names different: declaration 's' definition 'ps'. [funcArgNamesDifferent] Argyll_V3.3.0/scanin/scanrd.c:59:33: note: Function 'scanrd_reset' argument 1 names different: declaration 's' definition 'ps'. Argyll_V3.3.0/scanin/scanrd.c:3687:9: note: Function 'scanrd_reset' argument 1 names different: declaration 's' definition 'ps'. Argyll_V3.3.0/scanin/scanrd.c:4171:5: style:inconclusive: Function 'show_line' argument 2 names different: declaration 'x1' definition 'X1'. [funcArgNamesDifferent] Argyll_V3.3.0/scanin/scanrd.c:1319:38: note: Function 'show_line' argument 2 names different: declaration 'x1' definition 'X1'. Argyll_V3.3.0/scanin/scanrd.c:4171:5: note: Function 'show_line' argument 2 names different: declaration 'x1' definition 'X1'. Argyll_V3.3.0/scanin/scanrd.c:4171:13: style:inconclusive: Function 'show_line' argument 3 names different: declaration 'y1' definition 'Y1'. [funcArgNamesDifferent] Argyll_V3.3.0/scanin/scanrd.c:1319:46: note: Function 'show_line' argument 3 names different: declaration 'y1' definition 'Y1'. Argyll_V3.3.0/scanin/scanrd.c:4171:13: note: Function 'show_line' argument 3 names different: declaration 'y1' definition 'Y1'. Argyll_V3.3.0/scanin/scanrd.c:4171:21: style:inconclusive: Function 'show_line' argument 4 names different: declaration 'x2' definition 'X2'. [funcArgNamesDifferent] Argyll_V3.3.0/scanin/scanrd.c:1319:54: note: Function 'show_line' argument 4 names different: declaration 'x2' definition 'X2'. Argyll_V3.3.0/scanin/scanrd.c:4171:21: note: Function 'show_line' argument 4 names different: declaration 'x2' definition 'X2'. Argyll_V3.3.0/scanin/scanrd.c:4171:29: style:inconclusive: Function 'show_line' argument 5 names different: declaration 'y2' definition 'Y2'. [funcArgNamesDifferent] Argyll_V3.3.0/scanin/scanrd.c:1319:62: note: Function 'show_line' argument 5 names different: declaration 'y2' definition 'Y2'. Argyll_V3.3.0/scanin/scanrd.c:4171:29: note: Function 'show_line' argument 5 names different: declaration 'y2' definition 'Y2'. Argyll_V3.3.0/scanin/scanrd.c:229:9: style: Local variable 'flags' shadows outer argument [shadowArgument] Argyll_V3.3.0/scanin/scanrd.c:97:5: note: Shadowed declaration Argyll_V3.3.0/scanin/scanrd.c:229:9: note: Shadow variable Argyll_V3.3.0/scanin/scanrd.c:1224:10: style: Local variable 's' shadows outer argument [shadowArgument] Argyll_V3.3.0/scanin/scanrd.c:1137:10: note: Shadowed declaration Argyll_V3.3.0/scanin/scanrd.c:1224:10: note: Shadow variable Argyll_V3.3.0/scanin/scanrd.c:1538:11: style: Local variable 'tp' shadows outer variable [shadowVariable] Argyll_V3.3.0/scanin/scanrd.c:1488:10: note: Shadowed declaration Argyll_V3.3.0/scanin/scanrd.c:1538:11: note: Shadow variable Argyll_V3.3.0/scanin/scanrd.c:2552:12: style: Local variable 'rv' shadows outer argument [shadowArgument] Argyll_V3.3.0/scanin/scanrd.c:2514:9: note: Shadowed declaration Argyll_V3.3.0/scanin/scanrd.c:2552:12: note: Shadow variable Argyll_V3.3.0/scanin/scanrd.c:2806:7: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/scanin/scanrd.c:2624:6: note: Shadowed declaration Argyll_V3.3.0/scanin/scanrd.c:2806:7: note: Shadow variable Argyll_V3.3.0/scanin/scanrd.c:500:2: style: Variable '_end' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/scanin/scanrd.c:1007:9: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/scanin/scanrd.c:1091:77: style: Parameter 'ppc' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/scanin/scanrd.c:1112:80: style: Parameter 'ppc' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/scanin/scanrd.c:1298:2: style: Variable '_end' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/scanin/scanrd.c:1335:2: style: Variable '_end' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/scanin/scanrd.c:1407:2: style: Variable '_end' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/scanin/scanrd.c:1443:2: style: Variable '_end' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/scanin/scanrd.c:1460:2: style: Variable '_end' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/scanin/scanrd.c:1505:2: style: Variable '_end' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/scanin/scanrd.c:1518:2: style: Variable '_end' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/scanin/scanrd.c:1550:3: style: Variable '_end' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/scanin/scanrd.c:1609:2: style: Variable '_end' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/scanin/scanrd.c:1624:2: style: Variable '_end' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/scanin/scanrd.c:1638:2: style: Variable '_end' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/scanin/scanrd.c:1659:2: style: Variable '_end' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/scanin/scanrd.c:1753:2: style: Variable '_end' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/scanin/scanrd.c:2035:8: style: Variable 'em' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/scanin/scanrd.c:2344:8: style: Parameter 'el' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/scanin/scanrd.c:2502:27: style: Parameter 'p' can be declared as const array. However it seems that 'efunc' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/scanin/scanrd.c:2570:41: note: You might need to cast the function pointer here Argyll_V3.3.0/scanin/scanrd.c:2502:27: note: Parameter 'p' can be declared as const array Argyll_V3.3.0/scanin/scanrd.c:2825:72: style: Parameter 'ptrans' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/scanin/scanrd.c:2844:44: style: Parameter 'ptrans' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/scanin/scanrd.c:3114:2: style: Variable '_end' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/scanin/scanrd.c:3212:34: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/scanin/scanrd.c:3499:3: style: Variable '_end' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/scanin/scanrd.c:3604:2: style: Variable '_end' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/scanin/scanrd.c:3843:23: style: Variable 'cc' can be declared as const array [constVariable] Argyll_V3.3.0/scanin/scanrd.c:3873:2: style: Variable '_end' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/scanin/scanrd.c:4361:7: style: Parameter 'is' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/scanin/scanrd.c:4493:19: style: Variable 'src2' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/scanin/scanrd.c:4520:42: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/scanin/scanrd.c:4549:43: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/scanin/scanrd.c:4556:10: style: Variable 'clrnts' can be declared as const array [constVariable] Argyll_V3.3.0/scanin/scanrd.c:4587:10: style: Variable 'clrnts' can be declared as const array [constVariable] Argyll_V3.3.0/scanin/scanrd.c:4076:11: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] Argyll_V3.3.0/scanin/scanrd.c:1489:6: style: Unused variable: nl [unusedVariable] Argyll_V3.3.0/scanin/scanrd.c:1859:6: style: Variable 'pp' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/scanin/scanrd.c:1897:6: style: Variable 'pp' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/scanin/scanrd.c:3085:8: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/scanin/scanrd.c:3362:9: style: Variable 'i0' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/chartread.c:150:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmD50 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/chartread.c:275:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/chartread.c:387:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fl_end [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/chartread.c:681:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icxOT_default [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/chartread.c:2456:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/chartread.c:2553:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/colorhug.c:740:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inst_mrt_emission [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/colorhug.c:521:2: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] Argyll_V3.3.0/spectro/colorhug.c:1226:53: style:inconclusive: Function 'new_colorhug' argument 2 names different: declaration 'itype' definition 'dtype'. [funcArgNamesDifferent] Argyll_V3.3.0/spectro/colorhug.h:100:53: note: Function 'new_colorhug' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/colorhug.c:1226:53: note: Function 'new_colorhug' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/colorhug.c:91:29: style: Parameter 'pp' can be declared as pointer to const. However it seems that 'colorhug_interp_error' is a callback function, if 'pp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/colorhug.c:1249:25: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/colorhug.c:91:29: note: Parameter 'pp' can be declared as pointer to const Argyll_V3.3.0/spectro/colorhug.c:293:38: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/colorhug.c:303:48: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/colorhug.c:313:40: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/colorhug.c:321:50: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/colorhug.c:674:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/colorhug.c:796:28: style: Parameter 'pp' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/colorhug.c:864:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/colorhug.c:889:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/colorhug.c:1150:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/colorhug.c:160:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/colorhug.c:341:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/colorhug.c:590:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/colorhug.c:864:14: style: Variable 'p' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/colorhug.c:864:12: style: Variable 'p' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/colorhug.c:1001:15: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/colorhug.c:1169:15: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/colorhug.c:1169:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/colorhug.c:1228:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/conv.c:624:28: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/conv.c:624:37: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/conv.c:643:52: style: Parameter 'infile' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/conv.c:1494:8: style: Variable 'dd' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/conv.c:1528:8: style: Variable 'dd' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/conv.c:1494:11: style: Variable 'dd' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/conv.c:1494:8: style: Variable 'dd' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/conv.c:1528:11: style: Variable 'dd' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/conv.c:1528:8: style: Variable 'dd' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dispcal.c:976:2: error: There is an unknown macro here somewhere. Configuration is required. If HEAPSORT is a macro then please configure it. [unknownMacro] Argyll_V3.3.0/spectro/chartread.c:2571:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Argyll_V3.3.0/spectro/chartread.c:2572:14: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] Argyll_V3.3.0/spectro/chartread.c:1682:14: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Argyll_V3.3.0/spectro/chartread.c:1683:9: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/spectro/chartread.c:1682:14: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/spectro/chartread.c:2246:13: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Argyll_V3.3.0/spectro/chartread.c:2247:8: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/spectro/chartread.c:2246:13: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/spectro/chartread.c:2885:12: style: The comparison 'itype == devUnknown' is always true because 'itype' and 'devUnknown' represent the same value. [knownConditionTrueFalse] Argyll_V3.3.0/spectro/chartread.c:2530:19: note: 'itype' is assigned value 'devUnknown' here. Argyll_V3.3.0/spectro/chartread.c:2885:12: note: The comparison 'itype == devUnknown' is always true because 'itype' and 'devUnknown' represent the same value. Argyll_V3.3.0/spectro/chartread.c:2027:9: style: Local variable 'ch' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/chartread.c:453:6: note: Shadowed declaration Argyll_V3.3.0/spectro/chartread.c:2027:9: note: Shadow variable Argyll_V3.3.0/spectro/chartread.c:2324:9: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/chartread.c:446:9: note: Shadowed declaration Argyll_V3.3.0/spectro/chartread.c:2324:9: note: Shadow variable Argyll_V3.3.0/spectro/chartread.c:2351:9: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/chartread.c:446:9: note: Shadowed declaration Argyll_V3.3.0/spectro/chartread.c:2351:9: note: Shadow variable Argyll_V3.3.0/spectro/chartread.c:3044:7: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/chartread.c:2522:6: note: Shadowed declaration Argyll_V3.3.0/spectro/chartread.c:3044:7: note: Shadow variable Argyll_V3.3.0/spectro/chartread.c:3044:10: style: Local variable 'j' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/chartread.c:2522:9: note: Shadowed declaration Argyll_V3.3.0/spectro/chartread.c:3044:10: note: Shadow variable Argyll_V3.3.0/spectro/chartread.c:3295:8: style: Local variable 'k' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/chartread.c:3230:7: note: Shadowed declaration Argyll_V3.3.0/spectro/chartread.c:3295:8: note: Shadow variable Argyll_V3.3.0/spectro/chartread.c:140:46: style: Parameter 'pat' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/chartread.c:140:59: style: Parameter 'ref' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/chartread.c:197:26: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/chartread.c:2571:13: style: Variable 'tsp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/chartread.c:2847:9: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/chartread.c:1792:15: style: Variable 'ix1' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/chartread.c:978:7: style: Unused variable: chid [unusedVariable] Argyll_V3.3.0/spectro/chartread.c:1069:8: style: Variable 'isti' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/chartread.c:2498:7: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/chartread.c:2640:9: style: Unused variable: ix [unusedVariable] Argyll_V3.3.0/spectro/chartread.c:3230:7: style: Unused variable: k [unusedVariable] Argyll_V3.3.0/spectro/ccxxmake.c:115:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/ccxxmake.c:230:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icxOT_CIE_1931_2 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dispsup.c:597:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inst_mrt_none [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dispsup.c:969:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spec_n [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dispsup.c:1212:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spec_n [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dispsup.c:1308:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inst_mrt_none [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dispsup.c:1541:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cr_char [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dispsup.c:1707:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cr_char [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dispsup.c:1837:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fl_end [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dispsup.c:1959:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cr_char [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dispsup.c:2262:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icxOT_default [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dispsup.c:2592:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigRgbData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/ccxxmake.c:303:17: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:316:33: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:342:20: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:354:20: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:396:34: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:407:20: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:419:33: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:421:46: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:436:33: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:451:33: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:457:33: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:463:18: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:469:18: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:492:33: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:517:19: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:522:33: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:525:18: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:530:33: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:536:33: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:542:33: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:550:18: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:562:33: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:577:33: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:583:18: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:591:19: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:594:19: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:598:18: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:605:52: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:611:19: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:616:17: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:624:15: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/spectro/ccxxmake.c:721:10: style: Local variable 'disp' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/ccxxmake.c:219:12: note: Shadowed declaration Argyll_V3.3.0/spectro/ccxxmake.c:721:10: note: Shadow variable Argyll_V3.3.0/spectro/ccxxmake.c:891:9: style: Local variable 'ii' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/ccxxmake.c:788:8: note: Shadowed declaration Argyll_V3.3.0/spectro/ccxxmake.c:891:9: note: Shadow variable Argyll_V3.3.0/spectro/ccxxmake.c:1001:10: style: Local variable 'disp' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/ccxxmake.c:219:12: note: Shadowed declaration Argyll_V3.3.0/spectro/ccxxmake.c:1001:10: note: Shadow variable Argyll_V3.3.0/spectro/ccxxmake.c:1091:8: style: Local variable 'j' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/ccxxmake.c:217:8: note: Shadowed declaration Argyll_V3.3.0/spectro/ccxxmake.c:1091:8: note: Shadow variable Argyll_V3.3.0/spectro/ccxxmake.c:1191:11: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/ccxxmake.c:217:6: note: Shadowed declaration Argyll_V3.3.0/spectro/ccxxmake.c:1191:11: note: Shadow variable Argyll_V3.3.0/spectro/ccxxmake.c:1257:11: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/ccxxmake.c:217:6: note: Shadowed declaration Argyll_V3.3.0/spectro/ccxxmake.c:1257:11: note: Shadow variable Argyll_V3.3.0/spectro/ccxxmake.c:1415:13: style: Local variable 'disp' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/ccxxmake.c:219:12: note: Shadowed declaration Argyll_V3.3.0/spectro/ccxxmake.c:1415:13: note: Shadow variable Argyll_V3.3.0/spectro/ccxxmake.c:1491:13: style: Local variable 'disp' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/ccxxmake.c:219:12: note: Shadowed declaration Argyll_V3.3.0/spectro/ccxxmake.c:1491:13: note: Shadow variable Argyll_V3.3.0/spectro/ccxxmake.c:196:18: style: Variable 'list' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/ccxxmake.c:262:8: style: Variable 'reffile' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/ccxxmake.c:721:10: style: Variable 'disp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/ccxxmake.c:722:10: style: Variable 'tt' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/ccxxmake.c:772:9: style: Variable 'oname' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/ccxxmake.c:991:10: style: Variable 'tt' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/ccxxmake.c:1001:10: style: Variable 'disp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/ccxxmake.c:1415:13: style: Variable 'disp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/ccxxmake.c:1416:13: style: Variable 'tt' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/ccxxmake.c:1465:12: style: Variable 'oname' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/ccxxmake.c:1481:13: style: Variable 'tt' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/ccxxmake.c:1491:13: style: Variable 'disp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/ccxxmake.c:173:6: style: Variable 'cap' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/ccxxmake.c:837:13: style: Variable 'reffile' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/ccxxmake.c:845:14: style: Variable 'reffile' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/ccxxmake.c:643:7: style: Unused variable: sidx [unusedVariable] Argyll_V3.3.0/spectro/ccxxmake.c:785:8: style: Unused variable: sidx [unusedVariable] Argyll_V3.3.0/spectro/disptechs.c:654:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmD65 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/disptechs.c:707:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/disptechs.c:488:8: style: Parameter 'asels' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/disptechs.c:633:44: style: Parameter 'rgb' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/disptechs.c:686:66: style: Parameter 'rgbl' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/disptechs.c:688:16: style: Variable 'mat' can be declared as const array [constVariable] Argyll_V3.3.0/spectro/disptechs.c:645:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/disptechs.c:715:11: style: Variable 'tin[i]' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/disptechs.c:718:11: style: Variable 'tin[i]' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/disptechs.c:752:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/disptechs.c:831:10: style: Unused variable: el [unusedVariable] Argyll_V3.3.0/spectro/disptechs.c:831:18: style: Unused variable: n [unusedVariable] Argyll_V3.3.0/spectro/disptechs.c:831:21: style: Unused variable: t [unusedVariable] Argyll_V3.3.0/spectro/dispsup.c:2380:27: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] Argyll_V3.3.0/spectro/dispsup.c:2378:26: note: outer condition: (cap2&inst2_ccss)!=0 Argyll_V3.3.0/spectro/dispsup.c:2380:27: note: opposite inner condition: (cap2&inst2_ccss)==0 Argyll_V3.3.0/spectro/dispsup.c:739:13: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Argyll_V3.3.0/spectro/dispsup.c:740:8: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/spectro/dispsup.c:739:13: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/spectro/dispsup.c:1402:12: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Argyll_V3.3.0/spectro/dispsup.c:1403:7: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/spectro/dispsup.c:1402:12: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/spectro/dispsup.c:231:11: style:inconclusive: Function 'disprd_calibration' argument 10 names different: declaration 'screen' definition 'disp'. [funcArgNamesDifferent] Argyll_V3.3.0/spectro/dispsup.h:61:11: note: Function 'disprd_calibration' argument 10 names different: declaration 'screen' definition 'disp'. Argyll_V3.3.0/spectro/dispsup.c:231:11: note: Function 'disprd_calibration' argument 10 names different: declaration 'screen' definition 'disp'. Argyll_V3.3.0/spectro/dispsup.c:2459:11: style:inconclusive: Function 'new_disprd' argument 19 names different: declaration 'screen' definition 'disp'. [funcArgNamesDifferent] Argyll_V3.3.0/spectro/dispsup.h:271:11: note: Function 'new_disprd' argument 19 names different: declaration 'screen' definition 'disp'. Argyll_V3.3.0/spectro/dispsup.c:2459:11: note: Function 'new_disprd' argument 19 names different: declaration 'screen' definition 'disp'. Argyll_V3.3.0/spectro/dispsup.c:558:7: style: Local variable 'tc' shadows outer argument [shadowArgument] Argyll_V3.3.0/spectro/dispsup.c:471:6: note: Shadowed declaration Argyll_V3.3.0/spectro/dispsup.c:558:7: note: Shadow variable Argyll_V3.3.0/spectro/dispsup.c:577:7: style: Local variable 'tc' shadows outer argument [shadowArgument] Argyll_V3.3.0/spectro/dispsup.c:471:6: note: Shadowed declaration Argyll_V3.3.0/spectro/dispsup.c:577:7: note: Shadow variable Argyll_V3.3.0/spectro/dispsup.c:617:8: style: Local variable 'j' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/dispsup.c:475:6: note: Shadowed declaration Argyll_V3.3.0/spectro/dispsup.c:617:8: note: Shadow variable Argyll_V3.3.0/spectro/dispsup.c:622:12: style: Local variable 'val' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/dispsup.c:477:9: note: Shadowed declaration Argyll_V3.3.0/spectro/dispsup.c:622:12: note: Shadow variable Argyll_V3.3.0/spectro/dispsup.c:1854:14: style: Local variable 'rv' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/dispsup.c:1821:7: note: Shadowed declaration Argyll_V3.3.0/spectro/dispsup.c:1854:14: note: Shadow variable Argyll_V3.3.0/spectro/dispsup.c:1967:14: style: Local variable 'rv' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/dispsup.c:1945:7: note: Shadowed declaration Argyll_V3.3.0/spectro/dispsup.c:1967:14: note: Shadow variable Argyll_V3.3.0/spectro/dispsup.c:1226:41: style: Parameter 'p' can be declared as pointer to const. However it seems that 'disprd_get_disptype' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/dispsup.c:2508:20: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/dispsup.c:1226:41: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/dispsup.c:1941:31: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/dispsup.c:99:12: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dispsup.c:99:26: style: Unused variable: ev [unusedVariable] Argyll_V3.3.0/spectro/dispsup.c:253:21: style: Variable 'calt' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dispsup.c:304:8: style: Variable 'itype' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dispsup.c:249:6: style: Unused variable: c [unusedVariable] Argyll_V3.3.0/spectro/dispsup.c:253:16: style: Variable 'calt' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dispsup.c:479:6: style: Unused variable: cal_type [unusedVariable] Argyll_V3.3.0/spectro/dispsup.c:499:13: style: Unused variable: ev [unusedVariable] Argyll_V3.3.0/spectro/dispsup.c:558:7: style: Unused variable: tc [unusedVariable] Argyll_V3.3.0/spectro/dispsup.c:577:7: style: Unused variable: tc [unusedVariable] Argyll_V3.3.0/spectro/dispsup.c:1066:11: style: Unused variable: we [unusedVariable] Argyll_V3.3.0/spectro/dispsup.c:1477:9: style: Variable 'ttpat' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dispsup.c:1457:13: style: Variable 'drift' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dispsup.c:1689:9: style: Variable 'ttpat' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dispsup.c:1804:9: style: Variable 'ttpat' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dispsup.c:1941:31: style: Variable 'ep' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dispsup.c:1945:7: style: Unused variable: rv [unusedVariable] Argyll_V3.3.0/spectro/dispsup.c:1946:9: style: Unused variable: cmd [unusedVariable] Argyll_V3.3.0/spectro/dispsup.c:1947:9: style: Unused variable: fp [unusedVariable] Argyll_V3.3.0/spectro/dispwin.c:1302:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dispwin.c:1610:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dispwin.c:1894:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dispwin.c:2677:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dispwin.c:3055:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dispwin.c:3653:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dispwin.c:3715:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lock [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dispwin.c:3771:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dispwin_int [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dispwin.c:3790:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dispwin_int [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dispwin.c:4075:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dispwin.c:4413:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dispwin.c:4445:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dispwin.c:4456:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dispwin.c:4837:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dispwin.c:4885:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dtp20.c:547:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inst_mrt_reflective [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dtp20.c:786:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inst_mrt_reflective [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dtp20.c:1026:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inst_mrt_reflective [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dispwin.c:1304:31: style: Condition '(paths=get_displays())==NULL' is always true [knownConditionTrueFalse] Argyll_V3.3.0/spectro/dispwin.c:370:21: note: Assignment 'disps=NULL', assigned value is 0 Argyll_V3.3.0/spectro/dispwin.c:1304:27: note: Calling function 'get_displays' returns 0 Argyll_V3.3.0/spectro/dispwin.c:1304:31: note: Condition '(paths=get_displays())==NULL' is always true Argyll_V3.3.0/spectro/dispwin.c:4456:2: warning: Either the condition 'p==NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] Argyll_V3.3.0/spectro/dispwin.c:4458:8: note: Assuming that condition 'p==NULL' is not redundant Argyll_V3.3.0/spectro/dispwin.c:4456:2: note: Null pointer dereference Argyll_V3.3.0/spectro/dispwin.c:1242:32: style:inconclusive: Function 'free_disppaths' argument 1 names different: declaration 'paths' definition 'disps'. [funcArgNamesDifferent] Argyll_V3.3.0/spectro/dispwin.h:148:32: note: Function 'free_disppaths' argument 1 names different: declaration 'paths' definition 'disps'. Argyll_V3.3.0/spectro/dispwin.c:1242:32: note: Function 'free_disppaths' argument 1 names different: declaration 'paths' definition 'disps'. Argyll_V3.3.0/spectro/dispwin.c:1264:30: style:inconclusive: Function 'del_disppath' argument 1 names different: declaration 'paths' definition 'disps'. [funcArgNamesDifferent] Argyll_V3.3.0/spectro/dispwin.h:151:30: note: Function 'del_disppath' argument 1 names different: declaration 'paths' definition 'disps'. Argyll_V3.3.0/spectro/dispwin.c:1264:30: note: Function 'del_disppath' argument 1 names different: declaration 'paths' definition 'disps'. Argyll_V3.3.0/spectro/dispwin.c:4864:11: style:inconclusive: Function 'new_dispwin' argument 1 names different: declaration 'screen' definition 'disp'. [funcArgNamesDifferent] Argyll_V3.3.0/spectro/dispwin.h:417:12: note: Function 'new_dispwin' argument 1 names different: declaration 'screen' definition 'disp'. Argyll_V3.3.0/spectro/dispwin.c:4864:11: note: Function 'new_dispwin' argument 1 names different: declaration 'screen' definition 'disp'. Argyll_V3.3.0/spectro/dispwin.c:1383:44: style: Parameter 'p' can be declared as pointer to const. However it seems that 'dispwin_get_ramdac' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/dispwin.c:4901:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/dispwin.c:1383:44: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/dispwin.c:1885:40: style: Parameter 'p' can be declared as pointer to const. However it seems that 'dispwin_set_ramdac' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/dispwin.c:4902:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/dispwin.c:1885:40: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/dispwin.c:2462:51: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/dispwin.c:2497:33: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/dispwin.c:2676:38: style: Parameter 'p' can be declared as pointer to const. However it seems that 'dispwin_install_profile' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/dispwin.c:4903:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/dispwin.c:2676:38: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/dispwin.c:2676:47: style: Parameter 'fname' can be declared as pointer to const. However it seems that 'dispwin_install_profile' is a callback function, if 'fname' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/dispwin.c:4903:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/dispwin.c:2676:47: note: Parameter 'fname' can be declared as pointer to const Argyll_V3.3.0/spectro/dispwin.c:3054:40: style: Parameter 'p' can be declared as pointer to const. However it seems that 'dispwin_uninstall_profile' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/dispwin.c:4904:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/dispwin.c:3054:40: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/dispwin.c:3054:49: style: Parameter 'fname' can be declared as pointer to const. However it seems that 'dispwin_uninstall_profile' is a callback function, if 'fname' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/dispwin.c:4904:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/dispwin.c:3054:49: note: Parameter 'fname' can be declared as pointer to const Argyll_V3.3.0/spectro/dispwin.c:3342:39: style: Parameter 'p' can be declared as pointer to const. However it seems that 'dispwin_get_profile' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/dispwin.c:4905:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/dispwin.c:3342:39: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/dispwin.c:3342:48: style: Parameter 'name' can be declared as pointer to const. However it seems that 'dispwin_get_profile' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/dispwin.c:4905:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/dispwin.c:3342:48: note: Parameter 'name' can be declared as pointer to const Argyll_V3.3.0/spectro/dispwin.c:3343:12: style: Variable 'rd_fp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/dispwin.c:4387:36: style: Parameter 'p' can be declared as pointer to const. However it seems that 'dispwin_set_fc' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/dispwin.c:4907:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/dispwin.c:4387:36: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/dispwin.c:4443:7: style: Parameter 'callout' can be declared as pointer to const. However it seems that 'dispwin_set_callout' is a callback function, if 'callout' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/dispwin.c:4911:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/dispwin.c:4443:7: note: Parameter 'callout' can be declared as pointer to const Argyll_V3.3.0/spectro/dispwin.c:4827:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/dispwin.c:4168:10: error: Uninitialized variable: tt [uninitvar] Argyll_V3.3.0/spectro/dispwin.c:1385:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/dispwin.c:1385:9: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/spectro/dispwin.c:1886:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/dispwin.c:1886:9: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/spectro/dispwin.c:3343:12: style: Variable 'rd_fp' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dispwin.c:4113:17: style: Variable 'frange' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dispwin.c:4114:17: style: Variable 'rrange' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dispwin.c:4115:17: style: Variable 'nrange' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dispwin.c:4072:9: style: Unused variable: kr [unusedVariable] Argyll_V3.3.0/spectro/dispwin.c:4072:13: style: Unused variable: kf [unusedVariable] Argyll_V3.3.0/spectro/dispwin.c:4113:10: style: Variable 'frange' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dispwin.c:4114:10: style: Variable 'rrange' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dispwin.c:4115:10: style: Variable 'nrange' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dispwin.c:5983:22: style: Variable 'native' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dtp22.c:591:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inst_mrt_reflective [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dtp22.c:636:9: warning: Identical condition and return expression 'user_trig', return value is always 0 [identicalConditionAfterEarlyExit] Argyll_V3.3.0/spectro/dtp22.c:462:18: note: 'user_trig' is assigned value '0' here. Argyll_V3.3.0/spectro/dtp22.c:634:6: note: If condition 'user_trig' is true, the function will return/exit Argyll_V3.3.0/spectro/dtp22.c:636:9: note: Returning identical expression 'user_trig' Argyll_V3.3.0/spectro/dtp22.c:687:64: style: Condition '(ev=dtp22_get_n_a_cals((struct inst*)p,&needed,&available))!=inst_ok' is always false [knownConditionTrueFalse] Argyll_V3.3.0/spectro/dtp22.c:687:30: note: Calling function 'dtp22_get_n_a_cals' returns 0 Argyll_V3.3.0/spectro/dtp22.c:687:64: note: Condition '(ev=dtp22_get_n_a_cals((struct inst*)p,&needed,&available))!=inst_ok' is always false Argyll_V3.3.0/spectro/dtp22.c:759:14: style: Condition 'ev!=inst_ok' is always true [knownConditionTrueFalse] Argyll_V3.3.0/spectro/dtp22.c:106:6: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] Argyll_V3.3.0/spectro/dtp22.c:235:14: style: Local variable 'ev' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/dtp22.c:182:12: note: Shadowed declaration Argyll_V3.3.0/spectro/dtp22.c:235:14: note: Shadow variable Argyll_V3.3.0/spectro/dtp22.c:377:7: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/dtp22.c:293:6: note: Shadowed declaration Argyll_V3.3.0/spectro/dtp22.c:377:7: note: Shadow variable Argyll_V3.3.0/spectro/dtp22.c:292:8: style: Variable 'envv' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/dtp22.c:601:9: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/dtp22.c:641:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/dtp22.c:823:26: style: Parameter 'pp' can be declared as pointer to const. However it seems that 'dtp22_interp_error' is a callback function, if 'pp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/dtp22.c:1185:29: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/dtp22.c:823:26: note: Parameter 'pp' can be declared as pointer to const Argyll_V3.3.0/spectro/dtp22.c:906:25: style: Parameter 'pp' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/dtp22.c:1025:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/dtp22.c:1111:11: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/dtp22.c:1198:61: style: Parameter 'key' can be declared as const array [constParameter] Argyll_V3.3.0/spectro/dtp22.c:182:15: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dtp22.c:815:8: style: Variable 'swen' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dtp20.c:1746:26: style:inconclusive: Redundant condition: The condition '*ep != '\000'' is redundant since '*ep >= '0'' is sufficient. [redundantCondition] Argyll_V3.3.0/spectro/dtp20.c:1146:64: style: Condition '(ev=dtp20_get_n_a_cals((struct inst*)p,&needed,&available))!=inst_ok' is always false [knownConditionTrueFalse] Argyll_V3.3.0/spectro/dtp20.c:1146:30: note: Calling function 'dtp20_get_n_a_cals' returns 0 Argyll_V3.3.0/spectro/dtp20.c:1146:64: note: Condition '(ev=dtp20_get_n_a_cals((struct inst*)p,&needed,&available))!=inst_ok' is always false Argyll_V3.3.0/spectro/dtp20.c:1652:9: style: Condition '0&&(cs==2||cs==3)' is always false [knownConditionTrueFalse] Argyll_V3.3.0/spectro/dtp20.c:107:6: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] Argyll_V3.3.0/spectro/dtp20.c:1816:47: style:inconclusive: Function 'new_dtp20' argument 2 names different: declaration 'itype' definition 'dtype'. [funcArgNamesDifferent] Argyll_V3.3.0/spectro/dtp20.h:144:47: note: Function 'new_dtp20' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/dtp20.c:1816:47: note: Function 'new_dtp20' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/dtp20.c:350:8: style: Variable 'envv' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/dtp20.c:1102:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/dtp20.c:1211:26: style: Parameter 'pp' can be declared as pointer to const. However it seems that 'dtp20_interp_error' is a callback function, if 'pp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/dtp20.c:1836:23: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/dtp20.c:1211:26: note: Parameter 'pp' can be declared as pointer to const Argyll_V3.3.0/spectro/dtp20.c:1356:25: style: Parameter 'pp' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/dtp20.c:1497:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/dtp20.c:1592:11: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/dtp20.c:251:10: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dtp20.c:626:13: style: Unused variable: se [unusedVariable] Argyll_V3.3.0/spectro/dtp20.c:869:6: style: Unused variable: se [unusedVariable] Argyll_V3.3.0/spectro/dtp20.c:1172:7: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/dtp20.c:1656:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dtp41.c:612:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inst_mrt_transmissive [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dtp41.c:815:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inst_mrt_transmissive [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dtp51.c:550:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inst_mrt_reflective [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dtp51.c:614:64: style: Condition '(ev=dtp51_get_n_a_cals((struct inst*)p,&needed,&available))!=inst_ok' is always false [knownConditionTrueFalse] Argyll_V3.3.0/spectro/dtp51.c:614:30: note: Calling function 'dtp51_get_n_a_cals' returns 0 Argyll_V3.3.0/spectro/dtp51.c:614:64: note: Condition '(ev=dtp51_get_n_a_cals((struct inst*)p,&needed,&available))!=inst_ok' is always false Argyll_V3.3.0/spectro/dtp51.c:91:6: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] Argyll_V3.3.0/spectro/dtp51.c:901:47: style:inconclusive: Function 'new_dtp51' argument 2 names different: declaration 'itype' definition 'dtype'. [funcArgNamesDifferent] Argyll_V3.3.0/spectro/dtp51.h:103:47: note: Function 'new_dtp51' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/dtp51.c:901:47: note: Function 'new_dtp51' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/dtp51.c:245:14: style: Local variable 'ev' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/dtp51.c:194:12: note: Shadowed declaration Argyll_V3.3.0/spectro/dtp51.c:245:14: note: Shadow variable Argyll_V3.3.0/spectro/dtp51.c:285:7: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/dtp51.c:193:14: note: Shadowed declaration Argyll_V3.3.0/spectro/dtp51.c:285:7: note: Shadow variable Argyll_V3.3.0/spectro/dtp51.c:316:7: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/dtp51.c:318:7: style: Parameter 'pname' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/dtp51.c:569:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/dtp51.c:654:26: style: Parameter 'pp' can be declared as pointer to const. However it seems that 'dtp51_interp_error' is a callback function, if 'pp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/dtp51.c:919:21: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/dtp51.c:654:26: note: Parameter 'pp' can be declared as pointer to const Argyll_V3.3.0/spectro/dtp51.c:746:25: style: Parameter 'pp' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/dtp51.c:194:15: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dtp51.c:246:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dtp51.c:281:10: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dtp51.c:865:14: style: Unused variable: buf [unusedVariable] Argyll_V3.3.0/spectro/dtp41.c:934:64: style: Condition '(ev=dtp41_get_n_a_cals((struct inst*)p,&needed,&available))!=inst_ok' is always false [knownConditionTrueFalse] Argyll_V3.3.0/spectro/dtp41.c:934:30: note: Calling function 'dtp41_get_n_a_cals' returns 0 Argyll_V3.3.0/spectro/dtp41.c:934:64: note: Condition '(ev=dtp41_get_n_a_cals((struct inst*)p,&needed,&available))!=inst_ok' is always false Argyll_V3.3.0/spectro/dtp41.c:88:6: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] Argyll_V3.3.0/spectro/dtp41.c:1379:47: style:inconclusive: Function 'new_dtp41' argument 2 names different: declaration 'itype' definition 'dtype'. [funcArgNamesDifferent] Argyll_V3.3.0/spectro/dtp41.h:117:47: note: Function 'new_dtp41' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/dtp41.c:1379:47: note: Function 'new_dtp41' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/dtp41.c:213:14: style: Local variable 'ev' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/dtp41.c:162:12: note: Shadowed declaration Argyll_V3.3.0/spectro/dtp41.c:213:14: note: Shadow variable Argyll_V3.3.0/spectro/dtp41.c:1367:13: style: Local variable 'rv' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/dtp41.c:1272:12: note: Shadowed declaration Argyll_V3.3.0/spectro/dtp41.c:1367:13: note: Shadow variable Argyll_V3.3.0/spectro/dtp41.c:323:8: style: Variable 'envv' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/dtp41.c:885:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/dtp41.c:990:26: style: Parameter 'pp' can be declared as pointer to const. However it seems that 'dtp41_interp_error' is a callback function, if 'pp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/dtp41.c:1398:21: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/dtp41.c:990:26: note: Parameter 'pp' can be declared as pointer to const Argyll_V3.3.0/spectro/dtp41.c:1082:25: style: Parameter 'pp' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/dtp41.c:1220:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/dtp41.c:1308:11: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/dtp41.c:162:15: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dtp41.c:214:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dtp41.c:254:10: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dtp41.c:498:9: style: Unused variable: se [unusedVariable] Argyll_V3.3.0/spectro/dtp41.c:687:9: style: Unused variable: se [unusedVariable] Argyll_V3.3.0/spectro/dtp41.c:1133:15: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dtp41.c:1156:6: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dtp41.c:1220:11: style: Variable 'p' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dtp41.c:1220:9: style: Variable 'p' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dtp41.c:1272:15: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dtp92.c:643:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inst_mrt_emission [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dummywin.c:64:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dummywin.c:71:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dummywin.c:80:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dummywin.c:87:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dummywin.c:94:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dummywin.c:111:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dummywin.c:166:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dummywin.c:177:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dummywin.c:233:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dummywin.c:177:2: warning: Either the condition 'p==NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] Argyll_V3.3.0/spectro/dummywin.c:179:8: note: Assuming that condition 'p==NULL' is not redundant Argyll_V3.3.0/spectro/dummywin.c:177:2: note: Null pointer dereference Argyll_V3.3.0/spectro/dummywin.c:63:45: style: Parameter 'p' can be declared as pointer to const. However it seems that 'dummywin_get_ramdac' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/dummywin.c:252:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/dummywin.c:63:45: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/dummywin.c:70:41: style: Parameter 'p' can be declared as pointer to const. However it seems that 'dummywin_set_ramdac' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/dummywin.c:253:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/dummywin.c:70:41: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/dummywin.c:79:39: style: Parameter 'p' can be declared as pointer to const. However it seems that 'dummywin_install_profile' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/dummywin.c:254:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/dummywin.c:79:39: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/dummywin.c:86:41: style: Parameter 'p' can be declared as pointer to const. However it seems that 'dummywin_uninstall_profile' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/dummywin.c:255:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/dummywin.c:86:41: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/dummywin.c:93:40: style: Parameter 'p' can be declared as pointer to const. However it seems that 'dummywin_get_profile' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/dummywin.c:256:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/dummywin.c:93:40: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/dummywin.c:155:40: style: Parameter 'p' can be declared as pointer to const. However it seems that 'dummywin_set_pinfo' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/dummywin.c:259:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/dummywin.c:155:40: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/dummywin.c:164:7: style: Parameter 'callout' can be declared as pointer to const. However it seems that 'dummywin_set_callout' is a callback function, if 'callout' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/dummywin.c:263:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/dummywin.c:164:7: note: Parameter 'callout' can be declared as pointer to const Argyll_V3.3.0/spectro/dummywin.c:106:6: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/spectro/dummywin.c:108:9: style: Unused variable: kr [unusedVariable] Argyll_V3.3.0/spectro/dummywin.c:108:13: style: Unused variable: kf [unusedVariable] Argyll_V3.3.0/spectro/dummywin.c:145:6: style: Unused variable: perc [unusedVariable] Argyll_V3.3.0/spectro/dummywin.c:145:12: style: Unused variable: bgperc [unusedVariable] Argyll_V3.3.0/spectro/dummywin.c:145:20: style: Unused variable: bgmode [unusedVariable] Argyll_V3.3.0/spectro/dummywin.c:145:28: style: Unused variable: border [unusedVariable] Argyll_V3.3.0/spectro/dummywin.c:226:8: style: Unused variable: cp [unusedVariable] Argyll_V3.3.0/spectro/dummywin.c:228:7: style: Unused variable: port [unusedVariable] Argyll_V3.3.0/spectro/dtp92.c:810:64: style: Condition '(ev=dtp92_get_n_a_cals((struct inst*)p,&needed,&available))!=inst_ok' is always false [knownConditionTrueFalse] Argyll_V3.3.0/spectro/dtp92.c:810:30: note: Calling function 'dtp92_get_n_a_cals' returns 0 Argyll_V3.3.0/spectro/dtp92.c:810:64: note: Condition '(ev=dtp92_get_n_a_cals((struct inst*)p,&needed,&available))!=inst_ok' is always false Argyll_V3.3.0/spectro/dtp92.c:95:6: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] Argyll_V3.3.0/spectro/dtp92.c:1400:47: style:inconclusive: Function 'new_dtp92' argument 2 names different: declaration 'itype' definition 'dtype'. [funcArgNamesDifferent] Argyll_V3.3.0/spectro/dtp92.h:105:47: note: Function 'new_dtp92' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/dtp92.c:1400:47: note: Function 'new_dtp92' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/dtp92.c:760:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/dtp92.c:915:26: style: Parameter 'pp' can be declared as pointer to const. However it seems that 'dtp92_interp_error' is a callback function, if 'pp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/dtp92.c:1424:25: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/dtp92.c:915:26: note: Parameter 'pp' can be declared as pointer to const Argyll_V3.3.0/spectro/dtp92.c:992:25: style: Parameter 'pp' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/dtp92.c:1050:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/dtp92.c:1357:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/dtp92.c:179:19: style: Variable 'brt' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dtp92.c:183:17: style: Variable 'dtype' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dtp92.c:181:8: style: Unused variable: fcc [unusedVariable] Argyll_V3.3.0/spectro/dtp92.c:182:15: style: Unused variable: etime [unusedVariable] Argyll_V3.3.0/spectro/dtp92.c:183:11: style: Variable 'dtype' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dtp92.c:184:6: style: Unused variable: ci [unusedVariable] Argyll_V3.3.0/spectro/dtp92.c:184:10: style: Unused variable: bi [unusedVariable] Argyll_V3.3.0/spectro/dtp92.c:184:14: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/dtp92.c:184:17: style: Unused variable: se [unusedVariable] Argyll_V3.3.0/spectro/dtp92.c:677:7: style: Unused variable: buf2 [unusedVariable] Argyll_V3.3.0/spectro/dtp92.c:882:7: style: Unused variable: buf2 [unusedVariable] Argyll_V3.3.0/spectro/dtp92.c:1188:15: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dtp92.c:1377:15: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dtp92.c:1376:7: style: Unused variable: buf [unusedVariable] Argyll_V3.3.0/spectro/dtp92.c:1377:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/dispread.c:108:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dispread.c:256:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/ex1.c:385:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icxIT_none [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/ex1.c:457:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inst_mrt_emission [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/ex1.c:1274:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARGYLL_VERSION [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/ex1.c:1344:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARGYLL_VERSION [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/dispread.c:289:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Argyll_V3.3.0/spectro/dispread.c:290:14: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] Argyll_V3.3.0/spectro/dispread.c:131:7: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/dispread.c:103:6: note: Shadowed declaration Argyll_V3.3.0/spectro/dispread.c:131:7: note: Shadow variable Argyll_V3.3.0/spectro/dispread.c:149:9: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/dispread.c:103:6: note: Shadowed declaration Argyll_V3.3.0/spectro/dispread.c:149:9: note: Shadow variable Argyll_V3.3.0/spectro/dispread.c:165:8: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/dispread.c:103:6: note: Shadowed declaration Argyll_V3.3.0/spectro/dispread.c:165:8: note: Shadow variable Argyll_V3.3.0/spectro/dispread.c:688:9: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/dispread.c:924:14: warning: The expression 'strcmp(ccg->t[0].kdata[fi],"yes") != 0' is suspicious. It overlaps 'strcmp(ccg->t[0].kdata[fi],"YES") == 0'. [overlappingStrcmp] Argyll_V3.3.0/spectro/dispread.c:103:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/dispread.c:539:9: style: Unused variable: ix [unusedVariable] Argyll_V3.3.0/spectro/ex1.c:735:62: style: Condition '(ev=ex1_get_n_a_cals((struct inst*)p,&needed,&available))!=inst_ok' is always false [knownConditionTrueFalse] Argyll_V3.3.0/spectro/ex1.c:735:28: note: Calling function 'ex1_get_n_a_cals' returns 0 Argyll_V3.3.0/spectro/ex1.c:735:62: note: Condition '(ev=ex1_get_n_a_cals((struct inst*)p,&needed,&available))!=inst_ok' is always false Argyll_V3.3.0/spectro/ex1.c:1707:12: style: Condition 'ilen>0' is always true [knownConditionTrueFalse] Argyll_V3.3.0/spectro/ex1.c:1691:11: note: Assuming that condition 'ilen<=16' is not redundant Argyll_V3.3.0/spectro/ex1.c:1707:12: note: Condition 'ilen>0' is always true Argyll_V3.3.0/spectro/ex1.c:1227:43: style:inconclusive: Function 'new_ex1' argument 2 names different: declaration 'itype' definition 'dtype'. [funcArgNamesDifferent] Argyll_V3.3.0/spectro/ex1.h:148:43: note: Function 'new_ex1' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/ex1.c:1227:43: note: Function 'new_ex1' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/ex1.c:415:7: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/ex1.c:905:30: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/ex1.c:954:23: style: Parameter 'pp' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/ex1.c:1072:7: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/ex1.c:1101:7: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/ex1.c:1938:6: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/ex1.c:162:17: style: Variable 'dtype' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/ex1.c:165:15: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/ex1.c:162:11: style: Variable 'dtype' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/ex1.c:165:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/ex1.c:485:10: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/ex1.c:485:6: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/ex1.c:763:7: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/ex1.c:763:10: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/spectro/ex1.c:763:13: style: Unused variable: k [unusedVariable] Argyll_V3.3.0/spectro/ex1.c:764:10: style: Unused variable: raw [unusedVariable] Argyll_V3.3.0/spectro/ex1.c:1072:9: style: Variable 'p' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/ex1.c:1072:7: style: Variable 'p' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/ex1.c:1101:9: style: Variable 'p' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/ex1.c:1101:7: style: Variable 'p' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/ex1.c:1102:12: style: Unused variable: ev [unusedVariable] Argyll_V3.3.0/spectro/ex1.c:1151:6: style: Unused variable: refrmode [unusedVariable] Argyll_V3.3.0/spectro/ex1.c:1182:15: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/ex1.c:1182:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/ex1.c:1271:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/ex1.c:1317:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/ex1.c:1317:9: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/spectro/ex1.c:1389:9: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/ex1.c:1389:6: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/ex1.c:1391:6: style: Unused variable: rv [unusedVariable] Argyll_V3.3.0/spectro/ex1.c:1619:15: style: Variable 'tlc' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/ex1.c:2590:8: style: Variable 'stime' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/hcfr.c:108:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IUSB_ENDPOINT_OUT [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/hcfr.c:513:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inst_mrt_emission [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/hidio.c:1099:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hid_idevice [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/hidio.c:1092:46: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/hcfr.c:938:45: style:inconclusive: Function 'new_hcfr' argument 2 names different: declaration 'itype' definition 'dtype'. [funcArgNamesDifferent] Argyll_V3.3.0/spectro/hcfr.h:103:45: note: Function 'new_hcfr' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/hcfr.c:938:45: note: Function 'new_hcfr' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/hcfr.c:569:25: style: Parameter 'pp' can be declared as pointer to const. However it seems that 'hcfr_interp_error' is a callback function, if 'pp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/hcfr.c:958:24: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/hcfr.c:569:25: note: Parameter 'pp' can be declared as pointer to const Argyll_V3.3.0/spectro/hcfr.c:603:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/hcfr.c:651:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/hcfr.c:896:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/hcfr.c:87:6: style: Unused variable: rv [unusedVariable] Argyll_V3.3.0/spectro/hcfr.c:90:7: style: Unused variable: ec [unusedVariable] Argyll_V3.3.0/spectro/hcfr.c:104:6: style: Unused variable: rwbytes [unusedVariable] Argyll_V3.3.0/spectro/hcfr.c:125:15: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/hcfr.c:125:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/hcfr.c:364:6: style: Unused variable: rsize [unusedVariable] Argyll_V3.3.0/spectro/hcfr.c:365:7: style: Unused variable: etime [unusedVariable] Argyll_V3.3.0/spectro/hcfr.c:366:6: style: Unused variable: bi [unusedVariable] Argyll_V3.3.0/spectro/hcfr.c:366:10: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/hcfr.c:408:14: style: Unused variable: buf [unusedVariable] Argyll_V3.3.0/spectro/hcfr.c:603:8: style: Variable 'p' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/hcfr.c:651:10: style: Variable 'p' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/hcfr.c:651:8: style: Variable 'p' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/hcfr.c:754:15: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/hcfr.c:915:15: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/hcfr.c:915:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/huey.c:190:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IUSB_ENDPOINT_OUT [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/huey.c:1244:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inst_mrt_ambient [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/i1d3.c:2424:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spec_n [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/i1d3.c:2539:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icxIT_none [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/i1d3.c:2689:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xspect [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/i1d3.c:3013:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icxOT_CIE_1931_2 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/i1d3.c:3176:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inst_mrt_ambient [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/i1d3.c:4328:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icxOT_CIE_1931_2 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/huey.c:945:2: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] Argyll_V3.3.0/spectro/huey.c:1761:45: style:inconclusive: Function 'new_huey' argument 2 names different: declaration 'itype' definition 'dtype'. [funcArgNamesDifferent] Argyll_V3.3.0/spectro/huey.h:137:45: note: Function 'new_huey' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/huey.c:1761:45: note: Function 'new_huey' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/huey.c:290:35: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/huey.c:556:6: style: Parameter 'edgec' can be declared as const array [constParameter] Argyll_V3.3.0/spectro/huey.c:596:6: style: Parameter 'edgec' can be declared as const array [constParameter] Argyll_V3.3.0/spectro/huey.c:837:10: style: Variable 'mat' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/huey.c:1174:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/huey.c:1303:25: style: Parameter 'pp' can be declared as pointer to const. However it seems that 'huey_interp_error' is a callback function, if 'pp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/huey.c:1782:25: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/huey.c:1303:25: note: Parameter 'pp' can be declared as pointer to const Argyll_V3.3.0/spectro/huey.c:1374:24: style: Parameter 'pp' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/huey.c:1440:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/huey.c:1467:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/huey.c:1685:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/huey.c:173:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/huey.c:307:6: style: Unused variable: rsize [unusedVariable] Argyll_V3.3.0/spectro/huey.c:413:6: style: Unused variable: cval [unusedVariable] Argyll_V3.3.0/spectro/huey.c:415:6: style: Unused variable: rsize [unusedVariable] Argyll_V3.3.0/spectro/huey.c:482:6: style: Unused variable: rsize [unusedVariable] Argyll_V3.3.0/spectro/huey.c:502:6: style: Unused variable: rsize [unusedVariable] Argyll_V3.3.0/spectro/huey.c:523:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/huey.c:559:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/huey.c:562:6: style: Unused variable: rsize [unusedVariable] Argyll_V3.3.0/spectro/huey.c:599:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/huey.c:602:6: style: Unused variable: rsize [unusedVariable] Argyll_V3.3.0/spectro/huey.c:649:9: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/spectro/huey.c:752:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/huey.c:755:6: style: Unused variable: rsize [unusedVariable] Argyll_V3.3.0/spectro/huey.c:807:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/huey.c:877:6: style: Unused variable: rsize [unusedVariable] Argyll_V3.3.0/spectro/huey.c:879:6: style: Unused variable: vv [unusedVariable] Argyll_V3.3.0/spectro/huey.c:880:9: style: Unused variable: ver [unusedVariable] Argyll_V3.3.0/spectro/huey.c:1017:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/huey.c:1050:6: style: Unused variable: rsize [unusedVariable] Argyll_V3.3.0/spectro/huey.c:1051:7: style: Unused variable: etime [unusedVariable] Argyll_V3.3.0/spectro/huey.c:1052:6: style: Unused variable: bi [unusedVariable] Argyll_V3.3.0/spectro/huey.c:1052:10: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/huey.c:1052:17: style: Unused variable: rv [unusedVariable] Argyll_V3.3.0/spectro/huey.c:1440:10: style: Variable 'p' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/huey.c:1440:8: style: Variable 'p' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/huey.c:1542:15: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/huey.c:1704:15: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/huey.c:1704:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/i1disp.c:167:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IUSB_ENDPOINT_IN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/i1disp.c:1939:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inst_mrt_ambient [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/fakeread.c:48:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/fakeread.c:119:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/fakeread.c:182:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Argyll_V3.3.0/spectro/fakeread.c:183:14: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] Argyll_V3.3.0/spectro/fakeread.c:811:10: style: Local variable 'bp' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/fakeread.c:148:16: note: Shadowed declaration Argyll_V3.3.0/spectro/fakeread.c:811:10: note: Shadow variable Argyll_V3.3.0/spectro/fakeread.c:985:10: style: Local variable 'j' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/fakeread.c:98:6: note: Shadowed declaration Argyll_V3.3.0/spectro/fakeread.c:985:10: note: Shadow variable Argyll_V3.3.0/spectro/fakeread.c:1098:9: style: Local variable 'ii' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/fakeread.c:985:13: note: Shadowed declaration Argyll_V3.3.0/spectro/fakeread.c:1098:9: note: Shadow variable Argyll_V3.3.0/spectro/fakeread.c:569:10: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/fakeread.c:606:9: style: Variable 'outn' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/fakeread.c:659:11: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/fakeread.c:669:9: style: Variable 'outn' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/fakeread.c:714:8: style: Variable 'outn' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/fakeread.c:884:28: style: Unused variable: vv [unusedVariable] Argyll_V3.3.0/spectro/i1disp.c:1519:10: style: Condition 'vv=0xff||vv=='M'' is always true [knownConditionTrueFalse] Argyll_V3.3.0/spectro/i1disp.c:2047:65: style: Condition '(ev=i1disp_get_n_a_cals((struct inst*)p,&needed,&available))!=inst_ok' is always false [knownConditionTrueFalse] Argyll_V3.3.0/spectro/i1disp.c:2047:31: note: Calling function 'i1disp_get_n_a_cals' returns 0 Argyll_V3.3.0/spectro/i1disp.c:2047:65: note: Condition '(ev=i1disp_get_n_a_cals((struct inst*)p,&needed,&available))!=inst_ok' is always false Argyll_V3.3.0/spectro/i1disp.c:1550:2: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] Argyll_V3.3.0/spectro/i1disp.c:2649:49: style:inconclusive: Function 'new_i1disp' argument 2 names different: declaration 'itype' definition 'dtype'. [funcArgNamesDifferent] Argyll_V3.3.0/spectro/i1disp.h:185:49: note: Function 'new_i1disp' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/i1disp.c:2649:49: note: Function 'new_i1disp' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/i1disp.c:1674:7: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/i1disp.c:1542:6: note: Shadowed declaration Argyll_V3.3.0/spectro/i1disp.c:1674:7: note: Shadow variable Argyll_V3.3.0/spectro/i1disp.c:260:35: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/i1disp.c:594:6: style: Parameter 'edgec' can be declared as const array [constParameter] Argyll_V3.3.0/spectro/i1disp.c:791:6: style: Parameter 'edgec' can be declared as const array [constParameter] Argyll_V3.3.0/spectro/i1disp.c:1240:10: style: Variable 'mat' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/i1disp.c:1869:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/i1disp.c:1998:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/i1disp.c:2122:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/i1disp.c:2159:27: style: Parameter 'pp' can be declared as pointer to const. However it seems that 'i1disp_interp_error' is a callback function, if 'pp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/i1disp.c:2677:25: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/i1disp.c:2159:27: note: Parameter 'pp' can be declared as pointer to const Argyll_V3.3.0/spectro/i1disp.c:2222:26: style: Parameter 'pp' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/i1disp.c:2285:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/i1disp.c:2323:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/i1disp.c:2607:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/i1disp.c:178:9: style: Variable 'smsec' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/i1disp.c:1375:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/i1disp.c:1674:7: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/i1disp.c:1674:10: style: Unused variable: v [unusedVariable] Argyll_V3.3.0/spectro/i1disp.c:2443:15: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/i1disp.c:2626:12: style: Unused variable: ev [unusedVariable] Argyll_V3.3.0/spectro/i1pro.c:962:47: style:inconclusive: Function 'new_i1pro' argument 2 names different: declaration 'itype' definition 'dtype'. [funcArgNamesDifferent] Argyll_V3.3.0/spectro/i1pro.h:59:47: note: Function 'new_i1pro' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/i1pro.c:962:47: note: Function 'new_i1pro' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/i1pro.c:177:13: style: Local variable 'm' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/i1pro.c:131:12: note: Shadowed declaration Argyll_V3.3.0/spectro/i1pro.c:177:13: note: Shadow variable Argyll_V3.3.0/spectro/i1pro.c:178:16: style: Local variable 's' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/i1pro.c:132:15: note: Shadowed declaration Argyll_V3.3.0/spectro/i1pro.c:178:16: note: Shadow variable Argyll_V3.3.0/spectro/i1pro.c:132:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/i1pro.c:178:16: style: Variable 's' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/i1pro.c:358:26: style: Parameter 'pp' can be declared as pointer to const. However it seems that 'i1pro_interp_error' is a callback function, if 'pp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/i1pro.c:987:25: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/i1pro.c:358:26: note: Parameter 'pp' can be declared as pointer to const Argyll_V3.3.0/spectro/i1pro.c:543:26: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/i1pro.c:663:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/i1pro.c:675:43: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/i1pro.c:807:13: style: Variable 'imp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/i1pro.c:840:13: style: Variable 'imp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/i1pro.c:859:11: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/i1pro.c:878:13: style: Variable 'imp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/i1pro.c:89:6: style: Unused variable: rsize [unusedVariable] Argyll_V3.3.0/spectro/i1pro.c:715:17: style: Variable 'mmode' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/i1pro.c:715:11: style: Variable 'mmode' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/i1pro.c:899:13: style: Unused variable: rv [unusedVariable] Argyll_V3.3.0/spectro/i1d3.c:1536:13: error: Array 'corr[3501]' accessed at index -1, which is out of bounds. [negativeIndex] Argyll_V3.3.0/spectro/i1d3.c:1525:11: note: Assignment 'pki=0', assigned value is 0 Argyll_V3.3.0/spectro/i1d3.c:1526:19: note: Assuming condition is false Argyll_V3.3.0/spectro/i1d3.c:1536:13: note: Negative array index Argyll_V3.3.0/spectro/i1d3.c:2991:39: style: Condition '(ev=i1d3_decode_intEE(p,buf))!=inst_ok' is always false [knownConditionTrueFalse] Argyll_V3.3.0/spectro/i1d3.c:2991:29: note: Calling function 'i1d3_decode_intEE' returns 0 Argyll_V3.3.0/spectro/i1d3.c:2991:39: note: Condition '(ev=i1d3_decode_intEE(p,buf))!=inst_ok' is always false Argyll_V3.3.0/spectro/i1d3.c:3271:37: style: Condition '(ev=i1d3_set_matcal(p,mtx))!=inst_ok' is always false [knownConditionTrueFalse] Argyll_V3.3.0/spectro/i1d3.c:3271:27: note: Calling function 'i1d3_set_matcal' returns 0 Argyll_V3.3.0/spectro/i1d3.c:3271:37: note: Condition '(ev=i1d3_set_matcal(p,mtx))!=inst_ok' is always false Argyll_V3.3.0/spectro/i1d3.c:3363:63: style: Condition '(ev=i1d3_get_n_a_cals((struct inst*)p,&needed,&available))!=inst_ok' is always false [knownConditionTrueFalse] Argyll_V3.3.0/spectro/i1d3.c:3363:29: note: Calling function 'i1d3_get_n_a_cals' returns 0 Argyll_V3.3.0/spectro/i1d3.c:3363:63: note: Condition '(ev=i1d3_get_n_a_cals((struct inst*)p,&needed,&available))!=inst_ok' is always false Argyll_V3.3.0/spectro/i1d3.c:4104:47: style: Condition '(ev=i1d3_set_matcal(p,dentry->mat))!=inst_ok' is always false [knownConditionTrueFalse] Argyll_V3.3.0/spectro/i1d3.c:4104:29: note: Calling function 'i1d3_set_matcal' returns 0 Argyll_V3.3.0/spectro/i1d3.c:4104:47: note: Condition '(ev=i1d3_set_matcal(p,dentry->mat))!=inst_ok' is always false Argyll_V3.3.0/spectro/i1d3.c:4109:40: style: Condition '(ev=i1d3_set_matcal(p,NULL))!=inst_ok' is always false [knownConditionTrueFalse] Argyll_V3.3.0/spectro/i1d3.c:4109:29: note: Calling function 'i1d3_set_matcal' returns 0 Argyll_V3.3.0/spectro/i1d3.c:4109:40: note: Condition '(ev=i1d3_set_matcal(p,NULL))!=inst_ok' is always false Argyll_V3.3.0/spectro/i1pro3.c:759:2: error: Memory leak: sels [memleak] Argyll_V3.3.0/spectro/i1pro3.c:999:49: style:inconclusive: Function 'new_i1pro3' argument 2 names different: declaration 'itype' definition 'dtype'. [funcArgNamesDifferent] Argyll_V3.3.0/spectro/i1pro3.h:60:49: note: Function 'new_i1pro3' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/i1pro3.c:999:49: note: Function 'new_i1pro3' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/i1pro3.c:129:16: style: Variable 's' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/i1pro3.c:487:28: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/i1pro3.c:585:45: style: Parameter 'pp' can be declared as pointer to const. However it seems that 'i1pro3_config_enum' is a callback function, if 'pp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/i1pro3.c:1027:25: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/i1pro3.c:585:45: note: Parameter 'pp' can be declared as pointer to const Argyll_V3.3.0/spectro/i1pro3.c:614:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/i1pro3.c:627:13: style: Variable 'm' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/i1pro3.c:718:16: style: Variable 's' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/i1pro3.c:913:11: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/i1pro3_imp.c:2871:0: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] Argyll_V3.3.0/spectro/i1pro3_imp.c:2871:3: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] Argyll_V3.3.0/spectro/i1pro3.c:85:6: style: Unused variable: rsize [unusedVariable] Argyll_V3.3.0/spectro/i1d3.c:1032:3: style: Label 'aio_done' is not used. [unusedLabel] Argyll_V3.3.0/spectro/i1pro3.c:674:18: style: Variable 'mmode' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/i1pro3.c:674:12: style: Variable 'mmode' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/i1pro3.c:951:13: style: Unused variable: rv [unusedVariable] Argyll_V3.3.0/spectro/i1d3.c:4536:45: style:inconclusive: Function 'new_i1d3' argument 2 names different: declaration 'itype' definition 'dtype'. [funcArgNamesDifferent] Argyll_V3.3.0/spectro/i1d3.h:189:45: note: Function 'new_i1d3' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/i1d3.c:4536:45: note: Function 'new_i1d3' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/i1d3.c:1623:11: style: Local variable 'pval' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/i1d3.c:1170:9: note: Shadowed declaration Argyll_V3.3.0/spectro/i1d3.c:1623:11: note: Shadow variable Argyll_V3.3.0/spectro/i1d3.c:3389:13: style: Local variable 'ev' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/i1d3.c:3352:12: note: Shadowed declaration Argyll_V3.3.0/spectro/i1d3.c:3389:13: note: Shadow variable Argyll_V3.3.0/spectro/i1d3.c:4273:14: style: Local variable 'ev' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/i1d3.c:4231:12: note: Shadowed declaration Argyll_V3.3.0/spectro/i1d3.c:4273:14: note: Shadow variable Argyll_V3.3.0/spectro/i1d3.c:4324:8: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/i1d3.c:4309:7: note: Shadowed declaration Argyll_V3.3.0/spectro/i1d3.c:4324:8: note: Shadow variable Argyll_V3.3.0/spectro/i1d3.c:377:39: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/i1d3.c:391:45: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/i1d3.c:401:35: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/i1d3.c:411:37: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/i1d3.c:919:6: style: Parameter 'edgec' can be declared as const array [constParameter] Argyll_V3.3.0/spectro/i1d3.c:2680:10: style: Parameter 'samples' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/i1d3.c:3069:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/i1d3.c:3324:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/i1d3.c:3633:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/i1d3.c:3694:25: style: Parameter 'pp' can be declared as pointer to const. However it seems that 'i1d3_interp_error' is a callback function, if 'pp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/i1d3.c:4567:25: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/i1d3.c:3694:25: note: Parameter 'pp' can be declared as pointer to const Argyll_V3.3.0/spectro/i1d3.c:3763:24: style: Parameter 'pp' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/i1d3.c:3827:43: style: Parameter 'pp' can be declared as pointer to const. However it seems that 'i1d3_config_enum' is a callback function, if 'pp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/i1d3.c:4568:25: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/i1d3.c:3827:43: note: Parameter 'pp' can be declared as pointer to const Argyll_V3.3.0/spectro/i1d3.c:3875:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/i1d3.c:3966:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/i1d3.c:4212:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/i1d3.c:4365:11: style: Variable 'custObserver' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/i1d3.c:4503:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/i1d3.c:4585:50: style: Parameter 'k' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/i1d3.c:4585:68: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/i1d3.c:1151:33: style: Unused variable: eutime [unusedVariable] Argyll_V3.3.0/spectro/i1d3.c:1162:6: style: Unused variable: nbins [unusedVariable] Argyll_V3.3.0/spectro/i1d3.c:1679:6: style: Unused variable: mul [unusedVariable] Argyll_V3.3.0/spectro/i1d3.c:1704:9: style: Unused variable: k [unusedVariable] Argyll_V3.3.0/spectro/i1d3.c:2034:10: style: Unused variable: n [unusedVariable] Argyll_V3.3.0/spectro/i1d3.c:2074:14: style: Unused variable: tt [unusedVariable] Argyll_V3.3.0/spectro/i1d3.c:2152:9: style: Unused variable: k [unusedVariable] Argyll_V3.3.0/spectro/i1d3.c:2442:13: style: Variable 'tmp.spec_n' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/i1d3.c:2443:20: style: Variable 'tmp.spec_wl_short' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/i1d3.c:2444:19: style: Variable 'tmp.spec_wl_long' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/i1d3.c:2445:11: style: Variable 'tmp.norm' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/i1d3.c:2909:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/i1d3.c:3446:9: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/spectro/i1d3.c:3446:12: style: Unused variable: k [unusedVariable] Argyll_V3.3.0/spectro/i1d3.c:3448:6: style: Unused variable: mtachdel [unusedVariable] Argyll_V3.3.0/spectro/i1d3.c:3993:6: style: Unused variable: refrmode [unusedVariable] Argyll_V3.3.0/spectro/i1d3.c:4046:15: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/i1d3.c:4085:6: style: Unused variable: refrmode [unusedVariable] Argyll_V3.3.0/spectro/i1d3.c:4273:17: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/i1d3.c:4231:12: style: Unused variable: ev [unusedVariable] Argyll_V3.3.0/spectro/i1d3.c:4273:14: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/i1d3.c:4307:13: style: Unused variable: rv [unusedVariable] Argyll_V3.3.0/spectro/i1d3.c:4309:7: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/icoms.c:237:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/icoms.c:749:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/i1pro_imp.c:4363:0: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] Argyll_V3.3.0/spectro/i1pro_imp.c:4363:3: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] Argyll_V3.3.0/spectro/icoms.c:932:3: error: Memory leak: p [memleak] Argyll_V3.3.0/spectro/icoms.c:1054:17: style:inconclusive: Function 'icoms_fix' argument 1 names different: declaration 's' definition 'ss'. [funcArgNamesDifferent] Argyll_V3.3.0/spectro/icoms.h:641:23: note: Function 'icoms_fix' argument 1 names different: declaration 's' definition 'ss'. Argyll_V3.3.0/spectro/icoms.c:1054:17: note: Function 'icoms_fix' argument 1 names different: declaration 's' definition 'ss'. Argyll_V3.3.0/spectro/icoms.c:637:45: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/icoms.c:637:58: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/icoms.c:718:55: style: Parameter 'pp' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/icoms.c:757:8: style: Parameter 'p' can be declared as pointer to const. However it seems that 'icoms_cat_type' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/icoms.c:965:17: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/icoms.c:757:8: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/icoms.c:765:8: style: Parameter 'p' can be declared as pointer to const. However it seems that 'icoms_port_type' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/icoms.c:966:17: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/icoms.c:765:8: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/icoms.c:773:8: style: Parameter 'p' can be declared as pointer to const. However it seems that 'icoms_port_attr' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/icoms.c:967:17: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/icoms.c:773:8: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/icoms.c:877:39: style: Parameter 'p' can be declared as pointer to const. However it seems that 'icoms_ser_clearerr' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/icoms.c:978:20: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/icoms.c:877:39: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/icoms.c:883:35: style: Parameter 'p' can be declared as pointer to const. However it seems that 'icoms_interrupt' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/icoms.c:979:17: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/icoms.c:883:35: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/icoms.c:1058:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/icoms.c:719:6: style: Unused variable: rv [unusedVariable] Argyll_V3.3.0/spectro/inflate.c:465:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/inflate.c:738:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/inst.c:1271:2: error: There is an unknown macro here somewhere. Configuration is required. If HEAPSORT is a macro then please configure it. [unknownMacro] Argyll_V3.3.0/spectro/instappsup.c:392:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fl_end [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/inflate.c:220:6: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/inflate.c:221:6: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/inflate.c:239:22: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/instappsup.c:452:33: style: Redundant condition: The condition '*bp != '\000'' is redundant since '*bp == ' '' is sufficient. [redundantCondition] Argyll_V3.3.0/spectro/instappsup.c:76:18: style: Condition 'purp==inst_measuring' is always false [knownConditionTrueFalse] Argyll_V3.3.0/spectro/illumread.c:89:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fl_end [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/illumread.c:241:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/illumread.c:296:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/insttypes.c:523:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icxIT_A [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/insttypes.c:301:26: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/insttypes.c:644:27: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/madvrwin.c:104:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/madvrwin.c:220:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/madvrwin.c:281:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/madvrwin.c:310:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/madvrwin.c:317:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/madvrwin.c:324:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/madvrwin.c:341:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/madvrwin.c:375:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/madvrwin.c:412:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/madvrwin.c:423:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/madvrwin.c:481:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/madvrwin.c:423:2: warning: Either the condition 'p==NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] Argyll_V3.3.0/spectro/madvrwin.c:425:8: note: Assuming that condition 'p==NULL' is not redundant Argyll_V3.3.0/spectro/madvrwin.c:423:2: note: Null pointer dereference Argyll_V3.3.0/spectro/madvrwin.c:102:31: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/madvrwin.c:193:34: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/madvrwin.c:213:45: style: Parameter 'p' can be declared as pointer to const. However it seems that 'madvrwin_get_ramdac' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/madvrwin.c:500:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/madvrwin.c:213:45: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/madvrwin.c:274:41: style: Parameter 'p' can be declared as pointer to const. However it seems that 'madvrwin_set_ramdac' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/madvrwin.c:501:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/madvrwin.c:274:41: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/madvrwin.c:309:39: style: Parameter 'p' can be declared as pointer to const. However it seems that 'madvrwin_install_profile' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/madvrwin.c:502:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/madvrwin.c:309:39: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/madvrwin.c:316:41: style: Parameter 'p' can be declared as pointer to const. However it seems that 'madvrwin_uninstall_profile' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/madvrwin.c:503:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/madvrwin.c:316:41: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/madvrwin.c:323:40: style: Parameter 'p' can be declared as pointer to const. However it seems that 'madvrwin_get_profile' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/madvrwin.c:504:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/madvrwin.c:323:40: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/madvrwin.c:398:40: style: Parameter 'p' can be declared as pointer to const. However it seems that 'madvrwin_set_pinfo' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/madvrwin.c:507:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/madvrwin.c:398:40: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/madvrwin.c:410:7: style: Parameter 'callout' can be declared as pointer to const. However it seems that 'madvrwin_set_callout' is a callback function, if 'callout' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/madvrwin.c:511:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/madvrwin.c:410:7: note: Parameter 'callout' can be declared as pointer to const Argyll_V3.3.0/spectro/madvrwin.c:106:12: style: Variable 'len' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/madvrwin.c:105:8: style: Unused variable: hnd [unusedVariable] Argyll_V3.3.0/spectro/madvrwin.c:106:8: style: Variable 'len' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/madvrwin.c:336:6: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/spectro/madvrwin.c:338:9: style: Unused variable: kr [unusedVariable] Argyll_V3.3.0/spectro/madvrwin.c:338:13: style: Unused variable: kf [unusedVariable] Argyll_V3.3.0/spectro/madvrwin.c:599:12: style: Variable 'ii' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/madvrwin.c:474:8: style: Unused variable: cp [unusedVariable] Argyll_V3.3.0/spectro/madvrwin.c:476:7: style: Unused variable: port [unusedVariable] Argyll_V3.3.0/spectro/kleink10.c:1424:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inst_mrt_ambient [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/mongoose.c:4184:1: error: Unmatched '}'. Configuration: '__GNUC__=1'. [syntaxError] Argyll_V3.3.0/spectro/illumread.c:479:10: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/illumread.c:287:6: note: Shadowed declaration Argyll_V3.3.0/spectro/illumread.c:479:10: note: Shadow variable Argyll_V3.3.0/spectro/illumread.c:1006:10: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/illumread.c:287:6: note: Shadowed declaration Argyll_V3.3.0/spectro/illumread.c:1006:10: note: Shadow variable Argyll_V3.3.0/spectro/illumread.c:1038:11: style: Local variable 'rv' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/illumread.c:314:12: note: Shadowed declaration Argyll_V3.3.0/spectro/illumread.c:1038:11: note: Shadow variable Argyll_V3.3.0/spectro/illumread.c:341:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/illumread.c:962:9: style: Unused variable: nn [unusedVariable] Argyll_V3.3.0/spectro/illumread.c:1156:9: style: Unused variable: nn [unusedVariable] Argyll_V3.3.0/spectro/munki_imp.c:3192:0: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] Argyll_V3.3.0/spectro/munki_imp.c:3192:3: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] Argyll_V3.3.0/spectro/oemarch.c:945:0: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] Argyll_V3.3.0/spectro/oemarch.c:945:3: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] Argyll_V3.3.0/spectro/munki.c:1097:6: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] Argyll_V3.3.0/spectro/munki.c:1102:2: error: Returning/dereferencing 'p' after it is deallocated / released [deallocret] Argyll_V3.3.0/spectro/munki.c:1098:3: note: Returning/dereferencing 'p' after it is deallocated / released Argyll_V3.3.0/spectro/munki.c:1102:2: note: Returning/dereferencing 'p' after it is deallocated / released Argyll_V3.3.0/spectro/munki.c:1045:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] Argyll_V3.3.0/spectro/munki.c:1061:47: style:inconclusive: Function 'new_munki' argument 2 names different: declaration 'itype' definition 'dtype'. [funcArgNamesDifferent] Argyll_V3.3.0/spectro/munki.h:65:47: note: Function 'new_munki' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/munki.c:1061:47: note: Function 'new_munki' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/munki.c:158:13: style: Local variable 'm' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/munki.c:125:12: note: Shadowed declaration Argyll_V3.3.0/spectro/munki.c:158:13: note: Shadow variable Argyll_V3.3.0/spectro/munki.c:159:16: style: Local variable 's' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/munki.c:126:15: note: Shadowed declaration Argyll_V3.3.0/spectro/munki.c:159:16: note: Shadow variable Argyll_V3.3.0/spectro/munki.c:126:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/munki.c:159:16: style: Variable 's' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/munki.c:403:26: style: Parameter 'pp' can be declared as pointer to const. However it seems that 'munki_interp_error' is a callback function, if 'pp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/munki.c:1087:25: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/munki.c:403:26: note: Parameter 'pp' can be declared as pointer to const Argyll_V3.3.0/spectro/munki.c:552:26: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/munki.c:651:44: style: Parameter 'pp' can be declared as pointer to const. However it seems that 'munki_config_enum' is a callback function, if 'pp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/munki.c:1088:25: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/munki.c:651:44: note: Parameter 'pp' can be declared as pointer to const Argyll_V3.3.0/spectro/munki.c:677:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/munki.c:691:42: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/munki.c:835:13: style: Variable 'imp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/munki.c:854:11: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/munki.c:873:13: style: Variable 'imp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/munki.c:732:16: style: Variable 'mmode' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/munki.c:732:10: style: Variable 'mmode' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/munki.c:749:16: style: Variable 'cap' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/munki.c:749:12: style: Variable 'cap' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/munki.c:1012:13: style: Unused variable: rv [unusedVariable] Argyll_V3.3.0/spectro/oeminst.c:40:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/oeminst.c:157:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exe_path [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/rspec.c:943:0: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] Argyll_V3.3.0/spectro/rspec.c:943:3: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] Argyll_V3.3.0/spectro/oeminst.c:146:14: warning: Either the condition '(files=oemarch_get_ifiles(files,verb))==NULL' is redundant or there is possible null pointer dereference: files. [nullPointerRedundantCheck] Argyll_V3.3.0/spectro/oeminst.c:142:48: note: Assuming that condition '(files=oemarch_get_ifiles(files,verb))==NULL' is not redundant Argyll_V3.3.0/spectro/oeminst.c:146:14: note: Null pointer dereference Argyll_V3.3.0/spectro/oeminst.c:160:10: warning: Either the condition '(tname=malloc(len))==NULL' is redundant or there is possible null pointer dereference: tname. [nullPointerRedundantCheck] Argyll_V3.3.0/spectro/oeminst.c:158:29: note: Assuming that condition '(tname=malloc(len))==NULL' is not redundant Argyll_V3.3.0/spectro/oeminst.c:160:10: note: Null pointer dereference Argyll_V3.3.0/spectro/oeminst.c:162:21: warning: Either the condition '(tname=malloc(len))==NULL' is redundant or there is possible null pointer dereference: tname. [nullPointerRedundantCheck] Argyll_V3.3.0/spectro/oeminst.c:158:29: note: Assuming that condition '(tname=malloc(len))==NULL' is not redundant Argyll_V3.3.0/spectro/oeminst.c:162:21: note: Null pointer dereference Argyll_V3.3.0/spectro/oeminst.c:209:8: warning:inconclusive: Either the condition '(cx=new_ccmx())==NULL' is redundant or there is possible null pointer dereference: cx. [nullPointerRedundantCheck] Argyll_V3.3.0/spectro/oeminst.c:207:26: note: Assuming that condition '(cx=new_ccmx())==NULL' is not redundant Argyll_V3.3.0/spectro/oeminst.c:209:8: note: Null pointer dereference Argyll_V3.3.0/spectro/oeminst.c:223:8: warning:inconclusive: Either the condition '(ss=new_ccss())==NULL' is redundant or there is possible null pointer dereference: ss. [nullPointerRedundantCheck] Argyll_V3.3.0/spectro/oeminst.c:221:26: note: Assuming that condition '(ss=new_ccss())==NULL' is not redundant Argyll_V3.3.0/spectro/oeminst.c:223:8: note: Null pointer dereference Argyll_V3.3.0/spectro/oeminst.c:254:10: warning: Either the condition '(install_name=malloc(len))==NULL' is redundant or there is possible null pointer dereference: install_name. [nullPointerRedundantCheck] Argyll_V3.3.0/spectro/oeminst.c:251:36: note: Assuming that condition '(install_name=malloc(len))==NULL' is not redundant Argyll_V3.3.0/spectro/oeminst.c:254:10: note: Null pointer dereference Argyll_V3.3.0/spectro/oeminst.c:61:8: style: Variable 'install_dir' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/oeminst.c:76:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/oeminst.c:242:31: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/oeminst.c:64:6: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/kleink10.c:1790:13: error: Array 'corr[4501]' accessed at index -1, which is out of bounds. [negativeIndex] Argyll_V3.3.0/spectro/kleink10.c:1777:11: note: Assignment 'pki=0', assigned value is 0 Argyll_V3.3.0/spectro/kleink10.c:1778:19: note: Assuming condition is false Argyll_V3.3.0/spectro/kleink10.c:1790:13: note: Negative array index Argyll_V3.3.0/spectro/kleink10.c:2027:34: warning: Either the condition 'ndsamps==0' is redundant or the array 'samp[40]' is accessed at index -1, which is out of bounds. [negativeIndex] Argyll_V3.3.0/spectro/kleink10.c:2032:14: note: Assuming that condition 'ndsamps==0' is not redundant Argyll_V3.3.0/spectro/kleink10.c:2023:10: note: ndsamps is assigned 'i' here. Argyll_V3.3.0/spectro/kleink10.c:2027:34: note: Negative array index Argyll_V3.3.0/spectro/kleink10.c:156:12: style: Condition 'p-f-1<=0' is always false [knownConditionTrueFalse] Argyll_V3.3.0/spectro/kleink10.c:150:44: note: Assuming that condition '(p-f)<=1' is not redundant Argyll_V3.3.0/spectro/kleink10.c:150:17: note: Assuming that condition 'f<(p-1-1)' is not redundant Argyll_V3.3.0/spectro/kleink10.c:156:12: note: Condition 'p-f-1<=0' is always false Argyll_V3.3.0/spectro/kleink10.c:2309:62: style: Condition '(ev=k10_get_n_a_cals((struct inst*)p,&needed,&available))!=inst_ok' is always false [knownConditionTrueFalse] Argyll_V3.3.0/spectro/kleink10.c:2309:28: note: Calling function 'k10_get_n_a_cals' returns 0 Argyll_V3.3.0/spectro/kleink10.c:2309:62: note: Condition '(ev=k10_get_n_a_cals((struct inst*)p,&needed,&available))!=inst_ok' is always false Argyll_V3.3.0/spectro/kleink10.c:1531:7: style: Variable 'maxt' is reassigned a value before the old one has been used. [redundantAssignment] Argyll_V3.3.0/spectro/kleink10.c:1522:7: note: maxt is assigned Argyll_V3.3.0/spectro/kleink10.c:1531:7: note: maxt is overwritten Argyll_V3.3.0/spectro/kleink10.c:2887:53: style:inconclusive: Function 'new_kleink10' argument 2 names different: declaration 'itype' definition 'dtype'. [funcArgNamesDifferent] Argyll_V3.3.0/spectro/kleink10.h:121:53: note: Function 'new_kleink10' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/kleink10.c:2887:53: note: Function 'new_kleink10' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/kleink10.c:408:14: style: Local variable 'ev' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/kleink10.c:364:12: note: Shadowed declaration Argyll_V3.3.0/spectro/kleink10.c:408:14: note: Shadow variable Argyll_V3.3.0/spectro/kleink10.c:1025:7: style: Local variable 'se' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/kleink10.c:975:6: note: Shadowed declaration Argyll_V3.3.0/spectro/kleink10.c:1025:7: note: Shadow variable Argyll_V3.3.0/spectro/kleink10.c:561:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/kleink10.c:575:17: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/kleink10.c:615:17: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/kleink10.c:681:17: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/kleink10.c:805:55: style: Parameter 'desc' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/kleink10.c:807:17: style: Variable 'i' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/kleink10.c:808:8: style: Variable 'sel' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/kleink10.c:1133:19: style: Variable 'ubuf' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/kleink10.c:1337:10: style: Variable 'thr' can be declared as const array [constVariable] Argyll_V3.3.0/spectro/kleink10.c:1338:10: style: Variable 'nav' can be declared as const array [constVariable] Argyll_V3.3.0/spectro/kleink10.c:2174:17: style: Variable 'umes' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/kleink10.c:2272:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/kleink10.c:2354:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/kleink10.c:2427:27: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/kleink10.c:2491:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/kleink10.c:2716:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/kleink10.c:178:9: warning: Uninitialized variable: rv [uninitvar] Argyll_V3.3.0/spectro/kleink10.c:169:18: note: Assuming condition is false Argyll_V3.3.0/spectro/kleink10.c:178:9: note: Uninitialized variable: rv Argyll_V3.3.0/spectro/kleink10.c:364:15: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/kleink10.c:409:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/kleink10.c:360:11: style: Variable 'dtype' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/kleink10.c:362:8: style: Unused variable: cp [unusedVariable] Argyll_V3.3.0/spectro/kleink10.c:467:7: style: Unused variable: mes [unusedVariable] Argyll_V3.3.0/spectro/kleink10.c:470:6: style: Unused variable: se [unusedVariable] Argyll_V3.3.0/spectro/kleink10.c:598:6: style: Unused variable: t [unusedVariable] Argyll_V3.3.0/spectro/kleink10.c:598:9: style: Unused variable: r0 [unusedVariable] Argyll_V3.3.0/spectro/kleink10.c:598:13: style: Unused variable: r1 [unusedVariable] Argyll_V3.3.0/spectro/kleink10.c:598:17: style: Unused variable: r2 [unusedVariable] Argyll_V3.3.0/spectro/kleink10.c:598:21: style: Unused variable: r3 [unusedVariable] Argyll_V3.3.0/spectro/kleink10.c:599:6: style: Unused variable: tt [unusedVariable] Argyll_V3.3.0/spectro/kleink10.c:730:6: style: Unused variable: se [unusedVariable] Argyll_V3.3.0/spectro/kleink10.c:1094:8: style: Variable 'stime' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/kleink10.c:1095:8: style: Variable 'stime' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/kleink10.c:1025:7: style: Unused variable: se [unusedVariable] Argyll_V3.3.0/spectro/kleink10.c:1467:15: style: Unused variable: mm [unusedVariable] Argyll_V3.3.0/spectro/kleink10.c:1918:7: style: Unused variable: buf [unusedVariable] Argyll_V3.3.0/spectro/kleink10.c:1996:9: style: Variable 'putime' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/kleink10.c:2019:10: style: Variable 'putime' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/kleink10.c:1964:9: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/spectro/kleink10.c:1964:12: style: Unused variable: k [unusedVariable] Argyll_V3.3.0/spectro/kleink10.c:1965:9: style: Unused variable: sutime [unusedVariable] Argyll_V3.3.0/spectro/kleink10.c:1965:33: style: Unused variable: eutime [unusedVariable] Argyll_V3.3.0/spectro/kleink10.c:2151:12: style: Unused variable: ev [unusedVariable] Argyll_V3.3.0/spectro/kleink10.c:2272:14: style: Variable 'p' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/kleink10.c:2272:12: style: Variable 'p' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/kleink10.c:2354:12: style: Variable 'p' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/kleink10.c:2491:14: style: Variable 'p' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/kleink10.c:2491:12: style: Variable 'p' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/kleink10.c:2548:6: style: Unused variable: refrmode [unusedVariable] Argyll_V3.3.0/spectro/kleink10.c:2591:15: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/kleink10.c:2800:23: style: Variable 'lstate' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/kleink10.c:2781:6: style: Unused variable: se [unusedVariable] Argyll_V3.3.0/spectro/kleink10.c:2800:16: style: Variable 'lstate' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/smcube.c:557:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inst_mrt_reflective [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/smcube.c:1300:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmD50_100 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/smcube.c:1346:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmD50_100 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/smcube.c:2020:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmD50_100 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/smcube.c:2036:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARGYLL_VERSION [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/smcube.c:2117:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARGYLL_VERSION [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/specbos.c:1167:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inst_mrt_none [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/smcube.c:634:65: style: Condition '(ev=smcube_get_n_a_cals((struct inst*)p,&needed,&available))!=inst_ok' is always false [knownConditionTrueFalse] Argyll_V3.3.0/spectro/smcube.c:634:31: note: Calling function 'smcube_get_n_a_cals' returns 0 Argyll_V3.3.0/spectro/smcube.c:634:65: note: Condition '(ev=smcube_get_n_a_cals((struct inst*)p,&needed,&available))!=inst_ok' is always false Argyll_V3.3.0/spectro/smcube.c:1027:38: style: Condition '(ev=set_disp_type(p,dentry))!=inst_ok' is always false [knownConditionTrueFalse] Argyll_V3.3.0/spectro/smcube.c:1027:25: note: Calling function 'set_disp_type' returns 0 Argyll_V3.3.0/spectro/smcube.c:1027:38: note: Condition '(ev=set_disp_type(p,dentry))!=inst_ok' is always false Argyll_V3.3.0/spectro/smcube.c:471:13: style: Redundant initialization for 'currcount'. The initialized value is overwritten before it is read. [redundantInitialization] Argyll_V3.3.0/spectro/smcube.c:467:17: note: currcount is initialized Argyll_V3.3.0/spectro/smcube.c:471:13: note: currcount is overwritten Argyll_V3.3.0/spectro/smcube.c:1139:49: style:inconclusive: Function 'new_smcube' argument 2 names different: declaration 'itype' definition 'dtype'. [funcArgNamesDifferent] Argyll_V3.3.0/spectro/smcube.h:119:49: note: Function 'new_smcube' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/smcube.c:1139:49: note: Function 'new_smcube' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/smcube.c:272:15: style: Local variable 'ev' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/smcube.c:210:12: note: Shadowed declaration Argyll_V3.3.0/spectro/smcube.c:272:15: note: Shadow variable Argyll_V3.3.0/spectro/smcube.c:1961:7: style: Local variable 'e' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/smcube.c:1939:6: note: Shadowed declaration Argyll_V3.3.0/spectro/smcube.c:1961:7: note: Shadow variable Argyll_V3.3.0/spectro/smcube.c:1981:7: style: Local variable 'e' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/smcube.c:1939:6: note: Shadowed declaration Argyll_V3.3.0/spectro/smcube.c:1981:7: note: Shadow variable Argyll_V3.3.0/spectro/smcube.c:1999:7: style: Local variable 'e' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/smcube.c:1939:6: note: Shadowed declaration Argyll_V3.3.0/spectro/smcube.c:1999:7: note: Shadow variable Argyll_V3.3.0/spectro/smcube.c:751:27: style: Parameter 'pp' can be declared as pointer to const. However it seems that 'smcube_interp_error' is a callback function, if 'pp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/smcube.c:1159:25: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/smcube.c:751:27: note: Parameter 'pp' can be declared as pointer to const Argyll_V3.3.0/spectro/smcube.c:801:26: style: Parameter 'pp' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/smcube.c:877:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/smcube.c:987:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/smcube.c:1000:61: style: Parameter 'dentry' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/smcube.c:1676:6: style: Variable 'normal' can be declared as const array [constVariable] Argyll_V3.3.0/spectro/smcube.c:1732:35: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/smcube.c:1938:47: style: Parameter 'irgb' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/smcube.c:210:15: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/smcube.c:273:13: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/smcube.c:207:11: style: Variable 'dtype' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/smcube.c:365:15: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/smcube.c:365:12: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/smcube.c:385:15: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/smcube.c:384:7: style: Unused variable: mes [unusedVariable] Argyll_V3.3.0/spectro/smcube.c:385:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/smcube.c:386:6: style: Unused variable: ver [unusedVariable] Argyll_V3.3.0/spectro/smcube.c:451:6: style: Unused variable: ec [unusedVariable] Argyll_V3.3.0/spectro/smcube.c:473:8: style: Unused variable: cerr [unusedVariable] Argyll_V3.3.0/spectro/smcube.c:877:12: style: Variable 'p' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/smcube.c:877:10: style: Variable 'p' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/smcube.c:928:6: style: Unused variable: refrmode [unusedVariable] Argyll_V3.3.0/spectro/smcube.c:987:12: style: Variable 'p' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/smcube.c:988:15: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/smcube.c:987:10: style: Variable 'p' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/smcube.c:988:12: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/smcube.c:1001:12: style: Unused variable: rv [unusedVariable] Argyll_V3.3.0/spectro/smcube.c:1002:6: style: Unused variable: refrmode [unusedVariable] Argyll_V3.3.0/spectro/smcube.c:1070:15: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/smcube.c:1070:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/smcube.c:1114:11: style: Unused variable: args [unusedVariable] Argyll_V3.3.0/spectro/smcube.c:1184:6: style: Unused variable: se [unusedVariable] Argyll_V3.3.0/spectro/smcube.c:1219:15: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/smcube.c:1219:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/smcube.c:1265:6: style: Unused variable: itime [unusedVariable] Argyll_V3.3.0/spectro/smcube.c:1313:15: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/smcube.c:1313:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/smcube.c:1371:6: style: Unused variable: itime [unusedVariable] Argyll_V3.3.0/spectro/smcube.c:1417:6: style: Unused variable: itime [unusedVariable] Argyll_V3.3.0/spectro/smcube.c:1460:6: style: Unused variable: itime [unusedVariable] Argyll_V3.3.0/spectro/smcube.c:1505:15: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/smcube.c:1508:11: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/smcube.c:1519:6: style: Unused variable: itime [unusedVariable] Argyll_V3.3.0/spectro/smcube.c:1568:6: style: Unused variable: itime [unusedVariable] Argyll_V3.3.0/spectro/smcube.c:1616:6: style: Unused variable: itime [unusedVariable] Argyll_V3.3.0/spectro/smcube.c:1747:9: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/spectro/smcube.c:1855:9: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/spectro/smcube.c:2033:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/smcube.c:2091:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/smcube.c:2091:9: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/spectro/smcube.c:2192:9: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/smcube.c:2192:6: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/smcube.c:2194:6: style: Unused variable: rv [unusedVariable] Argyll_V3.3.0/spectro/spec2cie.c:83:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/spec2cie.c:127:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmSigDefaultData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/spec2cie.c:899:7: style: The if condition is the same as the previous if condition [duplicateCondition] Argyll_V3.3.0/spectro/spec2cie.c:824:7: note: First condition Argyll_V3.3.0/spectro/spec2cie.c:899:7: note: Second condition Argyll_V3.3.0/spectro/spec2cie.c:526:7: style: Local variable 'ti' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/spec2cie.c:152:6: note: Shadowed declaration Argyll_V3.3.0/spectro/spec2cie.c:526:7: note: Shadow variable Argyll_V3.3.0/spectro/spec2cie.c:538:7: style: Local variable 'ti' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/spec2cie.c:152:6: note: Shadowed declaration Argyll_V3.3.0/spectro/spec2cie.c:538:7: note: Shadow variable Argyll_V3.3.0/spectro/spec2cie.c:650:7: style: Local variable 'ti' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/spec2cie.c:152:6: note: Shadowed declaration Argyll_V3.3.0/spectro/spec2cie.c:650:7: note: Shadow variable Argyll_V3.3.0/spectro/spec2cie.c:773:9: style: Local variable 'buf' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/spec2cie.c:659:8: note: Shadowed declaration Argyll_V3.3.0/spectro/spec2cie.c:773:9: note: Shadow variable Argyll_V3.3.0/spectro/spec2cie.c:951:9: style: Local variable 'buf' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/spec2cie.c:659:8: note: Shadowed declaration Argyll_V3.3.0/spectro/spec2cie.c:951:9: note: Shadow variable Argyll_V3.3.0/spectro/spec2cie.c:1023:9: style: Local variable 'ii' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/spec2cie.c:650:11: note: Shadowed declaration Argyll_V3.3.0/spectro/spec2cie.c:1023:9: note: Shadow variable Argyll_V3.3.0/spectro/spec2cie.c:539:9: style: Variable 'tos' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/spyd2.c:2758:0: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] Argyll_V3.3.0/spectro/spyd2.c:2758:3: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] Argyll_V3.3.0/spectro/specbos.c:374:11: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] Argyll_V3.3.0/spectro/specbos.c:372:17: note: outer condition: i<3 Argyll_V3.3.0/spectro/specbos.c:374:11: note: identical inner condition: i<3 Argyll_V3.3.0/spectro/specbos.c:382:11: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] Argyll_V3.3.0/spectro/specbos.c:372:17: note: outer condition: i<3 Argyll_V3.3.0/spectro/specbos.c:382:11: note: identical inner condition: i<3 Argyll_V3.3.0/spectro/specbos.c:767:11: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] Argyll_V3.3.0/spectro/specbos.c:763:17: note: outer condition: i<3 Argyll_V3.3.0/spectro/specbos.c:767:11: note: identical inner condition: i<3 Argyll_V3.3.0/spectro/specbos.c:774:11: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] Argyll_V3.3.0/spectro/specbos.c:763:17: note: outer condition: i<3 Argyll_V3.3.0/spectro/specbos.c:774:11: note: identical inner condition: i<3 Argyll_V3.3.0/spectro/specbos.c:780:11: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] Argyll_V3.3.0/spectro/specbos.c:763:17: note: outer condition: i<3 Argyll_V3.3.0/spectro/specbos.c:780:11: note: identical inner condition: i<3 Argyll_V3.3.0/spectro/specbos.c:676:15: style: Condition 'maxtint<1000' is always false [knownConditionTrueFalse] Argyll_V3.3.0/spectro/specbos.c:669:22: note: Assignment 'dmaxtint=1.0', assigned value is 1.0 Argyll_V3.3.0/spectro/specbos.c:674:13: note: Assignment 'maxtint=(int)(dmaxtint*1000.0+0.5)', assigned value is 1000 Argyll_V3.3.0/spectro/specbos.c:676:15: note: Condition 'maxtint<1000' is always false Argyll_V3.3.0/spectro/specbos.c:676:33: style: Condition 'maxtint>64999' is always false [knownConditionTrueFalse] Argyll_V3.3.0/spectro/specbos.c:669:22: note: Assignment 'dmaxtint=1.0', assigned value is 1.0 Argyll_V3.3.0/spectro/specbos.c:674:13: note: Assignment 'maxtint=(int)(dmaxtint*1000.0+0.5)', assigned value is 1000 Argyll_V3.3.0/spectro/specbos.c:676:33: note: Condition 'maxtint>64999' is always false Argyll_V3.3.0/spectro/specbos.c:1805:66: style: Condition '(ev=specbos_get_n_a_cals((struct inst*)p,&needed,&available))!=inst_ok' is always false [knownConditionTrueFalse] Argyll_V3.3.0/spectro/specbos.c:1805:32: note: Calling function 'specbos_get_n_a_cals' returns 0 Argyll_V3.3.0/spectro/specbos.c:1805:66: note: Condition '(ev=specbos_get_n_a_cals((struct inst*)p,&needed,&available))!=inst_ok' is always false Argyll_V3.3.0/spectro/specbos.c:438:2: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] Argyll_V3.3.0/spectro/specbos.c:2658:51: style:inconclusive: Function 'new_specbos' argument 2 names different: declaration 'itype' definition 'dtype'. [funcArgNamesDifferent] Argyll_V3.3.0/spectro/specbos.h:183:51: note: Function 'new_specbos' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/specbos.c:2658:51: note: Function 'new_specbos' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/specbos.c:317:15: style: Local variable 'ev' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/specbos.c:242:12: note: Shadowed declaration Argyll_V3.3.0/spectro/specbos.c:317:15: note: Shadow variable Argyll_V3.3.0/spectro/specbos.c:368:7: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/specbos.c:238:20: note: Shadowed declaration Argyll_V3.3.0/spectro/specbos.c:368:7: note: Shadow variable Argyll_V3.3.0/spectro/specbos.c:1473:8: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/specbos.c:1449:7: note: Shadowed declaration Argyll_V3.3.0/spectro/specbos.c:1473:8: note: Shadow variable Argyll_V3.3.0/spectro/specbos.c:1834:13: style: Local variable 'ev' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/specbos.c:1794:12: note: Shadowed declaration Argyll_V3.3.0/spectro/specbos.c:1834:13: note: Shadow variable Argyll_V3.3.0/spectro/specbos.c:915:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/specbos.c:1625:27: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/specbos.c:1760:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/specbos.c:1915:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/specbos.c:1963:28: style: Parameter 'pp' can be declared as pointer to const. However it seems that 'specbos_interp_error' is a callback function, if 'pp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/specbos.c:2683:25: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/specbos.c:1963:28: note: Parameter 'pp' can be declared as pointer to const Argyll_V3.3.0/spectro/specbos.c:2125:27: style: Parameter 'pp' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/specbos.c:2255:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/specbos.c:2360:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/specbos.c:2463:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/specbos.c:2489:62: style: Parameter 'dentry' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/specbos.c:218:6: style: Unused variable: rv [unusedVariable] Argyll_V3.3.0/spectro/specbos.c:219:8: style: Unused variable: cp [unusedVariable] Argyll_V3.3.0/spectro/specbos.c:318:13: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/specbos.c:239:11: style: Variable 'dtype' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/specbos.c:1417:11: style: Variable 'ec' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/specbos.c:1501:7: style: Variable 'w' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/specbos.c:1323:14: style: Unused variable: xsize [unusedVariable] Argyll_V3.3.0/spectro/specbos.c:1459:11: style: Unused variable: vv [unusedVariable] Argyll_V3.3.0/spectro/specbos.c:1473:18: style: Unused variable: k [unusedVariable] Argyll_V3.3.0/spectro/specbos.c:1684:7: style: Unused variable: buf [unusedVariable] Argyll_V3.3.0/spectro/specbos.c:1720:6: style: Unused variable: mul [unusedVariable] Argyll_V3.3.0/spectro/specbos.c:1721:9: style: Unused variable: pval [unusedVariable] Argyll_V3.3.0/spectro/specbos.c:1854:7: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/specbos.c:2464:15: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/specbos.c:2464:12: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/specbos.c:2554:15: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/spydX.c:103:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IUSB_REQ_TYPE_VENDOR [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/spydX.c:846:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inst_mrt_ambient [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/spydX.c:1491:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARGYLL_VERSION [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/spydX.c:1560:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARGYLL_VERSION [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/spydX2.c:104:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IUSB_REQ_TYPE_VENDOR [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/spydX2.c:853:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inst_mrt_ambient [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/spydX2.c:1505:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARGYLL_VERSION [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/spydX2.c:1574:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARGYLL_VERSION [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/spydX.c:950:64: style: Condition '(ev=spydX_get_n_a_cals((struct inst*)p,&needed,&available))!=inst_ok' is always false [knownConditionTrueFalse] Argyll_V3.3.0/spectro/spydX.c:950:30: note: Calling function 'spydX_get_n_a_cals' returns 0 Argyll_V3.3.0/spectro/spydX.c:950:64: note: Condition '(ev=spydX_get_n_a_cals((struct inst*)p,&needed,&available))!=inst_ok' is always false Argyll_V3.3.0/spectro/spydX.c:829:11: style: Variable 'ev' is reassigned a value before the old one has been used. [redundantAssignment] Argyll_V3.3.0/spectro/spydX.c:826:6: note: ev is assigned Argyll_V3.3.0/spectro/spydX.c:829:11: note: ev is overwritten Argyll_V3.3.0/spectro/spydX.c:1450:47: style:inconclusive: Function 'new_spydX' argument 2 names different: declaration 'itype' definition 'dtype'. [funcArgNamesDifferent] Argyll_V3.3.0/spectro/spydX.h:138:47: note: Function 'new_spydX' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/spydX.c:1450:47: note: Function 'new_spydX' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/spydX.c:120:17: style: Parameter 'send' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/spydX.c:1002:26: style: Parameter 'pp' can be declared as pointer to const. However it seems that 'spydX_interp_error' is a callback function, if 'pp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/spydX.c:1472:25: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/spydX.c:1002:26: note: Parameter 'pp' can be declared as pointer to const Argyll_V3.3.0/spectro/spydX.c:1033:25: style: Parameter 'pp' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/spydX.c:1096:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/spydX.c:1123:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/spydX.c:1387:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/spydX.c:490:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/spydX.c:579:32: style: Unused variable: amb [unusedVariable] Argyll_V3.3.0/spectro/spydX.c:716:6: style: Unused variable: stat [unusedVariable] Argyll_V3.3.0/spectro/spydX.c:717:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/spydX.c:943:6: style: Unused variable: ec [unusedVariable] Argyll_V3.3.0/spectro/spydX.c:1096:11: style: Variable 'p' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/spydX.c:1096:9: style: Variable 'p' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/spydX.c:1217:15: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/spydX.c:1406:15: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/spydX.c:1406:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/spydX.c:1488:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/spydX.c:1533:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/spydX.c:1533:9: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/spectro/spydX.c:1606:9: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/spydX.c:1606:6: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/spydX.c:1608:6: style: Unused variable: rv [unusedVariable] Argyll_V3.3.0/spectro/spydX2.c:959:65: style: Condition '(ev=spydX2_get_n_a_cals((struct inst*)p,&needed,&available))!=inst_ok' is always false [knownConditionTrueFalse] Argyll_V3.3.0/spectro/spydX2.c:959:31: note: Calling function 'spydX2_get_n_a_cals' returns 0 Argyll_V3.3.0/spectro/spydX2.c:959:65: note: Condition '(ev=spydX2_get_n_a_cals((struct inst*)p,&needed,&available))!=inst_ok' is always false Argyll_V3.3.0/spectro/spydX2.c:836:11: style: Variable 'ev' is reassigned a value before the old one has been used. [redundantAssignment] Argyll_V3.3.0/spectro/spydX2.c:833:6: note: ev is assigned Argyll_V3.3.0/spectro/spydX2.c:836:11: note: ev is overwritten Argyll_V3.3.0/spectro/spydX2.c:1464:49: style:inconclusive: Function 'new_spydX2' argument 2 names different: declaration 'itype' definition 'dtype'. [funcArgNamesDifferent] Argyll_V3.3.0/spectro/spydX2.h:145:49: note: Function 'new_spydX2' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/spydX2.c:1464:49: note: Function 'new_spydX2' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/spydX2.c:121:17: style: Parameter 'send' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/spydX2.c:1011:27: style: Parameter 'pp' can be declared as pointer to const. However it seems that 'spydX2_interp_error' is a callback function, if 'pp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/spydX2.c:1486:25: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/spydX2.c:1011:27: note: Parameter 'pp' can be declared as pointer to const Argyll_V3.3.0/spectro/spydX2.c:1042:26: style: Parameter 'pp' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/spydX2.c:1105:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/spydX2.c:1132:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/spydX2.c:1401:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/spydX2.c:483:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/spydX2.c:591:32: style: Unused variable: amb [unusedVariable] Argyll_V3.3.0/spectro/spydX2.c:727:6: style: Unused variable: stat [unusedVariable] Argyll_V3.3.0/spectro/spydX2.c:728:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/spydX2.c:952:6: style: Unused variable: ec [unusedVariable] Argyll_V3.3.0/spectro/spydX2.c:1105:12: style: Variable 'p' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/spydX2.c:1105:10: style: Variable 'p' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/spydX2.c:1235:15: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/spydX2.c:1420:15: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/spydX2.c:1420:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/spydX2.c:1502:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/spydX2.c:1547:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/spydX2.c:1547:9: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/spectro/spydX2.c:1620:9: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/spydX2.c:1620:6: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/spydX2.c:1622:6: style: Unused variable: rv [unusedVariable] Argyll_V3.3.0/spectro/ss.c:829:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inst_mrt_none [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/ss.c:1242:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inst_mrt_transmissive [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/ss_imp.c:155:33: style: Parameter 't' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/ss_imp.c:188:9: style: Variable 'rr' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/ss_imp.c:188:24: style: Variable 're' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/ss_imp.c:353:27: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/ss_imp.c:713:8: style: Parameter 'sp' can be declared as const array [constParameter] Argyll_V3.3.0/spectro/ss_imp.c:731:8: style: Parameter 'dv' can be declared as const array [constParameter] Argyll_V3.3.0/spectro/ss_imp.c:825:8: style: Parameter 'sp' can be declared as const array [constParameter] Argyll_V3.3.0/spectro/ss_imp.c:899:8: style: Parameter 'sp' can be declared as const array [constParameter] Argyll_V3.3.0/spectro/ss.c:1521:41: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] Argyll_V3.3.0/spectro/ss.c:1518:40: note: outer condition: (p->mode&inst_mode_illum_mask)==inst_mode_transmission Argyll_V3.3.0/spectro/ss.c:1521:41: note: identical inner condition: (p->mode&inst_mode_illum_mask)==inst_mode_transmission Argyll_V3.3.0/spectro/ss.c:605:6: style: Condition '!p->gotcoms' is always false [knownConditionTrueFalse] Argyll_V3.3.0/spectro/ss.c:607:6: style: Condition '!p->inited' is always false [knownConditionTrueFalse] Argyll_V3.3.0/spectro/ss.c:1382:61: style: Condition '(rv=ss_get_n_a_cals((struct inst*)p,&needed,&available))!=inst_ok' is always false [knownConditionTrueFalse] Argyll_V3.3.0/spectro/ss.c:1382:27: note: Calling function 'ss_get_n_a_cals' returns 0 Argyll_V3.3.0/spectro/ss.c:1382:61: note: Condition '(rv=ss_get_n_a_cals((struct inst*)p,&needed,&available))!=inst_ok' is always false Argyll_V3.3.0/spectro/ss.c:1479:14: style: Variable 'rv' is reassigned a value before the old one has been used. [redundantAssignment] Argyll_V3.3.0/spectro/ss.c:1463:8: note: rv is assigned Argyll_V3.3.0/spectro/ss.c:1479:14: note: rv is overwritten Argyll_V3.3.0/spectro/ss.c:1579:12: style: Variable 'rv' is reassigned a value before the old one has been used. [redundantAssignment] Argyll_V3.3.0/spectro/ss.c:1575:8: note: rv is assigned Argyll_V3.3.0/spectro/ss.c:1579:12: note: rv is overwritten Argyll_V3.3.0/spectro/ss.c:2129:41: style:inconclusive: Function 'new_ss' argument 2 names different: declaration 'itype' definition 'dtype'. [funcArgNamesDifferent] Argyll_V3.3.0/spectro/ss.h:121:41: note: Function 'new_ss' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/ss.c:2129:41: note: Function 'new_ss' argument 2 names different: declaration 'itype' definition 'dtype'. Argyll_V3.3.0/spectro/ss.c:244:15: style: Local variable 'ev' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/ss.c:170:12: note: Shadowed declaration Argyll_V3.3.0/spectro/ss.c:244:15: note: Shadow variable Argyll_V3.3.0/spectro/ss.c:1291:11: style: Local variable 'rvf' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/ss.c:1247:10: note: Shadowed declaration Argyll_V3.3.0/spectro/ss.c:1291:11: note: Shadow variable Argyll_V3.3.0/spectro/ss.c:1292:11: style: Local variable 'af' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/ss.c:1248:10: note: Shadowed declaration Argyll_V3.3.0/spectro/ss.c:1292:11: note: Shadow variable Argyll_V3.3.0/spectro/ss.c:1293:11: style: Local variable 'wb' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/ss.c:1249:10: note: Shadowed declaration Argyll_V3.3.0/spectro/ss.c:1293:11: note: Shadow variable Argyll_V3.3.0/spectro/ss.c:438:8: style: Variable 'envv' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/ss.c:564:6: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/ss.c:918:7: style: Parameter 'pp' can be declared as pointer to const. However it seems that 'ss_read_strip' is a callback function, if 'pp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/ss.c:2154:21: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/ss.c:918:7: note: Parameter 'pp' can be declared as pointer to const Argyll_V3.3.0/spectro/ss.c:919:7: style: Parameter 'name' can be declared as pointer to const. However it seems that 'ss_read_strip' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/ss.c:2154:21: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/ss.c:919:7: note: Parameter 'name' can be declared as pointer to const Argyll_V3.3.0/spectro/ss.c:921:7: style: Parameter 'pname' can be declared as pointer to const. However it seems that 'ss_read_strip' is a callback function, if 'pname' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/ss.c:2154:21: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/ss.c:921:7: note: Parameter 'pname' can be declared as pointer to const Argyll_V3.3.0/spectro/ss.c:926:9: style: Parameter 'vals' can be declared as pointer to const. However it seems that 'ss_read_strip' is a callback function, if 'vals' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/ss.c:2154:21: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/ss.c:926:9: note: Parameter 'vals' can be declared as pointer to const Argyll_V3.3.0/spectro/ss.c:1327:6: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/ss.c:1642:23: style: Parameter 'pp' can be declared as pointer to const. However it seems that 'ss_interp_error' is a callback function, if 'pp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/ss.c:2158:21: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/ss.c:1642:23: note: Parameter 'pp' can be declared as pointer to const Argyll_V3.3.0/spectro/ss.c:1942:11: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/ss.c:245:13: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/synthcal.c:42:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/synthcal.c:79:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/synthread.c:48:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/synthread.c:169:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error_program [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/synthcal.c:301:20: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Argyll_V3.3.0/spectro/synthcal.c:302:15: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] Argyll_V3.3.0/spectro/synthcal.c:298:10: style: Local variable 'j' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/synthcal.c:77:6: note: Shadowed declaration Argyll_V3.3.0/spectro/synthcal.c:298:10: note: Shadow variable Argyll_V3.3.0/spectro/synthcal.c:86:8: style: Variable 'bident' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/synthcal.c:301:14: style: Variable 'tsp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/usbio_bsd.c:109:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_bsd.c:208:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_bsd.c:435:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_bsd.c:455:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_bsd.c:669:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_bsd.c:722:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_bsd.c:743:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_bsd.c:760:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_bsd.c:68:8: style: Variable 'paths' can be declared as const array [constVariable] Argyll_V3.3.0/spectro/usbio_bsd.c:79:8: style: Variable 'dpath' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/usbio_bsd.c:441:9: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/usbio_bsd.c:442:15: style: Parameter 'cancelt' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/usbio_bsd.c:443:7: style: Parameter 'transferred' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/usbio_bsd.c:446:17: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/usbio_bsd.c:719:9: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/usbio_bsd.c:720:15: style: Parameter 'cancelt' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/usbio_bsd.c:740:9: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/usbio_bsd.c:757:9: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/usbio_bsd.c:90:11: style: Variable 'found' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/usbio_bsd.c:309:16: style: Variable 'tries' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/usbio_bsd.c:309:6: style: Unused variable: rv [unusedVariable] Argyll_V3.3.0/spectro/usbio_bsd.c:309:10: style: Variable 'tries' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/usbio_bsd.c:453:14: style: Variable 'xlength' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/usbio_bsd.c:450:6: style: Unused variable: type [unusedVariable] Argyll_V3.3.0/spectro/usbio_bsd.c:451:6: style: Unused variable: remlen [unusedVariable] Argyll_V3.3.0/spectro/usbio_bsd.c:452:17: style: Unused variable: bp [unusedVariable] Argyll_V3.3.0/spectro/usbio_bsd.c:453:6: style: Variable 'xlength' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/usbio_bsd.c:454:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/usbio_bsd.c:670:11: style: Variable 'dirw' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/usbio_bsd.c:670:6: style: Variable 'dirw' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/usbio_bsd.c:671:17: style: Unused variable: buf [unusedVariable] Argyll_V3.3.0/spectro/usbio_dk.c:207:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_SYS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_dk.c:397:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_dk.c:440:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_dk.c:516:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_NOTS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_dk.c:616:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_dk.c:734:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_dk.c:827:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_dk.c:850:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_SYS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_dk.c:864:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_SYS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_dk.c:519:4: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] Argyll_V3.3.0/spectro/usbio_dk.c:510:7: style: Local variable 'rv' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/usbio_dk.c:502:6: note: Shadowed declaration Argyll_V3.3.0/spectro/usbio_dk.c:510:7: note: Shadow variable Argyll_V3.3.0/spectro/usbio_dk.c:62:8: style: Variable 'pf' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/usbio_dk.c:274:24: style: Variable 'zp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/usbio_dk.c:343:34: error: Uninitialized variable: ifaceno [uninitvar] Argyll_V3.3.0/spectro/usbio_dk.c:332:19: note: Assuming condition is false Argyll_V3.3.0/spectro/usbio_dk.c:343:34: note: Uninitialized variable: ifaceno Argyll_V3.3.0/spectro/usbio_dk.c:329:14: style: Variable 'ifaceno' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/usbio_dk.c:502:16: style: Variable 'tries' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/usbio_dk.c:502:6: style: Unused variable: rv [unusedVariable] Argyll_V3.3.0/spectro/usbio_dk.c:510:7: style: Unused variable: rv [unusedVariable] Argyll_V3.3.0/spectro/usbio_dk.c:510:14: style: Unused variable: iface [unusedVariable] Argyll_V3.3.0/spectro/synthread.c:163:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Argyll_V3.3.0/spectro/synthread.c:164:14: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] Argyll_V3.3.0/spectro/synthread.c:401:13: warning:inconclusive: Either the condition '(sep_icco=new_icc(&err))==NULL' is redundant or there is possible null pointer dereference: sep_icco. [nullPointerRedundantCheck] Argyll_V3.3.0/spectro/synthread.c:397:34: note: Assuming that condition '(sep_icco=new_icc(&err))==NULL' is not redundant Argyll_V3.3.0/spectro/synthread.c:401:13: note: Null pointer dereference Argyll_V3.3.0/spectro/synthread.c:410:4: warning: Either the condition '(sep_luo=(icmLuSpace*)sep_icco->get_luobj(sep_icco,icmFwd,icmDefaultIntent,icmSigDefaultData,icmLuOrdNorm))==NULL' is redundant or there is possible null pointer dereference: sep_luo. [nullPointerRedundantCheck] Argyll_V3.3.0/spectro/synthread.c:405:123: note: Assuming that condition '(sep_luo=(icmLuSpace*)sep_icco->get_luobj(sep_icco,icmFwd,icmDefaultIntent,icmSigDefaultData,icmLuOrdNorm))==NULL' is not redundant Argyll_V3.3.0/spectro/synthread.c:410:4: note: Null pointer dereference Argyll_V3.3.0/spectro/synthread.c:476:7: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/synthread.c:124:6: note: Shadowed declaration Argyll_V3.3.0/spectro/synthread.c:476:7: note: Shadow variable Argyll_V3.3.0/spectro/synthread.c:476:10: style: Local variable 'j' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/synthread.c:124:9: note: Shadowed declaration Argyll_V3.3.0/spectro/synthread.c:476:10: note: Shadow variable Argyll_V3.3.0/spectro/synthread.c:47:13: style: Parameter 'mes' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/synthread.c:90:57: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/synthread.c:214:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/synthread.c:76:9: style: struct member 'synthmodel::wnf' is never used. [unusedStructMember] Argyll_V3.3.0/spectro/synthread.c:124:15: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/synthread.c:126:11: style: Variable 'verb' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/synthread.c:176:7: style: Variable 'outn' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/synthread.c:177:7: style: Variable 'outs' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/synthread.c:235:10: style: Variable 'verb' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/synthread.c:401:11: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/synthread.c:155:9: style: Variable 'wp' is not assigned a value. [unassignedVariable] Argyll_V3.3.0/spectro/synthread.c:155:16: style: Unused variable: bp [unusedVariable] Argyll_V3.3.0/spectro/synthread.c:562:11: style: Unused variable: out [unusedVariable] Argyll_V3.3.0/spectro/usbio_lx.c:86:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IUSB_DESC_TYPE_DEVICE_SIZE [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_lx.c:299:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_lx.c:340:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_lx.c:384:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IUSB_DESC_TYPE_DEVICE_SIZE [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_lx.c:455:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_NOTS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_lx.c:616:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_lx.c:650:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_lx.c:785:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_lx.c:1006:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_lx.c:1057:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_lx.c:1076:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_lx.c:1091:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_nt.c:48:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_nt.c:25:2: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] Argyll_V3.3.0/spectro/usbio_nt.c:49:2: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] Argyll_V3.3.0/spectro/usbio_nt.c:121:1: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] Argyll_V3.3.0/spectro/usbio_nt.c:143:1: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] Argyll_V3.3.0/spectro/usbio_nt.c:164:1: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] Argyll_V3.3.0/spectro/usbio_nt.c:178:1: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] Argyll_V3.3.0/spectro/usbio_nt.c:192:1: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] Argyll_V3.3.0/spectro/usbio_nt.c:206:1: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] Argyll_V3.3.0/spectro/usbio_nt.c:23:12: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/usbio_nt.c:45:46: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/usbio_nt.c:60:46: style: Parameter 'usbd' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/usbio_nt.c:75:25: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/usbio_nt.c:90:28: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/usbio_nt.c:106:8: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/usbio_nt.c:127:9: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/usbio_nt.c:128:15: style: Parameter 'cancelt' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/usbio_nt.c:129:7: style: Parameter 'transferred' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/usbio_nt.c:132:17: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/usbio_nt.c:147:9: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/usbio_nt.c:148:7: style: Parameter 'transferred' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/usbio_nt.c:153:17: style: Parameter 'bytes' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/usbio_nt.c:168:9: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/usbio_nt.c:169:15: style: Parameter 'cancelt' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/usbio_nt.c:182:9: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/usbio_nt.c:196:9: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/usbio_nt.c:213:45: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/usbio_nt.c:223:47: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/usbio_nt.c:25:9: style: Variable 'w0' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/usbio_nt.c:25:6: style: Variable 'w0' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/usbio_nt.c:25:14: style: Unused variable: dk [unusedVariable] Argyll_V3.3.0/spectro/usbio_ox.c:46:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kIOUSBDeviceClassName [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_ox.c:210:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_ox.c:261:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usb_idevice [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_ox.c:274:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icomuf_reset_before_close [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_ox.c:328:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_NOTS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_ox.c:585:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_ox.c:734:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_ox.c:787:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_ox.c:810:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_ox.c:829:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_ox.c:643:3: error: Address of local auto-variable assigned to a function parameter. [autoVariables] Argyll_V3.3.0/spectro/usbio_ox.c:740:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] Argyll_V3.3.0/spectro/usbio_ox.c:182:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Argyll_V3.3.0/spectro/usbio_ox.c:66:16: style: Local variable 'vid' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/usbio_ox.c:40:6: note: Shadowed declaration Argyll_V3.3.0/spectro/usbio_ox.c:66:16: note: Shadow variable Argyll_V3.3.0/spectro/usbio_ox.c:66:25: style: Local variable 'pid' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/usbio_ox.c:40:11: note: Shadowed declaration Argyll_V3.3.0/spectro/usbio_ox.c:66:25: note: Shadow variable Argyll_V3.3.0/spectro/usbio_ox.c:40:6: style: Unused variable: vid [unusedVariable] Argyll_V3.3.0/spectro/usbio_ox.c:40:11: style: Unused variable: pid [unusedVariable] Argyll_V3.3.0/spectro/usbio_ox.c:62:29: style: Variable 'usbprops' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/usbio_ox.c:207:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/spectro/usbio_ox.c:316:12: style: Variable 'tries' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/usbio_ox.c:585:23: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/usbio_ox.c:794:11: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/usbio_lx.c:872:3: error: Address of local auto-variable assigned to a function parameter. [autoVariables] Argyll_V3.3.0/spectro/usbio_lx.c:276:17: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] Argyll_V3.3.0/spectro/usbio_lx.c:291:19: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] Argyll_V3.3.0/spectro/usbio_lx.c:1041:87: warning: Either the condition 'transferred!=NULL' is redundant or there is possible null pointer dereference: transferred. [nullPointerRedundantCheck] Argyll_V3.3.0/spectro/usbio_lx.c:1036:18: note: Assuming that condition 'transferred!=NULL' is not redundant Argyll_V3.3.0/spectro/usbio_lx.c:1041:87: note: Null pointer dereference Argyll_V3.3.0/spectro/usbio_lx.c:403:18: style: Local variable 'buf' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/usbio_lx.c:384:17: note: Shadowed declaration Argyll_V3.3.0/spectro/usbio_lx.c:403:18: note: Shadow variable Argyll_V3.3.0/spectro/usbio_lx.c:450:7: style: Local variable 'rv' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/usbio_lx.c:442:6: note: Shadowed declaration Argyll_V3.3.0/spectro/usbio_lx.c:450:7: note: Shadow variable Argyll_V3.3.0/spectro/usbio_lx.c:44:45: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/usbio_lx.c:54:47: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/usbio_lx.c:139:30: style: Variable 'zp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/usbio_lx.c:270:19: style: Variable 'e1' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/usbio_lx.c:284:21: style: Variable 'e2' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/usbio_lx.c:403:18: style: Variable 'buf' can be declared as const array [constVariable] Argyll_V3.3.0/spectro/usbio_lx.c:204:33: error: Uninitialized variable: ifaceno [uninitvar] Argyll_V3.3.0/spectro/usbio_lx.c:193:18: note: Assuming condition is false Argyll_V3.3.0/spectro/usbio_lx.c:204:33: note: Uninitialized variable: ifaceno Argyll_V3.3.0/spectro/usbio_lx.c:190:13: style: Variable 'ifaceno' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/usbio_lx.c:138:26: style: Unused variable: inface [unusedVariable] Argyll_V3.3.0/spectro/usbio_lx.c:258:6: style: Unused variable: vid [unusedVariable] Argyll_V3.3.0/spectro/usbio_lx.c:258:11: style: Unused variable: pid [unusedVariable] Argyll_V3.3.0/spectro/usbio_lx.c:383:23: style: Unused variable: urb [unusedVariable] Argyll_V3.3.0/spectro/usbio_lx.c:384:17: style: Unused variable: buf [unusedVariable] Argyll_V3.3.0/spectro/usbio_lx.c:442:16: style: Variable 'tries' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/usbio_lx.c:442:6: style: Unused variable: rv [unusedVariable] Argyll_V3.3.0/spectro/usbio_lx.c:616:12: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/usbio_lx.c:626:7: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/usbio_w0.c:53:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OVERLAPPED [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_w0.c:95:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IUSB_DESC_TYPE_DEVICE_SIZE [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_w0.c:328:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_w0.c:381:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_DEVICE_UNKNOWN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_w0.c:439:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_NOTS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_w0.c:571:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_w0.c:681:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_w0.c:831:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_w0.c:857:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_w0.c:879:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICOM_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/vinflate.c:505:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/vinflate.c:785:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/usbio_w0.c:442:4: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] Argyll_V3.3.0/spectro/usbio_w0.c:432:7: style: Local variable 'rv' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/usbio_w0.c:424:6: note: Shadowed declaration Argyll_V3.3.0/spectro/usbio_w0.c:432:7: note: Shadow variable Argyll_V3.3.0/spectro/usbio_w0.c:164:31: style: Variable 'zp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/driver_api.h:187:37: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] Argyll_V3.3.0/spectro/usbio_w0.c:252:34: error: Uninitialized variable: ifaceno [uninitvar] Argyll_V3.3.0/spectro/usbio_w0.c:241:19: note: Assuming condition is false Argyll_V3.3.0/spectro/usbio_w0.c:252:34: note: Uninitialized variable: ifaceno Argyll_V3.3.0/spectro/usbio_w0.c:238:14: style: Variable 'ifaceno' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/usbio_w0.c:165:27: style: Unused variable: inface [unusedVariable] Argyll_V3.3.0/spectro/usbio_w0.c:424:16: style: Variable 'tries' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/usbio_w0.c:424:6: style: Unused variable: rv [unusedVariable] Argyll_V3.3.0/spectro/vinflate.c:254:6: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/vinflate.c:255:6: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/vinflate.c:268:22: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/vtpglut.c:89:10: style: Parameter 'p' can be declared as pointer to const. However it seems that 'init_coms' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/vtpglut.c:320:18: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/vtpglut.c:89:10: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/vtpglut.c:96:10: style: Parameter 'p' can be declared as pointer to const. However it seems that 'init_vtpglut' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/vtpglut.c:322:21: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/vtpglut.c:96:10: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/vtpglut.c:109:37: style: Parameter 'p' can be declared as pointer to const. However it seems that 'get_serial_no' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/vtpglut.c:326:22: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/vtpglut.c:109:37: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/vtpglut.c:124:10: style: Parameter 'p' can be declared as pointer to const. However it seems that 'check_mode' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/vtpglut.c:330:19: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/vtpglut.c:124:10: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/vtpglut.c:131:10: style: Parameter 'p' can be declared as pointer to const. However it seems that 'set_mode' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/vtpglut.c:332:17: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/vtpglut.c:131:10: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/vtpglut.c:138:10: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/vtpglut.c:178:44: style: Parameter 'p' can be declared as pointer to const. However it seems that 'vtpglut_interp_error' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/vtpglut.c:340:29: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/vtpglut.c:178:44: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/vtpglut.c:221:36: style: Parameter 'p' can be declared as pointer to const. However it seems that 'interp_error' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/vtpglut.c:342:21: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/vtpglut.c:221:36: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/vtpglut.c:234:42: style: Parameter 'p' can be declared as pointer to const. However it seems that 'virtual_del' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/vtpglut.c:316:12: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/vtpglut.c:234:42: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/vtpglut.c:273:8: style: Variable 'itype' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/spectro/webwin.c:179:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/webwin.c:186:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/webwin.c:195:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/webwin.c:202:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/webwin.c:209:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/webwin.c:226:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/webwin.c:279:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/webwin.c:290:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/webwin.c:338:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/webwin.c:290:2: warning: Either the condition 'p==NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] Argyll_V3.3.0/spectro/webwin.c:292:8: note: Assuming that condition 'p==NULL' is not redundant Argyll_V3.3.0/spectro/webwin.c:290:2: note: Null pointer dereference Argyll_V3.3.0/spectro/webwin.c:403:36: warning: Either the condition '(url=mg_get_url(mg))==NULL' is redundant or there is possible null pointer dereference: url. [nullPointerRedundantCheck] Argyll_V3.3.0/spectro/webwin.c:401:30: note: Assuming that condition '(url=mg_get_url(mg))==NULL' is not redundant Argyll_V3.3.0/spectro/webwin.c:403:36: note: Null pointer dereference Argyll_V3.3.0/spectro/webwin.c:406:77: warning: Either the condition '(url=mg_get_url(mg))==NULL' is redundant or there is possible null pointer dereference: url. [nullPointerRedundantCheck] Argyll_V3.3.0/spectro/webwin.c:401:30: note: Assuming that condition '(url=mg_get_url(mg))==NULL' is not redundant Argyll_V3.3.0/spectro/webwin.c:406:77: note: Null pointer dereference Argyll_V3.3.0/spectro/webwin.c:399:19: style: Local variable 'url' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/webwin.c:333:8: note: Shadowed declaration Argyll_V3.3.0/spectro/webwin.c:399:19: note: Shadow variable Argyll_V3.3.0/spectro/webwin.c:98:9: style: Variable 'webdisp_js' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/webwin.c:178:43: style: Parameter 'p' can be declared as pointer to const. However it seems that 'webwin_get_ramdac' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/webwin.c:352:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/webwin.c:178:43: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/webwin.c:185:39: style: Parameter 'p' can be declared as pointer to const. However it seems that 'webwin_set_ramdac' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/webwin.c:353:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/webwin.c:185:39: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/webwin.c:194:37: style: Parameter 'p' can be declared as pointer to const. However it seems that 'webwin_install_profile' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/webwin.c:354:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/webwin.c:194:37: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/webwin.c:201:39: style: Parameter 'p' can be declared as pointer to const. However it seems that 'webwin_uninstall_profile' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/webwin.c:355:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/webwin.c:201:39: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/webwin.c:208:38: style: Parameter 'p' can be declared as pointer to const. However it seems that 'webwin_get_profile' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/webwin.c:356:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/webwin.c:208:38: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/webwin.c:269:35: style: Parameter 'p' can be declared as pointer to const. However it seems that 'webwin_set_fc' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/webwin.c:358:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/webwin.c:269:35: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/spectro/webwin.c:277:7: style: Parameter 'callout' can be declared as pointer to const. However it seems that 'webwin_set_callout' is a callback function, if 'callout' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/webwin.c:362:27: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/webwin.c:277:7: note: Parameter 'callout' can be declared as pointer to const Argyll_V3.3.0/spectro/webwin.c:58:6: style: Unused variable: src_addr [unusedVariable] Argyll_V3.3.0/spectro/webwin.c:223:9: style: Unused variable: kr [unusedVariable] Argyll_V3.3.0/spectro/webwin.c:223:13: style: Unused variable: kf [unusedVariable] Argyll_V3.3.0/spectro/webwin.c:329:8: style: Unused variable: cp [unusedVariable] Argyll_V3.3.0/spectro/webwin.c:333:8: style: Unused variable: url [unusedVariable] Argyll_V3.3.0/spectro/xdg_bds.c:164:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/xdg_bds.c:185:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/xdg_bds.c:208:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/xdg_bds.c:301:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/xrga.c:200:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inst_mrt_reflective [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/xrga.c:105:62: style: Parameter 'eq' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/alphix.c:200:2: warning: Either the condition '(p=(struct alphix*)calloc(1,sizeof(struct alphix)))==NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] Argyll_V3.3.0/target/alphix.c:197:47: note: Assuming that condition '(p=(struct alphix*)calloc(1,sizeof(struct alphix)))==NULL' is not redundant Argyll_V3.3.0/target/alphix.c:200:2: note: Null pointer dereference Argyll_V3.3.0/target/alphix.c:201:2: warning: Either the condition '(p=(struct alphix*)calloc(1,sizeof(struct alphix)))==NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] Argyll_V3.3.0/target/alphix.c:197:47: note: Assuming that condition '(p=(struct alphix*)calloc(1,sizeof(struct alphix)))==NULL' is not redundant Argyll_V3.3.0/target/alphix.c:201:2: note: Null pointer dereference Argyll_V3.3.0/target/alphix.c:202:2: warning: Either the condition '(p=(struct alphix*)calloc(1,sizeof(struct alphix)))==NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] Argyll_V3.3.0/target/alphix.c:197:47: note: Assuming that condition '(p=(struct alphix*)calloc(1,sizeof(struct alphix)))==NULL' is not redundant Argyll_V3.3.0/target/alphix.c:202:2: note: Null pointer dereference Argyll_V3.3.0/target/alphix.c:203:2: warning: Either the condition '(p=(struct alphix*)calloc(1,sizeof(struct alphix)))==NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] Argyll_V3.3.0/target/alphix.c:197:47: note: Assuming that condition '(p=(struct alphix*)calloc(1,sizeof(struct alphix)))==NULL' is not redundant Argyll_V3.3.0/target/alphix.c:203:2: note: Null pointer dereference Argyll_V3.3.0/target/alphix.c:207:7: warning: Either the condition '(p=(struct alphix*)calloc(1,sizeof(struct alphix)))==NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] Argyll_V3.3.0/target/alphix.c:197:47: note: Assuming that condition '(p=(struct alphix*)calloc(1,sizeof(struct alphix)))==NULL' is not redundant Argyll_V3.3.0/target/alphix.c:207:7: note: Null pointer dereference Argyll_V3.3.0/target/alphix.c:63:38: style: Parameter 'ax' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/alphix.c:108:33: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/alphix.c:159:34: style: Parameter 'p' can be declared as pointer to const. However it seems that 'alphix_maxlen' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/target/alphix.c:200:14: note: You might need to cast the function pointer here Argyll_V3.3.0/target/alphix.c:159:34: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/target/alphix.c:427:8: style: Parameter '_ax' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/xdg_bds.c:686:13: error: Common realloc mistake: 'fnames' nulled but not freed upon failure [memleakOnRealloc] Argyll_V3.3.0/spectro/xdg_bds.c:150:16: warning: If memory allocation fails, then there is a possible null pointer dereference: ss [nullPointerOutOfMemory] Argyll_V3.3.0/spectro/xdg_bds.c:149:13: note: Assuming allocation function fails Argyll_V3.3.0/spectro/xdg_bds.c:149:13: note: Assignment 'ss=strdup(ss)', assigned value is 0 Argyll_V3.3.0/spectro/xdg_bds.c:150:16: note: Null pointer dereference Argyll_V3.3.0/spectro/xdg_bds.c:283:8: style:inconclusive: Function 'xdg_bds' argument 7 names different: declaration 'spath' definition 'pfname'. [funcArgNamesDifferent] Argyll_V3.3.0/spectro/xdg_bds.h:106:8: note: Function 'xdg_bds' argument 7 names different: declaration 'spath' definition 'pfname'. Argyll_V3.3.0/spectro/xdg_bds.c:283:8: note: Function 'xdg_bds' argument 7 names different: declaration 'spath' definition 'pfname'. Argyll_V3.3.0/spectro/xdg_bds.c:731:12: style: Local variable 'pp' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/xdg_bds.c:589:11: note: Shadowed declaration Argyll_V3.3.0/spectro/xdg_bds.c:731:12: note: Shadow variable Argyll_V3.3.0/spectro/xdg_bds.c:160:37: style: Parameter 'app' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/xdg_bds.c:177:38: style: Parameter 'app' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/xdg_bds.c:200:38: style: Parameter 'app' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/spectro/xdg_bds.c:589:11: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/xdg_bds.c:742:13: style: Variable 'uids' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/xdg_bds.c:742:20: style: Variable 'gids' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/target/filmtarg.c:102:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/filmtarg.c:181:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/filmtarg.c:292:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/filmtarg.c:425:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/filmtarg.c:438:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/ifarp.c:184:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_MXINKS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/ifarp.c:202:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_MXINKS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/ifarp.c:347:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_MXINKS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/ifarp.c:422:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_MXINKS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/ifarp.c:750:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/ifarp.c:329:2: warning: Either the condition '(s=(struct ifarp*)calloc(sizeof(struct ifarp),1))==NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] Argyll_V3.3.0/target/ifarp.c:326:46: note: Assuming that condition '(s=(struct ifarp*)calloc(sizeof(struct ifarp),1))==NULL' is not redundant Argyll_V3.3.0/target/ifarp.c:329:2: note: Null pointer dereference Argyll_V3.3.0/target/ifarp.c:330:2: warning: Either the condition '(s=(struct ifarp*)calloc(sizeof(struct ifarp),1))==NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] Argyll_V3.3.0/target/ifarp.c:326:46: note: Assuming that condition '(s=(struct ifarp*)calloc(sizeof(struct ifarp),1))==NULL' is not redundant Argyll_V3.3.0/target/ifarp.c:330:2: note: Null pointer dereference Argyll_V3.3.0/target/ifarp.c:331:2: warning: Either the condition '(s=(struct ifarp*)calloc(sizeof(struct ifarp),1))==NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] Argyll_V3.3.0/target/ifarp.c:326:46: note: Assuming that condition '(s=(struct ifarp*)calloc(sizeof(struct ifarp),1))==NULL' is not redundant Argyll_V3.3.0/target/ifarp.c:331:2: note: Null pointer dereference Argyll_V3.3.0/target/ifarp.c:313:5: style:inconclusive: Function 'new_ifarp' argument 4 names different: declaration 'npoints' definition 'inp'. [funcArgNamesDifferent] Argyll_V3.3.0/target/ifarp.h:62:62: note: Function 'new_ifarp' argument 4 names different: declaration 'npoints' definition 'inp'. Argyll_V3.3.0/target/ifarp.c:313:5: note: Function 'new_ifarp' argument 4 names different: declaration 'npoints' definition 'inp'. Argyll_V3.3.0/target/ifarp.c:90:47: style: Parameter 'd' can be declared as pointer to const. However it seems that 'ifarp_to_percept' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/target/ifarp.c:335:16: note: You might need to cast the function pointer here Argyll_V3.3.0/target/ifarp.c:90:47: note: Parameter 'd' can be declared as pointer to const Argyll_V3.3.0/target/ifarp.c:91:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/target/ifarp.c:104:27: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ifarp.c:104:38: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ifarp.c:134:33: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ifarp.c:418:9: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ifarp.c:557:13: style: Variable 'bw' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ifarp.c:627:11: style: Variable 'bix' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ifarp.c:765:9: style: Variable 'v0' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ifarp.c:768:9: style: Variable 'v2' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/filmtarg.c:216:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Argyll_V3.3.0/target/filmtarg.c:217:14: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] Argyll_V3.3.0/target/filmtarg.c:68:7: style: Parameter 'basename' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/filmtarg.c:216:13: style: Variable 'tsp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/target/prand.c:130:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cr_char [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/prand.c:162:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cr_char [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/prand.c:308:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_MXINKS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/prand.c:344:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_MXINKS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/prand.c:465:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_MXINKS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/prand.c:521:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_MXINKS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/prand.c:546:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_MXINKS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/prand.c:235:2: warning: Either the condition '(s=(struct prand*)calloc(sizeof(struct prand),1))==NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] Argyll_V3.3.0/target/prand.c:232:46: note: Assuming that condition '(s=(struct prand*)calloc(sizeof(struct prand),1))==NULL' is not redundant Argyll_V3.3.0/target/prand.c:235:2: note: Null pointer dereference Argyll_V3.3.0/target/prand.c:223:5: style:inconclusive: Function 'new_prand' argument 3 names different: declaration 'npoints' definition 'tinp'. [funcArgNamesDifferent] Argyll_V3.3.0/target/prand.h:63:52: note: Function 'new_prand' argument 3 names different: declaration 'npoints' definition 'tinp'. Argyll_V3.3.0/target/prand.c:223:5: note: Function 'new_prand' argument 3 names different: declaration 'npoints' definition 'tinp'. Argyll_V3.3.0/target/prand.c:42:44: style: Parameter 'd' can be declared as pointer to const. However it seems that 'default_prand' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/target/prand.c:250:16: note: You might need to cast the function pointer here Argyll_V3.3.0/target/prand.c:42:44: note: Parameter 'd' can be declared as pointer to const Argyll_V3.3.0/target/prand.c:43:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/target/prand.c:55:27: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/prand.c:55:38: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/prand.c:302:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/target/prand.c:436:25: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/prand.c:436:48: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/prand.c:392:10: style: Unused variable: ov [unusedVariable] Argyll_V3.3.0/target/ofps.c:731:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable co [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/ofps.c:1314:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/ofps.c:2305:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/ofps.c:2825:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/ofps.c:3050:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/ofps.c:3518:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/ofps.c:4497:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/ofps.c:4719:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable co [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/ofps.c:5053:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/ofps.c:5142:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable co [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/ofps.c:5209:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable co [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/ofps.c:5514:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/ofps.c:5544:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/ofps.c:5690:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cr_char [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/ofps.c:6069:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cr_char [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/ofps.c:7560:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/ofps.c:9284:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable co [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/ofps.c:9474:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/spotread.c:397:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fl_end [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/spotread.c:447:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/spotread.c:607:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/ofps.c:2409:16: warning: Invalid sqrt() argument nr 1. The value is -1 but the valid values are '0.0:'. [invalidFunctionArg] Argyll_V3.3.0/target/ofps.c:2388:13: note: Assignment 'fdist=-1.0', assigned value is -1.0 Argyll_V3.3.0/target/ofps.c:2389:17: note: Assuming condition is false Argyll_V3.3.0/target/ofps.c:2409:16: note: Invalid argument Argyll_V3.3.0/target/ofps.c:1824:18: style: Condition 'nsp>1' is always true [knownConditionTrueFalse] Argyll_V3.3.0/target/ofps.c:1802:11: note: Assuming that condition 'nsp==1' is not redundant Argyll_V3.3.0/target/ofps.c:1824:18: note: Condition 'nsp>1' is always true Argyll_V3.3.0/target/ofps.c:5729:6: style: Condition '!needfirst' is always true [knownConditionTrueFalse] Argyll_V3.3.0/target/ofps.c:5712:18: note: Assignment 'needfirst=0', assigned value is 0 Argyll_V3.3.0/target/ofps.c:5729:6: note: Condition '!needfirst' is always true Argyll_V3.3.0/target/ofps.c:5950:31: style: Condition '(cp=&s->grid[pci])==NULL' is always false [knownConditionTrueFalse] Argyll_V3.3.0/target/ofps.c:7941:7: style: Condition 'doinc' is always false [knownConditionTrueFalse] Argyll_V3.3.0/target/ofps.c:7934:11: note: Assignment 'doinc=0', assigned value is 0 Argyll_V3.3.0/target/ofps.c:7941:7: note: Condition 'doinc' is always false Argyll_V3.3.0/target/ofps.c:8336:23: style: Condition 'fxno>0' is always true [knownConditionTrueFalse] Argyll_V3.3.0/target/ofps.c:8328:11: note: Assuming that condition 'fxno>0' is not redundant Argyll_V3.3.0/target/ofps.c:8331:21: note: Assuming condition is false Argyll_V3.3.0/target/ofps.c:8336:23: note: Condition 'fxno>0' is always true Argyll_V3.3.0/target/ofps.c:4512:12: error: Common realloc mistake: 'sets' nulled but not freed upon failure [memleakOnRealloc] Argyll_V3.3.0/target/ofps.c:1100:2: warning: Either the condition '(vv=(struct vtx*)calloc(sizeof(struct vtx),1))==NULL' is redundant or there is possible null pointer dereference: vv. [nullPointerRedundantCheck] Argyll_V3.3.0/target/ofps.c:1095:44: note: Assuming that condition '(vv=(struct vtx*)calloc(sizeof(struct vtx),1))==NULL' is not redundant Argyll_V3.3.0/target/ofps.c:1100:2: note: Null pointer dereference Argyll_V3.3.0/target/ofps.c:1406:2: warning: Either the condition '(p=(struct mid*)calloc(sizeof(struct mid),1))==NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] Argyll_V3.3.0/target/ofps.c:1401:43: note: Assuming that condition '(p=(struct mid*)calloc(sizeof(struct mid),1))==NULL' is not redundant Argyll_V3.3.0/target/ofps.c:1406:2: note: Null pointer dereference Argyll_V3.3.0/target/ofps.c:4515:6: warning: Either the condition '(sets=(struct surfcomb*)realloc(sets,sizeof(struct surfcomb)*_nsets))==NULL' is redundant or there is possible null pointer dereference: sets. [nullPointerRedundantCheck] Argyll_V3.3.0/target/ofps.c:4512:73: note: Assuming that condition '(sets=(struct surfcomb*)realloc(sets,sizeof(struct surfcomb)*_nsets))==NULL' is not redundant Argyll_V3.3.0/target/ofps.c:4515:6: note: Null pointer dereference Argyll_V3.3.0/target/ofps.c:4516:6: warning: Either the condition '(sets=(struct surfcomb*)realloc(sets,sizeof(struct surfcomb)*_nsets))==NULL' is redundant or there is possible null pointer dereference: sets. [nullPointerRedundantCheck] Argyll_V3.3.0/target/ofps.c:4512:73: note: Assuming that condition '(sets=(struct surfcomb*)realloc(sets,sizeof(struct surfcomb)*_nsets))==NULL' is not redundant Argyll_V3.3.0/target/ofps.c:4516:6: note: Null pointer dereference Argyll_V3.3.0/target/ofps.c:5896:5: warning: Either the condition 'bvx==NULL' is redundant or there is possible null pointer dereference: bvx. [nullPointerRedundantCheck] Argyll_V3.3.0/target/ofps.c:5870:13: note: Assuming that condition 'bvx==NULL' is not redundant Argyll_V3.3.0/target/ofps.c:5896:5: note: Null pointer dereference Argyll_V3.3.0/target/ofps.c:5898:31: warning: Either the condition 'bvx==NULL' is redundant or there is possible null pointer dereference: bvx. [nullPointerRedundantCheck] Argyll_V3.3.0/target/ofps.c:5870:13: note: Assuming that condition 'bvx==NULL' is not redundant Argyll_V3.3.0/target/ofps.c:5898:31: note: Null pointer dereference Argyll_V3.3.0/target/ofps.c:5253:8: style: Redundant initialization for 'np'. The initialized value is overwritten before it is read. [redundantInitialization] Argyll_V3.3.0/target/ofps.c:5246:15: note: np is initialized Argyll_V3.3.0/target/ofps.c:5253:8: note: np is overwritten Argyll_V3.3.0/target/ofps.c:5298:9: style: Redundant initialization for 'np'. The initialized value is overwritten before it is read. [redundantInitialization] Argyll_V3.3.0/target/ofps.c:5291:16: note: np is initialized Argyll_V3.3.0/target/ofps.c:5298:9: note: np is overwritten Argyll_V3.3.0/target/ofps.c:7934:9: style: Variable 'doinc' is reassigned a value before the old one has been used. [redundantAssignment] Argyll_V3.3.0/target/ofps.c:7930:10: note: doinc is assigned Argyll_V3.3.0/target/ofps.c:7934:9: note: doinc is overwritten Argyll_V3.3.0/target/ofps.c:7259:3: style: Label 'next_vtx' is not used. [unusedLabel] Argyll_V3.3.0/target/ofps.c:8107:5: style:inconclusive: Function 'new_ofps' argument 4 names different: declaration 'npoints' definition 'tinp'. [funcArgNamesDifferent] Argyll_V3.3.0/target/ofps.h:408:29: note: Function 'new_ofps' argument 4 names different: declaration 'npoints' definition 'tinp'. Argyll_V3.3.0/target/ofps.c:8107:5: note: Function 'new_ofps' argument 4 names different: declaration 'npoints' definition 'tinp'. Argyll_V3.3.0/target/ofps.c:3609:11: style: Local variable 'pp' shadows outer variable [shadowVariable] Argyll_V3.3.0/target/ofps.c:3584:8: note: Shadowed declaration Argyll_V3.3.0/target/ofps.c:3609:11: note: Shadow variable Argyll_V3.3.0/target/ofps.c:3672:11: style: Local variable 'pp' shadows outer variable [shadowVariable] Argyll_V3.3.0/target/ofps.c:3584:8: note: Shadowed declaration Argyll_V3.3.0/target/ofps.c:3672:11: note: Shadow variable Argyll_V3.3.0/target/ofps.c:5784:8: style: Local variable 'k' shadows outer variable [shadowVariable] Argyll_V3.3.0/target/ofps.c:5710:16: note: Shadowed declaration Argyll_V3.3.0/target/ofps.c:5784:8: note: Shadow variable Argyll_V3.3.0/target/ofps.c:5787:11: style: Local variable 'spref_mult' shadows outer variable [shadowVariable] Argyll_V3.3.0/target/ofps.c:5738:10: note: Shadowed declaration Argyll_V3.3.0/target/ofps.c:5787:11: note: Shadow variable Argyll_V3.3.0/target/ofps.c:6529:11: style: Local variable 'ceperr' shadows outer argument [shadowArgument] Argyll_V3.3.0/target/ofps.c:6475:53: note: Shadowed declaration Argyll_V3.3.0/target/ofps.c:6529:11: note: Shadow variable Argyll_V3.3.0/target/ofps.c:437:26: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:445:26: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:472:26: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:480:29: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:489:35: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:500:38: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:515:38: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:525:36: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:539:37: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:539:49: style: Parameter 'sm_A' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:539:64: style: Parameter 'sm_B' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:555:39: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:566:42: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:599:58: style: Parameter 'nn' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:617:24: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:617:36: style: Parameter 'sm' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:707:54: style: Parameter 'd' can be declared as pointer to const. However it seems that 'default_ofps_to_percept' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/target/ofps.c:8248:16: note: You might need to cast the function pointer here Argyll_V3.3.0/target/ofps.c:707:54: note: Parameter 'd' can be declared as pointer to const Argyll_V3.3.0/target/ofps.c:708:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/target/ofps.c:721:55: style: Parameter 'd' can be declared as pointer to const. However it seems that 'filtered_ofps_to_percept' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/target/ofps.c:5068:51: note: You might need to cast the function pointer here Argyll_V3.3.0/target/ofps.c:721:55: note: Parameter 'd' can be declared as pointer to const Argyll_V3.3.0/target/ofps.c:799:49: style: Parameter 'd' can be declared as pointer to const. However it seems that 'ofps_cache_percept' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/target/ofps.c:5075:15: note: You might need to cast the function pointer here Argyll_V3.3.0/target/ofps.c:799:49: note: Parameter 'd' can be declared as pointer to const Argyll_V3.3.0/target/ofps.c:817:36: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:888:46: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:938:29: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:938:40: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:955:41: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:1030:33: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:1030:41: style: Parameter 'nix' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:1065:33: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:1250:51: style: Parameter 'vx' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:1328:8: style: Variable 'va' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/target/ofps.c:1328:19: style: Variable 'vb' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/target/ofps.c:1527:53: style: Parameter 'vx' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:1615:28: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:1647:54: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:1673:53: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:1710:46: style: Parameter 'nix' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:1870:32: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:1870:43: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:1930:8: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:1932:10: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:1933:10: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:1934:10: style: Parameter 'nv' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:1935:10: style: Parameter 'np' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:2089:10: style: Parameter 'ee' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:2107:10: style: Parameter 'ce' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:2108:10: style: Parameter 'ee' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:2795:7: style: Parameter 'ev1' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:2795:17: style: Parameter 'ev2' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:4124:7: style: Variable 'vx' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/target/ofps.c:4262:27: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:6218:24: style: Variable 'sliste' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/target/ofps.c:6482:24: style: Variable 'sliste' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/target/ofps.c:7415:10: style: Parameter 'x' can be declared as pointer to const. However it seems that 'dnsq_mid_solver' is a callback function, if 'x' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/target/ofps.c:7517:33: note: You might need to cast the function pointer here Argyll_V3.3.0/target/ofps.c:7415:10: note: Parameter 'x' can be declared as pointer to const Argyll_V3.3.0/target/ofps.c:7655:9: style: Variable 'vp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/target/ofps.c:7701:9: style: Variable 'mp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/target/ofps.c:7702:10: style: Variable 'on' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/target/ofps.c:8128:9: style: Parameter 'imin' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:8129:9: style: Parameter 'imax' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:8583:31: style: Parameter 'co' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:8602:35: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:8625:33: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/ofps.c:985:28: error: Uninitialized variable: cp [uninitvar] Argyll_V3.3.0/target/ofps.c:1051:12: style: Variable 'di' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:1051:6: style: Unused variable: e [unusedVariable] Argyll_V3.3.0/target/ofps.c:1051:9: style: Variable 'di' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:1066:12: style: Variable 'di' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:1066:6: style: Unused variable: e [unusedVariable] Argyll_V3.3.0/target/ofps.c:1066:9: style: Variable 'di' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:1142:8: style: Unused variable: nn [unusedVariable] Argyll_V3.3.0/target/ofps.c:1142:13: style: Unused variable: nnn [unusedVariable] Argyll_V3.3.0/target/ofps.c:1208:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/target/ofps.c:1306:9: style: Variable 'nmix' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:1580:6: style: Unused variable: e [unusedVariable] Argyll_V3.3.0/target/ofps.c:1581:12: style: Unused variable: k [unusedVariable] Argyll_V3.3.0/target/ofps.c:1595:10: style: Unused variable: rads [unusedVariable] Argyll_V3.3.0/target/ofps.c:1675:9: style: Unused variable: ss [unusedVariable] Argyll_V3.3.0/target/ofps.c:1712:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/target/ofps.c:1825:33: style: Unused variable: TA [unusedVariable] Argyll_V3.3.0/target/ofps.c:1872:9: style: Unused variable: nn [unusedVariable] Argyll_V3.3.0/target/ofps.c:1872:13: style: Unused variable: np [unusedVariable] Argyll_V3.3.0/target/ofps.c:1872:17: style: Unused variable: q [unusedVariable] Argyll_V3.3.0/target/ofps.c:1938:6: style: Unused variable: ii [unusedVariable] Argyll_V3.3.0/target/ofps.c:1938:10: style: Unused variable: e [unusedVariable] Argyll_V3.3.0/target/ofps.c:1938:13: style: Unused variable: f [unusedVariable] Argyll_V3.3.0/target/ofps.c:1939:6: style: Unused variable: isc [unusedVariable] Argyll_V3.3.0/target/ofps.c:2025:8: style: Unused variable: np [unusedVariable] Argyll_V3.3.0/target/ofps.c:2027:9: style: Unused variable: iv [unusedVariable] Argyll_V3.3.0/target/ofps.c:2278:13: style: Variable 'maxfev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:2673:7: style: Variable 'pcx' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:2477:12: style: Unused variable: fval [unusedVariable] Argyll_V3.3.0/target/ofps.c:2478:9: style: Unused variable: nc [unusedVariable] Argyll_V3.3.0/target/ofps.c:2583:12: style: Unused variable: ss [unusedVariable] Argyll_V3.3.0/target/ofps.c:2710:11: style: Variable 'nn_1' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:2714:12: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:2746:7: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:2759:6: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:2783:5: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:2710:6: style: Variable 'nn_1' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:2907:9: style: Unused variable: ff [unusedVariable] Argyll_V3.3.0/target/ofps.c:2909:7: style: Unused variable: tev [unusedVariable] Argyll_V3.3.0/target/ofps.c:2911:6: style: Unused variable: ndelvtx [unusedVariable] Argyll_V3.3.0/target/ofps.c:3361:8: style: Unused variable: aa [unusedVariable] Argyll_V3.3.0/target/ofps.c:3361:12: style: Unused variable: bb [unusedVariable] Argyll_V3.3.0/target/ofps.c:3361:16: style: Unused variable: cc [unusedVariable] Argyll_V3.3.0/target/ofps.c:3362:8: style: Unused variable: nnm [unusedVariable] Argyll_V3.3.0/target/ofps.c:3362:13: style: Unused variable: nmix [unusedVariable] Argyll_V3.3.0/target/ofps.c:3478:12: style: Variable 'di' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:3478:6: style: Unused variable: e [unusedVariable] Argyll_V3.3.0/target/ofps.c:3478:9: style: Variable 'di' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:3479:12: style: Unused variable: nvv [unusedVariable] Argyll_V3.3.0/target/ofps.c:3480:8: style: Unused variable: pp [unusedVariable] Argyll_V3.3.0/target/ofps.c:3584:8: style: Unused variable: pp [unusedVariable] Argyll_V3.3.0/target/ofps.c:3797:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/target/ofps.c:4083:11: style: Variable 'slist' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:4097:11: style: Variable 'slist' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:4021:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/target/ofps.c:4021:9: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/target/ofps.c:4023:6: style: Unused variable: dist [unusedVariable] Argyll_V3.3.0/target/ofps.c:4123:9: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/target/ofps.c:4124:7: style: Variable 'vx' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:4264:27: style: Unused variable: TA [unusedVariable] Argyll_V3.3.0/target/ofps.c:4497:10: style: Variable 'tsm.m[0]' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:4668:10: style: Unused variable: ov [unusedVariable] Argyll_V3.3.0/target/ofps.c:4718:9: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/target/ofps.c:5028:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/target/ofps.c:5094:6: style: Unused variable: gres [unusedVariable] Argyll_V3.3.0/target/ofps.c:5332:10: style: Variable 'aitters' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:5334:11: style: Variable 'avgratio' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:5373:7: style: Unused variable: t [unusedVariable] Argyll_V3.3.0/target/ofps.c:5505:11: style: Variable 'oog' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:5493:6: style: Unused variable: pci [unusedVariable] Argyll_V3.3.0/target/ofps.c:5494:9: style: Unused variable: cp [unusedVariable] Argyll_V3.3.0/target/ofps.c:5655:9: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/target/ofps.c:5655:12: style: Unused variable: ii [unusedVariable] Argyll_V3.3.0/target/ofps.c:5710:16: style: Unused variable: k [unusedVariable] Argyll_V3.3.0/target/ofps.c:5749:11: style: Unused variable: min [unusedVariable] Argyll_V3.3.0/target/ofps.c:5749:22: style: Unused variable: max [unusedVariable] Argyll_V3.3.0/target/ofps.c:5785:8: style: Variable 'sf' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:5791:11: style: Unused variable: bspweight [unusedVariable] Argyll_V3.3.0/target/ofps.c:6213:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/target/ofps.c:6476:6: style: Unused variable: e [unusedVariable] Argyll_V3.3.0/target/ofps.c:6476:9: style: Variable 'di' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:6477:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/target/ofps.c:7037:9: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/target/ofps.c:7037:12: style: Unused variable: k [unusedVariable] Argyll_V3.3.0/target/ofps.c:7042:13: style: Unused variable: pp [unusedVariable] Argyll_V3.3.0/target/ofps.c:7453:9: style: Unused variable: rerr [unusedVariable] Argyll_V3.3.0/target/ofps.c:7454:6: style: Variable 'nsp' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:7539:6: style: Unused variable: e [unusedVariable] Argyll_V3.3.0/target/ofps.c:7539:9: style: Variable 'di' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:7540:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/target/ofps.c:7540:9: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/target/ofps.c:7632:9: style: Variable 'radsq' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:7633:9: style: Unused variable: rad [unusedVariable] Argyll_V3.3.0/target/ofps.c:7636:6: style: Variable 'bi' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:7636:14: style: Variable 'bj' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:7819:9: style: Variable 'oshoot' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:7821:8: style: Unused variable: vx [unusedVariable] Argyll_V3.3.0/target/ofps.c:8147:8: style: Variable 'stime' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/ofps.c:8145:13: style: Unused variable: ttime [unusedVariable] Argyll_V3.3.0/target/ofps.c:8223:10: style: Unused variable: eprange [unusedVariable] Argyll_V3.3.0/target/ofps.c:8647:6: style: Unused variable: e [unusedVariable] Argyll_V3.3.0/target/randix.c:86:2: warning: Either the condition '(p=(struct randix*)malloc(sizeof(struct randix)))==NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] Argyll_V3.3.0/target/randix.c:83:45: note: Assuming that condition '(p=(struct randix*)malloc(sizeof(struct randix)))==NULL' is not redundant Argyll_V3.3.0/target/randix.c:86:2: note: Null pointer dereference Argyll_V3.3.0/target/randix.c:87:2: warning: Either the condition '(p=(struct randix*)malloc(sizeof(struct randix)))==NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] Argyll_V3.3.0/target/randix.c:83:45: note: Assuming that condition '(p=(struct randix*)malloc(sizeof(struct randix)))==NULL' is not redundant Argyll_V3.3.0/target/randix.c:87:2: note: Null pointer dereference Argyll_V3.3.0/target/randix.c:102:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] Argyll_V3.3.0/target/randix.c:92:8: warning: Either the condition 'length==0' is redundant or there is division by zero at line 92. [zerodivcond] Argyll_V3.3.0/target/randix.c:89:13: note: Assuming that condition 'length==0' is not redundant Argyll_V3.3.0/target/randix.c:92:8: note: Division by zero Argyll_V3.3.0/target/simdlat.c:154:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_MXINKS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/simdlat.c:198:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_MXINKS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/simdlat.c:491:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_MXINKS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/simdlat.c:742:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_MXINKS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/spectro/spotread.c:2360:11: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Argyll_V3.3.0/spectro/spotread.c:2361:6: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/spectro/spotread.c:2360:11: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/spectro/spotread.c:2811:22: style: Same expression on both sides of '/'. [duplicateExpression] Argyll_V3.3.0/spectro/spotread.c:2819:14: style: Same expression on both sides of '/='. [duplicateExpression] Argyll_V3.3.0/spectro/spotread.c:2842:14: style: Same expression on both sides of '/='. [duplicateExpression] Argyll_V3.3.0/spectro/spotread.c:2862:14: style: Same expression on both sides of '/='. [duplicateExpression] Argyll_V3.3.0/spectro/spotread.c:723:4: style: Label 'got_comport' is not used. [unusedLabel] Argyll_V3.3.0/spectro/spotread.c:467:8: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/spotread.c:444:6: note: Shadowed declaration Argyll_V3.3.0/spectro/spotread.c:467:8: note: Shadow variable Argyll_V3.3.0/spectro/spotread.c:1048:9: style: Local variable 'ix' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/spotread.c:662:6: note: Shadowed declaration Argyll_V3.3.0/spectro/spotread.c:1048:9: note: Shadow variable Argyll_V3.3.0/spectro/spotread.c:1502:9: style: Local variable 'ix' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/spotread.c:662:6: note: Shadowed declaration Argyll_V3.3.0/spectro/spotread.c:1502:9: note: Shadow variable Argyll_V3.3.0/spectro/spotread.c:1660:11: style: Local variable 'sp' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/spotread.c:640:9: note: Shadowed declaration Argyll_V3.3.0/spectro/spotread.c:1660:11: note: Shadow variable Argyll_V3.3.0/spectro/spotread.c:1837:10: style: Local variable 'sp' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/spotread.c:640:9: note: Shadowed declaration Argyll_V3.3.0/spectro/spotread.c:1837:10: note: Shadow variable Argyll_V3.3.0/spectro/spotread.c:2587:9: style: Local variable 'refrmode' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/spotread.c:592:6: note: Shadowed declaration Argyll_V3.3.0/spectro/spotread.c:2587:9: note: Shadow variable Argyll_V3.3.0/spectro/spotread.c:3077:9: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/spotread.c:570:6: note: Shadowed declaration Argyll_V3.3.0/spectro/spotread.c:3077:9: note: Shadow variable Argyll_V3.3.0/spectro/spotread.c:3098:20: style: Local variable 'cct' shadows outer variable [shadowVariable] Argyll_V3.3.0/spectro/spotread.c:1971:10: note: Shadowed declaration Argyll_V3.3.0/spectro/spotread.c:3098:20: note: Shadow variable Argyll_V3.3.0/spectro/spotread.c:423:35: style: Parameter 'cntx' can be declared as pointer to const. However it seems that 'uicallback' is a callback function, if 'cntx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/spectro/spotread.c:1888:26: note: You might need to cast the function pointer here Argyll_V3.3.0/spectro/spotread.c:423:35: note: Parameter 'cntx' can be declared as pointer to const Argyll_V3.3.0/spectro/spotread.c:1152:9: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/spectro/spotread.c:2738:55: warning: Uninitialized variable: bwl [uninitvar] Argyll_V3.3.0/spectro/spotread.c:2729:18: note: Assuming condition is false Argyll_V3.3.0/spectro/spotread.c:2738:55: note: Uninitialized variable: bwl Argyll_V3.3.0/spectro/spotread.c:444:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/target/simdlat.c:261:8: warning: Either the condition 'i>0' is redundant or the array 'sx[0][0]' is accessed at index sx[*][-1], which is out of bounds. [negativeIndex] Argyll_V3.3.0/target/simdlat.c:257:11: note: Assuming that condition 'i>0' is not redundant Argyll_V3.3.0/target/simdlat.c:260:18: note: Assuming that condition 'i==di' is not redundant Argyll_V3.3.0/target/simdlat.c:261:8: note: Negative array index Argyll_V3.3.0/spectro/spotread.c:1048:9: style: Unused variable: ix [unusedVariable] Argyll_V3.3.0/spectro/spotread.c:1968:10: style: Unused variable: tXYZ [unusedVariable] Argyll_V3.3.0/target/simdlat.c:708:2: warning: Either the condition '(s=(struct simdlat*)calloc(sizeof(struct simdlat),1))==NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] Argyll_V3.3.0/target/simdlat.c:705:50: note: Assuming that condition '(s=(struct simdlat*)calloc(sizeof(struct simdlat),1))==NULL' is not redundant Argyll_V3.3.0/target/simdlat.c:708:2: note: Null pointer dereference Argyll_V3.3.0/target/simdlat.c:709:2: warning: Either the condition '(s=(struct simdlat*)calloc(sizeof(struct simdlat),1))==NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] Argyll_V3.3.0/target/simdlat.c:705:50: note: Assuming that condition '(s=(struct simdlat*)calloc(sizeof(struct simdlat),1))==NULL' is not redundant Argyll_V3.3.0/target/simdlat.c:709:2: note: Null pointer dereference Argyll_V3.3.0/target/simdlat.c:710:2: warning: Either the condition '(s=(struct simdlat*)calloc(sizeof(struct simdlat),1))==NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] Argyll_V3.3.0/target/simdlat.c:705:50: note: Assuming that condition '(s=(struct simdlat*)calloc(sizeof(struct simdlat),1))==NULL' is not redundant Argyll_V3.3.0/target/simdlat.c:710:2: note: Null pointer dereference Argyll_V3.3.0/target/simdlat.c:686:5: style:inconclusive: Function 'new_simdlat' argument 3 names different: declaration 'npoints' definition 'inp'. [funcArgNamesDifferent] Argyll_V3.3.0/target/simdlat.h:89:56: note: Function 'new_simdlat' argument 3 names different: declaration 'npoints' definition 'inp'. Argyll_V3.3.0/target/simdlat.c:686:5: note: Function 'new_simdlat' argument 3 names different: declaration 'npoints' definition 'inp'. Argyll_V3.3.0/target/simdlat.c:66:57: style: Parameter 'd' can be declared as pointer to const. However it seems that 'default_simdlat_to_percept' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/target/simdlat.c:715:16: note: You might need to cast the function pointer here Argyll_V3.3.0/target/simdlat.c:66:57: note: Parameter 'd' can be declared as pointer to const Argyll_V3.3.0/target/simdlat.c:67:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/target/simdlat.c:112:35: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/simdlat.c:347:10: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/simdlat.c:348:9: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/simdlat.c:363:10: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/simdlat.c:364:10: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/simdlat.c:389:9: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/simplat.c:164:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_MXINKS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/simplat.c:191:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_MXINKS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/simplat.c:233:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_MXINKS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/simplat.c:530:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_MXINKS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/simplat.c:784:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_MXINKS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/simplat.c:750:2: warning: Either the condition '(s=(struct simplat*)calloc(sizeof(struct simplat),1))==NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] Argyll_V3.3.0/target/simplat.c:747:50: note: Assuming that condition '(s=(struct simplat*)calloc(sizeof(struct simplat),1))==NULL' is not redundant Argyll_V3.3.0/target/simplat.c:750:2: note: Null pointer dereference Argyll_V3.3.0/target/simplat.c:751:2: warning: Either the condition '(s=(struct simplat*)calloc(sizeof(struct simplat),1))==NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] Argyll_V3.3.0/target/simplat.c:747:50: note: Assuming that condition '(s=(struct simplat*)calloc(sizeof(struct simplat),1))==NULL' is not redundant Argyll_V3.3.0/target/simplat.c:751:2: note: Null pointer dereference Argyll_V3.3.0/target/simplat.c:752:2: warning: Either the condition '(s=(struct simplat*)calloc(sizeof(struct simplat),1))==NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] Argyll_V3.3.0/target/simplat.c:747:50: note: Assuming that condition '(s=(struct simplat*)calloc(sizeof(struct simplat),1))==NULL' is not redundant Argyll_V3.3.0/target/simplat.c:752:2: note: Null pointer dereference Argyll_V3.3.0/target/simplat.c:730:5: style:inconclusive: Function 'new_simplat' argument 3 names different: declaration 'npoints' definition 'inp'. [funcArgNamesDifferent] Argyll_V3.3.0/target/simplat.h:81:56: note: Function 'new_simplat' argument 3 names different: declaration 'npoints' definition 'inp'. Argyll_V3.3.0/target/simplat.c:730:5: note: Function 'new_simplat' argument 3 names different: declaration 'npoints' definition 'inp'. Argyll_V3.3.0/target/simplat.c:66:57: style: Parameter 'd' can be declared as pointer to const. However it seems that 'default_simplat_to_percept' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/target/simplat.c:756:16: note: You might need to cast the function pointer here Argyll_V3.3.0/target/simplat.c:66:57: note: Parameter 'd' can be declared as pointer to const Argyll_V3.3.0/target/simplat.c:67:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/target/simplat.c:79:31: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/simplat.c:79:42: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/simplat.c:109:35: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/simplat.c:387:10: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/simplat.c:388:9: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/simplat.c:403:10: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/simplat.c:404:10: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/simplat.c:429:9: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/tweak/refine.c:156:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/tweak/refine.c:239:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cr_char [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/tweak/refine.c:269:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/tweak/refine.c:637:9: style: The if condition is the same as the previous if condition [duplicateCondition] Argyll_V3.3.0/tweak/refine.c:632:9: note: First condition Argyll_V3.3.0/tweak/refine.c:637:9: note: Second condition Argyll_V3.3.0/tweak/refine.c:1144:7: style: The if condition is the same as the previous if condition [duplicateCondition] Argyll_V3.3.0/tweak/refine.c:1141:7: note: First condition Argyll_V3.3.0/tweak/refine.c:1144:7: note: Second condition Argyll_V3.3.0/tweak/refine.c:1297:7: style: The if condition is the same as the previous if condition [duplicateCondition] Argyll_V3.3.0/tweak/refine.c:1291:7: note: First condition Argyll_V3.3.0/tweak/refine.c:1297:7: note: Second condition Argyll_V3.3.0/tweak/refine.c:716:14: style: Local variable 'rv' shadows outer variable [shadowVariable] Argyll_V3.3.0/tweak/refine.c:306:18: note: Shadowed declaration Argyll_V3.3.0/tweak/refine.c:716:14: note: Shadow variable Argyll_V3.3.0/tweak/refine.c:837:10: style: Local variable 'err' shadows outer variable [shadowVariable] Argyll_V3.3.0/tweak/refine.c:293:9: note: Shadowed declaration Argyll_V3.3.0/tweak/refine.c:837:10: note: Shadow variable Argyll_V3.3.0/tweak/refine.c:1129:21: style: Clarify calculation precedence for '|' and '?'. [clarifyCalculation] Argyll_V3.3.0/tweak/refine.c:204:49: style: Parameter 'in' can be declared as pointer to const. However it seems that 'PCSp_PCSp' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/tweak/refine.c:1284:5: note: You might need to cast the function pointer here Argyll_V3.3.0/tweak/refine.c:204:49: note: Parameter 'in' can be declared as pointer to const Argyll_V3.3.0/tweak/refine.c:255:53: style: Parameter 'in' can be declared as pointer to const. However it seems that 'wfunc' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/tweak/refine.c:1139:14: note: You might need to cast the function pointer here Argyll_V3.3.0/tweak/refine.c:255:53: note: Parameter 'in' can be declared as pointer to const Argyll_V3.3.0/tweak/refine.c:1194:9: style: Variable 'dst' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/tweak/refine.c:1206:9: style: Variable 'crt' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ucmm/ucmm.c:195:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigDisplayClass [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ucmm/ucmm.c:583:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jc_modify [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ucmm/ucmm.c:777:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jc_modify [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/ucmm/ucmm.c:231:4: error: Memory leak: conf_name [memleak] Argyll_V3.3.0/ucmm/ucmm.c:287:4: error: Resource leak: fp [resourceLeak] Argyll_V3.3.0/ucmm/ucmm.c:295:4: error: Resource leak: fp [resourceLeak] Argyll_V3.3.0/ucmm/ucmm.c:302:4: error: Resource leak: fp [resourceLeak] Argyll_V3.3.0/ucmm/ucmm.c:309:4: error: Resource leak: fp [resourceLeak] Argyll_V3.3.0/ucmm/ucmm.c:309:4: error: Memory leak: pdata [memleak] Argyll_V3.3.0/ucmm/ucmm.c:340:4: error: Resource leak: fp [resourceLeak] Argyll_V3.3.0/ucmm/ucmm.c:842:14: warning: Either the condition 'dprof!=NULL' is redundant or there is possible null pointer dereference: dprof. [nullPointerRedundantCheck] Argyll_V3.3.0/ucmm/ucmm.c:845:14: note: Assuming that condition 'dprof!=NULL' is not redundant Argyll_V3.3.0/ucmm/ucmm.c:842:14: note: Null pointer dereference Argyll_V3.3.0/ucmm/ucmm.c:156:8: style:inconclusive: Function 'ucmm_install_monitor_profile' argument 5 names different: declaration 'profile' definition 'sprof'. [funcArgNamesDifferent] Argyll_V3.3.0/ucmm/ucmm.h:66:8: note: Function 'ucmm_install_monitor_profile' argument 5 names different: declaration 'profile' definition 'sprof'. Argyll_V3.3.0/ucmm/ucmm.c:156:8: note: Function 'ucmm_install_monitor_profile' argument 5 names different: declaration 'profile' definition 'sprof'. Argyll_V3.3.0/ucmm/ucmm.c:124:37: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/ucmm/ucmm.c:128:7: style: Variable 'hex' can be declared as const array [constVariable] Argyll_V3.3.0/ucmm/ucmm.c:361:9: style: Variable 'mname' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ucmm/ucmm.c:630:10: style: Variable 'mname' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ucmm/ucmm.c:1046:17: style: Variable 'be' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/ucmm/ucmm.c:162:8: style: Variable 'dprof' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/ucmm/ucmm.c:606:10: style: Unused variable: tt [unusedVariable] Argyll_V3.3.0/ucmm/ucmm.c:852:10: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/ucmm/ucmm.c:880:25: style: Variable 'edid_hash' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/ucmm/ucmm.c:886:13: style: Variable 'edid_hash' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/usb/ArgyllCMS_uninstall_USB.c:43:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SetupUninstallOEMInfA [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/usb/ArgyllCMS_uninstall_USB.c:51:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/usb/ArgyllCMS_uninstall_USB.c:112:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SP_DEVINFO_DATA [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/usb/ArgyllCMS_uninstall_USB.c:230:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/usb/ArgyllCMS_uninstall_USB.c:243:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/usb/ArgyllCMS_uninstall_USB.c:71:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/usb/ArgyllCMS_uninstall_USB.c:160:28: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/usb/ArgyllCMS_uninstall_USB.c:62:9: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/usb/ArgyllCMS_uninstall_USB.c:125:13: style: Variable 'dvix' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/usb/ArgyllCMS_uninstall_USB.c:162:12: style: Variable 'dvix' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/usb/ArgyllCMS_uninstall_USB.c:62:6: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/usb/ArgyllCMS_uninstall_USB.c:125:8: style: Variable 'dvix' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/usb/ArgyllCMS_uninstall_USB.c:162:7: style: Variable 'dvix' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/bluelin.c:48:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_PI [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/bluelin.c:85:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_PI [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/bluelin.c:189:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmD65_ary3 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/bluelin.c:44:47: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/bluelin.c:81:47: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/bluelin.c:45:9: style: Unused variable: J [unusedVariable] Argyll_V3.3.0/xicc/bluelin.c:82:9: style: Unused variable: J [unusedVariable] Argyll_V3.3.0/xicc/bluelin.c:139:17: style: Variable 'black' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/bluelin.c:138:9: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/target/printtarg.c:315:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_MXINKS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/printtarg.c:591:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_CMYK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/printtarg.c:723:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_MXINKS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/printtarg.c:890:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timesr_b [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/printtarg.c:954:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_W [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/printtarg.c:1138:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_W [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/printtarg.c:1272:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_W [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/printtarg.c:1498:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/printtarg.c:1771:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/printtarg.c:2905:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/printtarg.c:2970:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bpc8_2d [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/printtarg.c:4017:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/bt1886.c:102:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmD50 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/bt1886.c:44:41: style: Parameter 'v' can be declared as pointer to const. However it seems that 'gam_fit' is a callback function, if 'v' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/bt1886.c:94:40: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/bt1886.c:44:41: note: Parameter 'v' can be declared as pointer to const Argyll_V3.3.0/xicc/bt1886.c:45:12: style: Variable 'gf' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/bt1886.c:175:36: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/bt1886.c:175:60: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/bt1886.c:215:36: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/bt1886.c:215:60: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/cam02.c:226:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_PI [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/cam02.c:263:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_PI [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/cam02.c:323:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/cam02.c:991:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_EPSILON [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/cam02.c:1240:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_PI [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/cam02.c:776:8: style:inconclusive: Function 'XYZ_to_cam' argument 3 names different: declaration 'xyz' definition 'XYZ'. [funcArgNamesDifferent] Argyll_V3.3.0/xicc/cam02.c:307:62: note: Function 'XYZ_to_cam' argument 3 names different: declaration 'xyz' definition 'XYZ'. Argyll_V3.3.0/xicc/cam02.c:776:8: note: Function 'XYZ_to_cam' argument 3 names different: declaration 'xyz' definition 'XYZ'. Argyll_V3.3.0/xicc/cam02.c:1205:8: style:inconclusive: Function 'cam_to_XYZ' argument 2 names different: declaration 'xyz' definition 'XYZ'. [funcArgNamesDifferent] Argyll_V3.3.0/xicc/cam02.c:308:49: note: Function 'cam_to_XYZ' argument 2 names different: declaration 'xyz' definition 'XYZ'. Argyll_V3.3.0/xicc/cam02.c:1205:8: note: Function 'cam_to_XYZ' argument 2 names different: declaration 'xyz' definition 'XYZ'. Argyll_V3.3.0/xicc/cam02.c:414:7: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/cam02.c:409:6: note: Shadowed declaration Argyll_V3.3.0/xicc/cam02.c:414:7: note: Shadow variable Argyll_V3.3.0/xicc/cam02.c:840:10: style: Local variable 'tt' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/cam02.c:781:22: note: Shadowed declaration Argyll_V3.3.0/xicc/cam02.c:840:10: note: Shadow variable Argyll_V3.3.0/xicc/cam02.c:1512:7: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/cam02.c:1208:6: note: Shadowed declaration Argyll_V3.3.0/xicc/cam02.c:1512:7: note: Shadow variable Argyll_V3.3.0/xicc/cam02.c:222:47: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/cam02.c:259:47: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/cam02.c:393:8: style: Parameter 'Wxyz' can be declared as const array. However it seems that 'set_view' is a callback function, if 'Wxyz' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/cam02.c:329:16: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/cam02.c:393:8: note: Parameter 'Wxyz' can be declared as const array Argyll_V3.3.0/xicc/cam02.c:400:8: style: Parameter 'Gxyz' can be declared as const array. However it seems that 'set_view' is a callback function, if 'Gxyz' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/cam02.c:329:16: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/cam02.c:400:8: note: Parameter 'Gxyz' can be declared as const array Argyll_V3.3.0/xicc/cam02.c:405:8: style: Parameter 'Wxyz2' can be declared as const array. However it seems that 'set_view' is a callback function, if 'Wxyz2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/cam02.c:329:16: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/cam02.c:405:8: note: Parameter 'Wxyz2' can be declared as const array Argyll_V3.3.0/xicc/cam02.c:417:10: style: Variable 't_C' can be declared as const array [constVariable] Argyll_V3.3.0/xicc/cam02.c:418:10: style: Variable 't_Nc' can be declared as const array [constVariable] Argyll_V3.3.0/xicc/cam02.c:419:10: style: Variable 't_F' can be declared as const array [constVariable] Argyll_V3.3.0/xicc/cam02.c:735:37: style: Parameter 's' can be declared as pointer to const. However it seems that 'cam_dump' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/cam02.c:332:12: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/cam02.c:735:37: note: Parameter 's' can be declared as pointer to const Argyll_V3.3.0/xicc/cam02.c:776:8: style: Parameter 'XYZ' can be declared as const array. However it seems that 'XYZ_to_cam' is a callback function, if 'XYZ' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/cam02.c:330:18: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/cam02.c:776:8: note: Parameter 'XYZ' can be declared as const array Argyll_V3.3.0/xicc/cam02.c:223:9: style: Unused variable: J [unusedVariable] Argyll_V3.3.0/xicc/cam02.c:260:9: style: Unused variable: J [unusedVariable] Argyll_V3.3.0/xicc/cam02.c:409:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/xicc/cam02.c:894:8: style: Variable 'ctv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/cam02.c:1083:8: style: Variable 'clip' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/cam02.c:1090:8: style: Variable 'clip' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/cam02ref.h:140:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/cam02ref.h:434:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_PI [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/cam02ref.h:513:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_PI [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/cam02plot.c:412:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/cam02plot.c:436:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RESUNIT_INCH [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/targen.c:223:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_MXINKS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/targen.c:253:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_MXINKS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/targen.c:282:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_MXINKS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/targen.c:356:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_MXINKS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/targen.c:448:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_MXINKS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/targen.c:521:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_CMYK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/targen.c:543:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_MXINKS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/targen.c:576:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_MXINKS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/targen.c:661:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/targen.c:854:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/targen.c:991:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/targen.c:2994:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fdata [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/cam02plot.c:139:6: style: Condition 'trace' is always false [knownConditionTrueFalse] Argyll_V3.3.0/xicc/cam02plot.c:133:10: note: Assignment 'trace=0', assigned value is 0 Argyll_V3.3.0/xicc/cam02plot.c:139:6: note: Condition 'trace' is always false Argyll_V3.3.0/xicc/cam02plot.c:140:6: style: Condition 'trace' is always false [knownConditionTrueFalse] Argyll_V3.3.0/xicc/cam02plot.c:133:10: note: Assignment 'trace=0', assigned value is 0 Argyll_V3.3.0/xicc/cam02plot.c:140:6: note: Condition 'trace' is always false Argyll_V3.3.0/xicc/cam02plot.c:145:6: style: Condition 'trace' is always false [knownConditionTrueFalse] Argyll_V3.3.0/xicc/cam02plot.c:133:10: note: Assignment 'trace=0', assigned value is 0 Argyll_V3.3.0/xicc/cam02plot.c:145:6: note: Condition 'trace' is always false Argyll_V3.3.0/xicc/cam02plot.c:682:8: style: Condition 'to_ss' is always false [knownConditionTrueFalse] Argyll_V3.3.0/xicc/cam02plot.c:675:7: note: Assuming that condition 'to_ss' is not redundant Argyll_V3.3.0/xicc/cam02plot.c:682:8: note: Condition 'to_ss' is always false Argyll_V3.3.0/xicc/cam02plot.c:682:4: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Argyll_V3.3.0/xicc/cam02plot.c:684:6: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/xicc/cam02plot.c:682:4: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/xicc/cam02ref.h:159:11: warning: Function 'cam02ref_set_view' argument order different: declaration 's, Ev, Wxyz, Yb, La, Lv, Yf, Yg, Gxyz, hk, hkscale, mtaf, Wxyz2' definition 's, Ev, Wxyz, La, Yb, Lv, Yf, Yg, Gxyz, hk, hkscale, mtaf, Wxyz2' [funcArgOrderDifferent] Argyll_V3.3.0/xicc/cam02ref.h:129:40: note: Function 'cam02ref_set_view' argument order different: declaration 's, Ev, Wxyz, Yb, La, Lv, Yf, Yg, Gxyz, hk, hkscale, mtaf, Wxyz2' definition 's, Ev, Wxyz, La, Yb, Lv, Yf, Yg, Gxyz, hk, hkscale, mtaf, Wxyz2' Argyll_V3.3.0/xicc/cam02ref.h:159:11: note: Function 'cam02ref_set_view' argument order different: declaration 's, Ev, Wxyz, Yb, La, Lv, Yf, Yg, Gxyz, hk, hkscale, mtaf, Wxyz2' definition 's, Ev, Wxyz, La, Yb, Lv, Yf, Yg, Gxyz, hk, hkscale, mtaf, Wxyz2' Argyll_V3.3.0/xicc/cam02ref.h:348:8: style:inconclusive: Function 'cam02ref_XYZ_to_cam' argument 3 names different: declaration 'xyz' definition 'XYZ'. [funcArgNamesDifferent] Argyll_V3.3.0/xicc/cam02ref.h:132:66: note: Function 'cam02ref_XYZ_to_cam' argument 3 names different: declaration 'xyz' definition 'XYZ'. Argyll_V3.3.0/xicc/cam02ref.h:348:8: note: Function 'cam02ref_XYZ_to_cam' argument 3 names different: declaration 'xyz' definition 'XYZ'. Argyll_V3.3.0/xicc/cam02plot.c:49:30: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/cam02plot.c:80:30: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/cam02plot.c:120:36: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/cam02plot.c:411:18: style: Parameter 'diag' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/cam02plot.c:490:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/cam02ref.h:161:8: style: Parameter 'Wxyz' can be declared as const array. However it seems that 'cam02ref_set_view' is a callback function, if 'Wxyz' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/cam02ref.h:146:16: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/cam02ref.h:161:8: note: Parameter 'Wxyz' can be declared as const array Argyll_V3.3.0/xicc/cam02ref.h:168:8: style: Parameter 'Gxyz' can be declared as const array. However it seems that 'cam02ref_set_view' is a callback function, if 'Gxyz' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/cam02ref.h:146:16: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/cam02ref.h:168:8: note: Parameter 'Gxyz' can be declared as const array Argyll_V3.3.0/xicc/cam02ref.h:348:8: style: Parameter 'XYZ' can be declared as const array. However it seems that 'cam02ref_XYZ_to_cam' is a callback function, if 'XYZ' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/cam02ref.h:147:18: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/cam02ref.h:348:8: note: Parameter 'XYZ' can be declared as const array Argyll_V3.3.0/xicc/cam02ref.h:501:8: style: Parameter 'Jab' can be declared as const array. However it seems that 'cam02ref_cam_to_XYZ' is a callback function, if 'Jab' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/cam02ref.h:148:18: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/cam02ref.h:501:8: note: Parameter 'Jab' can be declared as const array Argyll_V3.3.0/xicc/cam02ref.h:351:43: style: Unused variable: rgbaW [unusedVariable] Argyll_V3.3.0/xicc/cam02ref.h:351:62: style: Unused variable: rgbcW [unusedVariable] Argyll_V3.3.0/xicc/cam02ref.h:504:43: style: Unused variable: rgbaW [unusedVariable] Argyll_V3.3.0/xicc/cam02ref.h:504:62: style: Unused variable: rgbcW [unusedVariable] Argyll_V3.3.0/target/printtarg.c:574:20: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Argyll_V3.3.0/target/printtarg.c:603:40: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] Argyll_V3.3.0/target/printtarg.c:3016:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Argyll_V3.3.0/target/printtarg.c:3017:14: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] Argyll_V3.3.0/target/printtarg.c:2737:13: style: The if condition is the same as the previous if condition [duplicateCondition] Argyll_V3.3.0/target/printtarg.c:2727:13: note: First condition Argyll_V3.3.0/target/printtarg.c:2737:13: note: Second condition Argyll_V3.3.0/target/printtarg.c:1421:26: style: Condition 'j==(tpprow-1)||i==(npat-1)' is always true [knownConditionTrueFalse] Argyll_V3.3.0/target/printtarg.c:1420:24: note: Assuming that condition 'j==(tpprow-1)||i==(npat-1)' is not redundant Argyll_V3.3.0/target/printtarg.c:1421:26: note: Condition 'j==(tpprow-1)||i==(npat-1)' is always true Argyll_V3.3.0/target/printtarg.c:1423:31: style: Condition 'j==(tpprow-1)||i==(npat-1)' is always true [knownConditionTrueFalse] Argyll_V3.3.0/target/printtarg.c:1420:24: note: Assuming that condition 'j==(tpprow-1)||i==(npat-1)' is not redundant Argyll_V3.3.0/target/printtarg.c:1423:31: note: Condition 'j==(tpprow-1)||i==(npat-1)' is always true Argyll_V3.3.0/target/printtarg.c:944:2: warning: Either the condition '(s=(struct tiff_trend*)calloc(1,sizeof(struct tiff_trend)))==NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] Argyll_V3.3.0/target/printtarg.c:940:56: note: Assuming that condition '(s=(struct tiff_trend*)calloc(1,sizeof(struct tiff_trend)))==NULL' is not redundant Argyll_V3.3.0/target/printtarg.c:944:2: note: Null pointer dereference Argyll_V3.3.0/target/printtarg.c:945:2: warning: Either the condition '(s=(struct tiff_trend*)calloc(1,sizeof(struct tiff_trend)))==NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] Argyll_V3.3.0/target/printtarg.c:940:56: note: Assuming that condition '(s=(struct tiff_trend*)calloc(1,sizeof(struct tiff_trend)))==NULL' is not redundant Argyll_V3.3.0/target/printtarg.c:945:2: note: Null pointer dereference Argyll_V3.3.0/target/printtarg.c:946:2: warning: Either the condition '(s=(struct tiff_trend*)calloc(1,sizeof(struct tiff_trend)))==NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] Argyll_V3.3.0/target/printtarg.c:940:56: note: Assuming that condition '(s=(struct tiff_trend*)calloc(1,sizeof(struct tiff_trend)))==NULL' is not redundant Argyll_V3.3.0/target/printtarg.c:946:2: note: Null pointer dereference Argyll_V3.3.0/target/printtarg.c:947:2: warning: Either the condition '(s=(struct tiff_trend*)calloc(1,sizeof(struct tiff_trend)))==NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] Argyll_V3.3.0/target/printtarg.c:940:56: note: Assuming that condition '(s=(struct tiff_trend*)calloc(1,sizeof(struct tiff_trend)))==NULL' is not redundant Argyll_V3.3.0/target/printtarg.c:947:2: note: Null pointer dereference Argyll_V3.3.0/target/printtarg.c:948:2: warning: Either the condition '(s=(struct tiff_trend*)calloc(1,sizeof(struct tiff_trend)))==NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] Argyll_V3.3.0/target/printtarg.c:940:56: note: Assuming that condition '(s=(struct tiff_trend*)calloc(1,sizeof(struct tiff_trend)))==NULL' is not redundant Argyll_V3.3.0/target/printtarg.c:948:2: note: Null pointer dereference Argyll_V3.3.0/target/printtarg.c:949:2: warning: Either the condition '(s=(struct tiff_trend*)calloc(1,sizeof(struct tiff_trend)))==NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] Argyll_V3.3.0/target/printtarg.c:940:56: note: Assuming that condition '(s=(struct tiff_trend*)calloc(1,sizeof(struct tiff_trend)))==NULL' is not redundant Argyll_V3.3.0/target/printtarg.c:949:2: note: Null pointer dereference Argyll_V3.3.0/target/printtarg.c:950:2: warning: Either the condition '(s=(struct tiff_trend*)calloc(1,sizeof(struct tiff_trend)))==NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] Argyll_V3.3.0/target/printtarg.c:940:56: note: Assuming that condition '(s=(struct tiff_trend*)calloc(1,sizeof(struct tiff_trend)))==NULL' is not redundant Argyll_V3.3.0/target/printtarg.c:950:2: note: Null pointer dereference Argyll_V3.3.0/target/printtarg.c:951:2: warning: Either the condition '(s=(struct tiff_trend*)calloc(1,sizeof(struct tiff_trend)))==NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] Argyll_V3.3.0/target/printtarg.c:940:56: note: Assuming that condition '(s=(struct tiff_trend*)calloc(1,sizeof(struct tiff_trend)))==NULL' is not redundant Argyll_V3.3.0/target/printtarg.c:951:2: note: Null pointer dereference Argyll_V3.3.0/target/printtarg.c:952:2: warning: Either the condition '(s=(struct tiff_trend*)calloc(1,sizeof(struct tiff_trend)))==NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] Argyll_V3.3.0/target/printtarg.c:940:56: note: Assuming that condition '(s=(struct tiff_trend*)calloc(1,sizeof(struct tiff_trend)))==NULL' is not redundant Argyll_V3.3.0/target/printtarg.c:952:2: note: Null pointer dereference Argyll_V3.3.0/target/printtarg.c:3914:3: warning: Either the condition '(he=(struct hedge*)calloc(sizeof(struct hedge),1))==NULL' is redundant or there is possible null pointer dereference: he. [nullPointerRedundantCheck] Argyll_V3.3.0/target/printtarg.c:3910:47: note: Assuming that condition '(he=(struct hedge*)calloc(sizeof(struct hedge),1))==NULL' is not redundant Argyll_V3.3.0/target/printtarg.c:3914:3: note: Null pointer dereference Argyll_V3.3.0/target/printtarg.c:4081:14: warning: Either the condition '(ep0b=(struct hedge*)calloc(sizeof(struct hedge),1))==NULL' is redundant or there is possible null pointer dereference: ep0b. [nullPointerRedundantCheck] Argyll_V3.3.0/target/printtarg.c:4079:54: note: Assuming that condition '(ep0b=(struct hedge*)calloc(sizeof(struct hedge),1))==NULL' is not redundant Argyll_V3.3.0/target/printtarg.c:4081:14: note: Null pointer dereference Argyll_V3.3.0/target/printtarg.c:4085:14: warning: Either the condition '(ep1b=(struct hedge*)calloc(sizeof(struct hedge),1))==NULL' is redundant or there is possible null pointer dereference: ep1b. [nullPointerRedundantCheck] Argyll_V3.3.0/target/printtarg.c:4083:54: note: Assuming that condition '(ep1b=(struct hedge*)calloc(sizeof(struct hedge),1))==NULL' is not redundant Argyll_V3.3.0/target/printtarg.c:4085:14: note: Null pointer dereference Argyll_V3.3.0/target/printtarg.c:4088:7: warning: Either the condition '(ep1b=(struct hedge*)calloc(sizeof(struct hedge),1))==NULL' is redundant or there is possible null pointer dereference: ep1b. [nullPointerRedundantCheck] Argyll_V3.3.0/target/printtarg.c:4083:54: note: Assuming that condition '(ep1b=(struct hedge*)calloc(sizeof(struct hedge),1))==NULL' is not redundant Argyll_V3.3.0/target/printtarg.c:4088:7: note: Null pointer dereference Argyll_V3.3.0/target/printtarg.c:4093:7: warning: Either the condition '(ep1b=(struct hedge*)calloc(sizeof(struct hedge),1))==NULL' is redundant or there is possible null pointer dereference: ep1b. [nullPointerRedundantCheck] Argyll_V3.3.0/target/printtarg.c:4083:54: note: Assuming that condition '(ep1b=(struct hedge*)calloc(sizeof(struct hedge),1))==NULL' is not redundant Argyll_V3.3.0/target/printtarg.c:4093:7: note: Null pointer dereference Argyll_V3.3.0/target/printtarg.c:4122:14: warning: Either the condition '(ep0b=(struct hedge*)calloc(sizeof(struct hedge),1))==NULL' is redundant or there is possible null pointer dereference: ep0b. [nullPointerRedundantCheck] Argyll_V3.3.0/target/printtarg.c:4120:54: note: Assuming that condition '(ep0b=(struct hedge*)calloc(sizeof(struct hedge),1))==NULL' is not redundant Argyll_V3.3.0/target/printtarg.c:4122:14: note: Null pointer dereference Argyll_V3.3.0/target/printtarg.c:4126:14: warning: Either the condition '(ep0c=(struct hedge*)calloc(sizeof(struct hedge),1))==NULL' is redundant or there is possible null pointer dereference: ep0c. [nullPointerRedundantCheck] Argyll_V3.3.0/target/printtarg.c:4124:54: note: Assuming that condition '(ep0c=(struct hedge*)calloc(sizeof(struct hedge),1))==NULL' is not redundant Argyll_V3.3.0/target/printtarg.c:4126:14: note: Null pointer dereference Argyll_V3.3.0/target/printtarg.c:4130:7: warning: Either the condition '(ep0c=(struct hedge*)calloc(sizeof(struct hedge),1))==NULL' is redundant or there is possible null pointer dereference: ep0c. [nullPointerRedundantCheck] Argyll_V3.3.0/target/printtarg.c:4124:54: note: Assuming that condition '(ep0c=(struct hedge*)calloc(sizeof(struct hedge),1))==NULL' is not redundant Argyll_V3.3.0/target/printtarg.c:4130:7: note: Null pointer dereference Argyll_V3.3.0/target/printtarg.c:4134:7: warning: Either the condition '(ep0c=(struct hedge*)calloc(sizeof(struct hedge),1))==NULL' is redundant or there is possible null pointer dereference: ep0c. [nullPointerRedundantCheck] Argyll_V3.3.0/target/printtarg.c:4124:54: note: Assuming that condition '(ep0c=(struct hedge*)calloc(sizeof(struct hedge),1))==NULL' is not redundant Argyll_V3.3.0/target/printtarg.c:4134:7: note: Null pointer dereference Argyll_V3.3.0/target/printtarg.c:4246:7: warning: Either the condition '(el=(struct elist*)calloc(sizeof(struct elist),1))==NULL' is redundant or there is possible null pointer dereference: el. [nullPointerRedundantCheck] Argyll_V3.3.0/target/printtarg.c:4243:52: note: Assuming that condition '(el=(struct elist*)calloc(sizeof(struct elist),1))==NULL' is not redundant Argyll_V3.3.0/target/printtarg.c:4246:7: note: Null pointer dereference Argyll_V3.3.0/target/printtarg.c:4254:6: warning: Either the condition '(ep=(struct edge*)calloc(sizeof(struct edge),1))==NULL' is redundant or there is possible null pointer dereference: ep. [nullPointerRedundantCheck] Argyll_V3.3.0/target/printtarg.c:4251:49: note: Assuming that condition '(ep=(struct edge*)calloc(sizeof(struct edge),1))==NULL' is not redundant Argyll_V3.3.0/target/printtarg.c:4254:6: note: Null pointer dereference Argyll_V3.3.0/target/printtarg.c:4255:6: warning: Either the condition '(ep=(struct edge*)calloc(sizeof(struct edge),1))==NULL' is redundant or there is possible null pointer dereference: ep. [nullPointerRedundantCheck] Argyll_V3.3.0/target/printtarg.c:4251:49: note: Assuming that condition '(ep=(struct edge*)calloc(sizeof(struct edge),1))==NULL' is not redundant Argyll_V3.3.0/target/printtarg.c:4255:6: note: Null pointer dereference Argyll_V3.3.0/target/printtarg.c:4256:6: warning: Either the condition '(ep=(struct edge*)calloc(sizeof(struct edge),1))==NULL' is redundant or there is possible null pointer dereference: ep. [nullPointerRedundantCheck] Argyll_V3.3.0/target/printtarg.c:4251:49: note: Assuming that condition '(ep=(struct edge*)calloc(sizeof(struct edge),1))==NULL' is not redundant Argyll_V3.3.0/target/printtarg.c:4256:6: note: Null pointer dereference Argyll_V3.3.0/target/printtarg.c:4346:10: warning: Either the condition '(of=fopen(fname,"w"))==NULL' is redundant or there is possible null pointer dereference: of. [nullPointerRedundantCheck] Argyll_V3.3.0/target/printtarg.c:4343:30: note: Assuming that condition '(of=fopen(fname,"w"))==NULL' is not redundant Argyll_V3.3.0/target/printtarg.c:4346:10: note: Null pointer dereference Argyll_V3.3.0/target/printtarg.c:4347:10: warning: Either the condition '(of=fopen(fname,"w"))==NULL' is redundant or there is possible null pointer dereference: of. [nullPointerRedundantCheck] Argyll_V3.3.0/target/printtarg.c:4343:30: note: Assuming that condition '(of=fopen(fname,"w"))==NULL' is not redundant Argyll_V3.3.0/target/printtarg.c:4347:10: note: Null pointer dereference Argyll_V3.3.0/target/printtarg.c:965:7: style: Variable 'nc' is reassigned a value before the old one has been used. [redundantAssignment] Argyll_V3.3.0/target/printtarg.c:964:7: note: nc is assigned Argyll_V3.3.0/target/printtarg.c:965:7: note: nc is overwritten Argyll_V3.3.0/target/printtarg.c:981:7: style: Variable 'nc' is reassigned a value before the old one has been used. [redundantAssignment] Argyll_V3.3.0/target/printtarg.c:980:7: note: nc is assigned Argyll_V3.3.0/target/printtarg.c:981:7: note: nc is overwritten Argyll_V3.3.0/target/printtarg.c:2277:10: style: Redundant initialization for 'tidnpat'. The initialized value is overwritten before it is read. [redundantInitialization] Argyll_V3.3.0/target/printtarg.c:1821:14: note: tidnpat is initialized Argyll_V3.3.0/target/printtarg.c:2277:10: note: tidnpat is overwritten Argyll_V3.3.0/target/printtarg.c:2345:7: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/target/printtarg.c:1843:6: note: Shadowed declaration Argyll_V3.3.0/target/printtarg.c:2345:7: note: Shadow variable Argyll_V3.3.0/target/printtarg.c:3457:7: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/target/printtarg.c:2998:6: note: Shadowed declaration Argyll_V3.3.0/target/printtarg.c:3457:7: note: Shadow variable Argyll_V3.3.0/target/printtarg.c:3539:7: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/target/printtarg.c:2998:6: note: Shadowed declaration Argyll_V3.3.0/target/printtarg.c:3539:7: note: Shadow variable Argyll_V3.3.0/target/printtarg.c:3601:7: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/target/printtarg.c:2998:6: note: Shadowed declaration Argyll_V3.3.0/target/printtarg.c:3601:7: note: Shadow variable Argyll_V3.3.0/target/printtarg.c:467:8: style: Parameter 'str' can be declared as pointer to const. However it seems that 'ps_string' is a callback function, if 'str' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/target/printtarg.c:557:14: note: You might need to cast the function pointer here Argyll_V3.3.0/target/printtarg.c:467:8: note: Parameter 'str' can be declared as pointer to const Argyll_V3.3.0/target/printtarg.c:485:8: style: Parameter 'str' can be declared as pointer to const. However it seems that 'ps_vstring' is a callback function, if 'str' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/target/printtarg.c:558:15: note: You might need to cast the function pointer here Argyll_V3.3.0/target/printtarg.c:485:8: note: Parameter 'str' can be declared as pointer to const Argyll_V3.3.0/target/printtarg.c:574:14: style: Variable 'tsp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/target/printtarg.c:708:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/target/printtarg.c:715:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/target/printtarg.c:922:8: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/printtarg.c:1731:7: style: Parameter 'bname' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/printtarg.c:3876:23: style: Parameter 'rgb' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/printtarg.c:3884:9: style: Parameter 'rgb' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/printtarg.c:3942:8: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/printtarg.c:3991:33: style: Parameter 'cols' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/printtarg.c:3991:44: style: Parameter 'rix' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/printtarg.c:4168:12: style: Variable 'rgb' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/target/printtarg.c:4275:15: style: Variable 'pl' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/target/printtarg.c:708:16: style: Variable 's' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/printtarg.c:708:14: style: Variable 's' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/printtarg.c:715:16: style: Variable 's' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/printtarg.c:715:14: style: Variable 's' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/printtarg.c:1221:9: style: Variable 'ii' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/printtarg.c:1245:9: style: Variable 'ii' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/printtarg.c:1265:9: style: Unused variable: dd [unusedVariable] Argyll_V3.3.0/target/printtarg.c:1799:14: style: Variable 'txhi' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/printtarg.c:1818:14: style: Variable 'tidtype' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/printtarg.c:1852:10: style: Variable 'cpf' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/printtarg.c:1952:11: style: Variable 'tidtype' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/printtarg.c:1955:10: style: Variable 'txhi' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/printtarg.c:1997:8: style: Variable 'txhi' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/printtarg.c:2036:8: style: Variable 'txhi' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/printtarg.c:2075:8: style: Variable 'txhi' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/printtarg.c:2112:8: style: Variable 'txhi' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/printtarg.c:2163:8: style: Variable 'txhi' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/printtarg.c:2218:8: style: Variable 'txhi' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/printtarg.c:2236:5: style: Variable 'ih' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/printtarg.c:2287:9: style: Variable 'aminbs' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/cam02test.c:1280:11: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/cam02test.c:1147:8: note: Shadowed declaration Argyll_V3.3.0/xicc/cam02test.c:1280:11: note: Shadow variable Argyll_V3.3.0/xicc/cam02test.c:104:30: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/cam02test.c:134:23: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/cam02test.c:134:38: style: Parameter 'in2' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/cam02test.c:150:23: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/cam02test.c:150:38: style: Parameter 'in2' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/cam02test.c:294:15: style: Variable 'La' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/cam02test.c:298:25: style: Variable 'Vc' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/cam02test.c:386:9: style: Unused variable: d [unusedVariable] Argyll_V3.3.0/xicc/cam02test.c:386:12: style: Unused variable: e [unusedVariable] Argyll_V3.3.0/xicc/cam02test.c:961:19: style: Unused variable: Lab [unusedVariable] Argyll_V3.3.0/xicc/cam02test.c:1147:8: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/xicc/cam02test.c:1147:11: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/xicc/cam97s3.c:82:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/target/targen.c:998:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Argyll_V3.3.0/target/targen.c:999:14: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] Argyll_V3.3.0/xicc/cam97s3.c:266:8: style:inconclusive: Function 'XYZ_to_cam' argument 3 names different: declaration 'xyz' definition 'XYZ'. [funcArgNamesDifferent] Argyll_V3.3.0/xicc/cam97s3.c:73:64: note: Function 'XYZ_to_cam' argument 3 names different: declaration 'xyz' definition 'XYZ'. Argyll_V3.3.0/xicc/cam97s3.c:266:8: note: Function 'XYZ_to_cam' argument 3 names different: declaration 'xyz' definition 'XYZ'. Argyll_V3.3.0/xicc/cam97s3.c:418:8: style:inconclusive: Function 'cam_to_XYZ' argument 2 names different: declaration 'xyz' definition 'XYZ'. [funcArgNamesDifferent] Argyll_V3.3.0/xicc/cam97s3.c:74:51: note: Function 'cam_to_XYZ' argument 2 names different: declaration 'xyz' definition 'XYZ'. Argyll_V3.3.0/xicc/cam97s3.c:418:8: note: Function 'cam_to_XYZ' argument 2 names different: declaration 'xyz' definition 'XYZ'. Argyll_V3.3.0/xicc/cam97s3.c:112:8: style: Parameter 'Wxyz' can be declared as const array. However it seems that 'set_view' is a callback function, if 'Wxyz' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/cam97s3.c:88:16: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/cam97s3.c:112:8: note: Parameter 'Wxyz' can be declared as const array Argyll_V3.3.0/xicc/cam97s3.c:118:8: style: Parameter 'Fxyz' can be declared as const array. However it seems that 'set_view' is a callback function, if 'Fxyz' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/cam97s3.c:88:16: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/cam97s3.c:118:8: note: Parameter 'Fxyz' can be declared as const array Argyll_V3.3.0/xicc/cam97s3.c:266:8: style: Parameter 'XYZ' can be declared as const array. However it seems that 'XYZ_to_cam' is a callback function, if 'XYZ' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/cam97s3.c:89:18: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/cam97s3.c:266:8: note: Parameter 'XYZ' can be declared as const array Argyll_V3.3.0/xicc/cam97s3.c:419:8: style: Parameter 'Jab' can be declared as const array. However it seems that 'cam_to_XYZ' is a callback function, if 'Jab' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/cam97s3.c:90:18: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/cam97s3.c:419:8: note: Parameter 'Jab' can be declared as const array Argyll_V3.3.0/target/targen.c:1625:11: error: Common realloc mistake: 'fxlist' nulled but not freed upon failure [memleakOnRealloc] Argyll_V3.3.0/target/targen.c:1690:11: error: Common realloc mistake: 'fxlist' nulled but not freed upon failure [memleakOnRealloc] Argyll_V3.3.0/target/targen.c:1772:13: error: Common realloc mistake: 'fxlist' nulled but not freed upon failure [memleakOnRealloc] Argyll_V3.3.0/target/targen.c:1873:12: error: Common realloc mistake: 'fxlist' nulled but not freed upon failure [memleakOnRealloc] Argyll_V3.3.0/target/targen.c:1954:12: error: Common realloc mistake: 'fxlist' nulled but not freed upon failure [memleakOnRealloc] Argyll_V3.3.0/target/targen.c:2051:12: error: Common realloc mistake: 'fxlist' nulled but not freed upon failure [memleakOnRealloc] Argyll_V3.3.0/target/targen.c:2247:13: error: Common realloc mistake: 'fxlist' nulled but not freed upon failure [memleakOnRealloc] Argyll_V3.3.0/target/targen.c:2334:12: error: Common realloc mistake: 'fxlist' nulled but not freed upon failure [memleakOnRealloc] Argyll_V3.3.0/target/targen.c:2461:12: error: Common realloc mistake: 'fxlist' nulled but not freed upon failure [memleakOnRealloc] Argyll_V3.3.0/xicc/ccmx.c:79:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt_other [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/ccmx.c:200:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/ccmx.c:69:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Argyll_V3.3.0/xicc/ccmx.c:70:14: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] Argyll_V3.3.0/xicc/ccmx.c:133:40: style: Condition '(rv=create_ccmx_cgats(p,&ocg))!=0' is always false [knownConditionTrueFalse] Argyll_V3.3.0/xicc/ccmx.c:133:29: note: Calling function 'create_ccmx_cgats' returns 0 Argyll_V3.3.0/xicc/ccmx.c:133:40: note: Condition '(rv=create_ccmx_cgats(p,&ocg))!=0' is always false Argyll_V3.3.0/xicc/ccmx.c:160:40: style: Condition '(rv=create_ccmx_cgats(p,&ocg))!=0' is always false [knownConditionTrueFalse] Argyll_V3.3.0/xicc/ccmx.c:160:29: note: Calling function 'create_ccmx_cgats' returns 0 Argyll_V3.3.0/xicc/ccmx.c:160:40: note: Condition '(rv=create_ccmx_cgats(p,&ocg))!=0' is always false Argyll_V3.3.0/xicc/ccmx.c:69:13: style: Variable 'tsp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/ccmx.c:408:7: style: Parameter 'sel' can be declared as pointer to const. However it seems that 'set_ccmx' is a callback function, if 'sel' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/ccmx.c:728:22: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/ccmx.c:408:7: note: Parameter 'sel' can be declared as pointer to const Argyll_V3.3.0/xicc/ccmx.c:452:31: style: Parameter 'Lab0' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/ccmx.c:452:47: style: Parameter 'Lab1' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/ccmx.c:510:34: style: Parameter 'tp' can be declared as pointer to const. However it seems that 'optf' is a callback function, if 'tp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/ccmx.c:628:42: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/ccmx.c:510:34: note: Parameter 'tp' can be declared as pointer to const Argyll_V3.3.0/xicc/ccmx.c:559:7: style: Parameter 'sel' can be declared as pointer to const. However it seems that 'create_ccmx' is a callback function, if 'sel' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/ccmx.c:729:22: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/ccmx.c:559:7: note: Parameter 'sel' can be declared as pointer to const Argyll_V3.3.0/xicc/ccmx.c:616:20: warning: Uninitialized variable: cx.wix [uninitvar] Argyll_V3.3.0/xicc/ccmx.c:607:16: note: Assuming condition is false Argyll_V3.3.0/xicc/ccmx.c:616:20: note: Uninitialized variable: cx.wix Argyll_V3.3.0/xicc/ccmx.c:67:9: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/xicc/ccmx.c:67:12: style: Unused variable: n [unusedVariable] Argyll_V3.3.0/xicc/ccmx.c:195:9: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/xicc/ccmx.c:195:12: style: Unused variable: n [unusedVariable] Argyll_V3.3.0/xicc/ccmx.c:654:9: style: Variable 'mxix' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/targen.c:1499:7: style: Local variable 'j' shadows outer variable [shadowVariable] Argyll_V3.3.0/target/targen.c:950:9: note: Shadowed declaration Argyll_V3.3.0/target/targen.c:1499:7: note: Shadow variable Argyll_V3.3.0/target/targen.c:1505:9: style: Local variable 'fname' shadows outer variable [shadowVariable] Argyll_V3.3.0/target/targen.c:991:14: note: Shadowed declaration Argyll_V3.3.0/target/targen.c:1505:9: note: Shadow variable Argyll_V3.3.0/target/targen.c:1581:7: style: Local variable 'j' shadows outer variable [shadowVariable] Argyll_V3.3.0/target/targen.c:950:9: note: Shadowed declaration Argyll_V3.3.0/target/targen.c:1581:7: note: Shadow variable Argyll_V3.3.0/target/targen.c:1638:7: style: Local variable 'j' shadows outer variable [shadowVariable] Argyll_V3.3.0/target/targen.c:950:9: note: Shadowed declaration Argyll_V3.3.0/target/targen.c:1638:7: note: Shadow variable Argyll_V3.3.0/target/targen.c:1638:10: style: Local variable 'k' shadows outer variable [shadowVariable] Argyll_V3.3.0/target/targen.c:950:12: note: Shadowed declaration Argyll_V3.3.0/target/targen.c:1638:10: note: Shadow variable Argyll_V3.3.0/target/targen.c:1730:10: style: Local variable 'k' shadows outer variable [shadowVariable] Argyll_V3.3.0/target/targen.c:950:12: note: Shadowed declaration Argyll_V3.3.0/target/targen.c:1730:10: note: Shadow variable Argyll_V3.3.0/target/targen.c:1835:9: style: Local variable 'k' shadows outer variable [shadowVariable] Argyll_V3.3.0/target/targen.c:950:12: note: Shadowed declaration Argyll_V3.3.0/target/targen.c:1835:9: note: Shadow variable Argyll_V3.3.0/target/targen.c:1916:9: style: Local variable 'k' shadows outer variable [shadowVariable] Argyll_V3.3.0/target/targen.c:950:12: note: Shadowed declaration Argyll_V3.3.0/target/targen.c:1916:9: note: Shadow variable Argyll_V3.3.0/target/targen.c:2011:9: style: Local variable 'k' shadows outer variable [shadowVariable] Argyll_V3.3.0/target/targen.c:950:12: note: Shadowed declaration Argyll_V3.3.0/target/targen.c:2011:9: note: Shadow variable Argyll_V3.3.0/target/targen.c:2208:10: style: Local variable 'k' shadows outer variable [shadowVariable] Argyll_V3.3.0/target/targen.c:950:12: note: Shadowed declaration Argyll_V3.3.0/target/targen.c:2208:10: note: Shadow variable Argyll_V3.3.0/target/targen.c:2275:8: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/target/targen.c:950:6: note: Shadowed declaration Argyll_V3.3.0/target/targen.c:2275:8: note: Shadow variable Argyll_V3.3.0/target/targen.c:2275:11: style: Local variable 'j' shadows outer variable [shadowVariable] Argyll_V3.3.0/target/targen.c:950:9: note: Shadowed declaration Argyll_V3.3.0/target/targen.c:2275:11: note: Shadow variable Argyll_V3.3.0/target/targen.c:2751:7: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/target/targen.c:950:6: note: Shadowed declaration Argyll_V3.3.0/target/targen.c:2751:7: note: Shadow variable Argyll_V3.3.0/target/targen.c:2806:7: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/target/targen.c:950:6: note: Shadowed declaration Argyll_V3.3.0/target/targen.c:2806:7: note: Shadow variable Argyll_V3.3.0/target/targen.c:351:25: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/targen.c:351:36: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/targen.c:446:47: style: Parameter 'in' can be declared as pointer to const. However it seems that 'pcpt_den_to_dev' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/target/targen.c:671:20: note: You might need to cast the function pointer here Argyll_V3.3.0/target/targen.c:446:47: note: Parameter 'in' can be declared as pointer to const Argyll_V3.3.0/target/targen.c:541:48: style: Parameter 'in' can be declared as pointer to const. However it seems that 'pcpt_rLab_to_dev' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/target/targen.c:672:20: note: You might need to cast the function pointer here Argyll_V3.3.0/target/targen.c:541:48: note: Parameter 'in' can be declared as pointer to const Argyll_V3.3.0/target/targen.c:573:56: style: Parameter 'in' can be declared as pointer to const. However it seems that 'set_nlin' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/target/targen.c:832:42: note: You might need to cast the function pointer here Argyll_V3.3.0/target/targen.c:573:56: note: Parameter 'in' can be declared as pointer to const Argyll_V3.3.0/target/targen.c:611:28: style: Parameter 's' can be declared as pointer to const. However it seems that 'pcpt_is_specific' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/target/targen.c:667:20: note: You might need to cast the function pointer here Argyll_V3.3.0/target/targen.c:611:28: note: Parameter 's' can be declared as pointer to const Argyll_V3.3.0/target/targen.c:929:10: style: Parameter 'filt' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/target/targen.c:998:13: style: Variable 'tsp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/target/targen.c:601:13: style: Variable 'vv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/targen.c:601:10: style: Variable 'vv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/targen.c:708:11: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/targen.c:734:9: style: Variable 'outs' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/target/targen.c:2476:19: style: Unused variable: t1 [unusedVariable] Argyll_V3.3.0/target/targen.c:2515:27: style: Unused variable: adelay [unusedVariable] Argyll_V3.3.0/target/targen.c:2516:10: style: Unused variable: temp [unusedVariable] Argyll_V3.3.0/target/targen.c:2516:16: style: Unused variable: trate [unusedVariable] Argyll_V3.3.0/target/targen.c:2517:10: style: Unused variable: tstart [unusedVariable] Argyll_V3.3.0/target/targen.c:2517:18: style: Unused variable: tend [unusedVariable] Argyll_V3.3.0/target/targen.c:2619:28: style: Unused variable: de [unusedVariable] Argyll_V3.3.0/xicc/ccss.c:81:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt_other [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/ccss.c:267:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/cam97test.c:40:30: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/cam97test.c:71:30: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/cam97test.c:101:23: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/cam97test.c:101:38: style: Parameter 'in2' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/cam97test.c:117:23: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/cam97test.c:117:38: style: Parameter 'in2' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/ccss.c:69:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Argyll_V3.3.0/xicc/ccss.c:70:14: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] Argyll_V3.3.0/xicc/ccss.c:69:13: style: Variable 'tsp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/ccss.c:488:7: style: Parameter 'orig' can be declared as pointer to const. However it seems that 'set_ccss' is a callback function, if 'orig' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/ccss.c:619:23: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/ccss.c:488:7: note: Parameter 'orig' can be declared as pointer to const Argyll_V3.3.0/xicc/ccss.c:489:7: style: Parameter 'crdate' can be declared as pointer to const. However it seems that 'set_ccss' is a callback function, if 'crdate' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/ccss.c:619:23: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/ccss.c:489:7: note: Parameter 'crdate' can be declared as pointer to const Argyll_V3.3.0/xicc/ccss.c:490:7: style: Parameter 'desc' can be declared as pointer to const. However it seems that 'set_ccss' is a callback function, if 'desc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/ccss.c:619:23: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/ccss.c:490:7: note: Parameter 'desc' can be declared as pointer to const Argyll_V3.3.0/xicc/ccss.c:491:7: style: Parameter 'disp' can be declared as pointer to const. However it seems that 'set_ccss' is a callback function, if 'disp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/ccss.c:619:23: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/ccss.c:491:7: note: Parameter 'disp' can be declared as pointer to const Argyll_V3.3.0/xicc/ccss.c:494:7: style: Parameter 'sel' can be declared as pointer to const. However it seems that 'set_ccss' is a callback function, if 'sel' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/ccss.c:619:23: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/ccss.c:494:7: note: Parameter 'sel' can be declared as pointer to const Argyll_V3.3.0/xicc/ccss.c:495:7: style: Parameter 'refd' can be declared as pointer to const. However it seems that 'set_ccss' is a callback function, if 'refd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/ccss.c:619:23: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/ccss.c:495:7: note: Parameter 'refd' can be declared as pointer to const Argyll_V3.3.0/xicc/ccss.c:497:9: style: Parameter 'samples' can be declared as pointer to const. However it seems that 'set_ccss' is a callback function, if 'samples' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/ccss.c:619:23: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/ccss.c:497:9: note: Parameter 'samples' can be declared as pointer to const Argyll_V3.3.0/xicc/cv.c:89:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error_program [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/cgatsplot.c:33:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/cgatsplot.c:75:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error_program [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/ccttest.c:110:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/ccttest.c:132:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error_program [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/cv.c:29:9: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/cv.c:80:22: style: Parameter 'argv' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/cv.c:93:7: style: Variable 'nfa' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/cvtest.c:112:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error_program [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/cvtest.c:221:8: style: Parameter 'xa' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/cvtest.c:259:9: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/cvtest.c:307:9: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/extracticc.c:38:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/extracticc.c:72:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/cgatsplot.c:140:21: warning: Either the condition '(buf=strdup(cgf->t[0].kdata[ti]))==NULL' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/cgatsplot.c:136:42: note: Assuming that condition '(buf=strdup(cgf->t[0].kdata[ti]))==NULL' is not redundant Argyll_V3.3.0/xicc/cgatsplot.c:140:21: note: Null pointer dereference Argyll_V3.3.0/xicc/cgatsplot.c:142:7: warning: Either the condition '(outc=strchr(buf,'_'))==NULL' is redundant or there is possible null pointer dereference: outc++. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/cgatsplot.c:140:32: note: Assuming that condition '(outc=strchr(buf,'_'))==NULL' is not redundant Argyll_V3.3.0/xicc/cgatsplot.c:142:7: note: Null pointer dereference Argyll_V3.3.0/xicc/cgatsplot.c:142:7: warning: Either the condition '(outc=strchr(buf,'_'))==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] Argyll_V3.3.0/xicc/cgatsplot.c:140:32: note: Assuming that condition '(outc=strchr(buf,'_'))==NULL' is not redundant Argyll_V3.3.0/xicc/cgatsplot.c:142:7: note: Null pointer addition Argyll_V3.3.0/xicc/cgatsplot.c:109:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Argyll_V3.3.0/xicc/cgatsplot.c:111:4: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/xicc/cgatsplot.c:109:9: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/xicc/cgatsplot.c:233:7: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/cgatsplot.c:73:6: note: Shadowed declaration Argyll_V3.3.0/xicc/cgatsplot.c:233:7: note: Shadow variable Argyll_V3.3.0/xicc/cgatsplot.c:84:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/cgatsplot.c:55:11: style: Variable 'verb' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/cgatsplot.c:82:7: style: Variable 'nfa' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/cgatsplot.c:87:8: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/cgatsplot.c:92:10: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/cgatsplot.c:99:10: style: Variable 'verb' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/extractttag.c:40:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/extractttag.c:60:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/extracticc.c:150:7: warning:inconclusive: Either the condition '(fp=new_icmFileStd_name(&err,out_name,"w"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/extracticc.c:146:54: note: Assuming that condition '(fp=new_icmFileStd_name(&err,out_name,"w"))==NULL' is not redundant Argyll_V3.3.0/xicc/extracticc.c:150:7: note: Null pointer dereference Argyll_V3.3.0/xicc/extracticc.c:213:7: warning:inconclusive: Either the condition '(fp=new_icmFileStd_name(&err,out_name,"w"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/extracticc.c:209:54: note: Assuming that condition '(fp=new_icmFileStd_name(&err,out_name,"w"))==NULL' is not redundant Argyll_V3.3.0/xicc/extracticc.c:213:7: note: Null pointer dereference Argyll_V3.3.0/xicc/extracticc.c:94:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/extracticc.c:37:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/xicc/extracticc.c:74:11: style: Variable 'verb' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/extracticc.c:82:9: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/extracticc.c:92:7: style: Variable 'nfa' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/extracticc.c:97:8: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/extracticc.c:102:10: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/extracticc.c:112:10: style: Variable 'verb' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/extracticc.c:82:6: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/ccttest.c:188:12: style: Same expression on both sides of '/='. [duplicateExpression] Argyll_V3.3.0/xicc/ccttest.c:192:24: style: Same expression on both sides of '/'. [duplicateExpression] Argyll_V3.3.0/xicc/ccttest.c:201:12: style: Same expression on both sides of '/='. [duplicateExpression] Argyll_V3.3.0/xicc/ccttest.c:205:24: style: Same expression on both sides of '/'. [duplicateExpression] Argyll_V3.3.0/xicc/ccttest.c:216:12: style: Same expression on both sides of '/='. [duplicateExpression] Argyll_V3.3.0/xicc/ccttest.c:220:24: style: Same expression on both sides of '/'. [duplicateExpression] Argyll_V3.3.0/xicc/ccttest.c:230:12: style: Same expression on both sides of '/='. [duplicateExpression] Argyll_V3.3.0/xicc/ccttest.c:234:24: style: Same expression on both sides of '/'. [duplicateExpression] Argyll_V3.3.0/xicc/ccttest.c:236:8: style: Variable 'de2' is reassigned a value before the old one has been used. [redundantAssignment] Argyll_V3.3.0/xicc/ccttest.c:207:8: note: de2 is assigned Argyll_V3.3.0/xicc/ccttest.c:236:8: note: de2 is overwritten Argyll_V3.3.0/xicc/ccttest.c:285:6: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] Argyll_V3.3.0/xicc/ccttest.c:41:26: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/ccttest.c:138:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/ccttest.c:141:8: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/ccttest.c:146:10: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/fbview.c:64:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/fbview.c:92:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error_program [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/fakeCMY.c:40:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/fakeCMY.c:127:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXTD [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/fbview.c:143:12: warning:inconclusive: Either the condition '(rd_icco=new_icc(&err))==NULL' is redundant or there is possible null pointer dereference: rd_icco. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/fbview.c:139:32: note: Assuming that condition '(rd_icco=new_icc(&err))==NULL' is not redundant Argyll_V3.3.0/xicc/fbview.c:143:12: note: Null pointer dereference Argyll_V3.3.0/xicc/fbview.c:167:4: warning: Either the condition '(luo1=(icmLuSpace*)rd_icco->get_luobj(rd_icco,icmFwd,icmDefaultIntent,icSigLabData,icmLuOrdNorm))==NULL' is redundant or there is possible null pointer dereference: luo1. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/fbview.c:161:113: note: Assuming that condition '(luo1=(icmLuSpace*)rd_icco->get_luobj(rd_icco,icmFwd,icmDefaultIntent,icSigLabData,icmLuOrdNorm))==NULL' is not redundant Argyll_V3.3.0/xicc/fbview.c:167:4: note: Null pointer dereference Argyll_V3.3.0/xicc/fbview.c:188:3: warning: Either the condition '(wrl=new_vrml(out_name,doaxes,vrml_lab))==NULL' is redundant or there is possible null pointer dereference: wrl. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/fbview.c:184:52: note: Assuming that condition '(wrl=new_vrml(out_name,doaxes,vrml_lab))==NULL' is not redundant Argyll_V3.3.0/xicc/fbview.c:188:3: note: Null pointer dereference Argyll_V3.3.0/xicc/fbview.c:118:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Argyll_V3.3.0/xicc/fbview.c:120:4: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/xicc/fbview.c:118:9: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/xicc/fbview.c:154:7: style: Local variable 'doaxes' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/fbview.c:79:6: note: Shadowed declaration Argyll_V3.3.0/xicc/fbview.c:154:7: note: Shadow variable Argyll_V3.3.0/xicc/fbview.c:38:23: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/fbview.c:38:38: style: Parameter 'in2' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/fbview.c:50:23: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/fbview.c:50:38: style: Parameter 'in2' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/fbview.c:101:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/fbview.c:79:13: style: Variable 'doaxes' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/fbview.c:99:7: style: Variable 'nfa' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/fbview.c:104:8: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/fbview.c:109:10: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/fbview.c:169:9: style: Variable 'outs' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/fbview.c:79:6: style: Variable 'doaxes' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/fbview.c:156:10: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/xicc/extractttag.c:141:12: warning:inconclusive: Either the condition '(icco=new_icc(&err))==NULL' is redundant or there is possible null pointer dereference: icco. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/extractttag.c:138:29: note: Assuming that condition '(icco=new_icc(&err))==NULL' is not redundant Argyll_V3.3.0/xicc/extractttag.c:141:12: note: Null pointer dereference Argyll_V3.3.0/xicc/extractttag.c:150:6: warning: Either the condition '(ro=(icmText*)icco->read_tag_any(icco,sig))==NULL' is redundant or there is possible null pointer dereference: ro. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/extractttag.c:146:54: note: Assuming that condition '(ro=(icmText*)icco->read_tag_any(icco,sig))==NULL' is not redundant Argyll_V3.3.0/xicc/extractttag.c:150:6: note: Null pointer dereference Argyll_V3.3.0/xicc/extractttag.c:188:7: warning:inconclusive: Either the condition '(cal=new_xcal())==NULL' is redundant or there is possible null pointer dereference: cal. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/extractttag.c:185:26: note: Assuming that condition '(cal=new_xcal())==NULL' is not redundant Argyll_V3.3.0/xicc/extractttag.c:188:7: note: Null pointer dereference Argyll_V3.3.0/xicc/extractttag.c:72:8: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/extractttag.c:85:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/extractttag.c:39:6: style: Unused variable: i [unusedVariable] Argyll_V3.3.0/xicc/extractttag.c:70:11: style: Variable 'verb' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/extractttag.c:71:12: style: Variable 'size' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/extractttag.c:103:10: style: Variable 'verb' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/extractttag.c:71:7: style: Variable 'size' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/extractttag.c:72:8: style: Variable 'buf' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/iccjpeg.c:96:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JPEG_APP0 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/iccjpeg.c:138:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JPEG_APP0 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/iccjpeg.c:150:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JPEG_APP0 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/iccjpeg.c:217:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/iccjpeg.c:243:20: style: Checking if unsigned expression 'total_length' is less than zero. [unsignedLessThanZero] Argyll_V3.3.0/xicc/icheck.c:38:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/icheck.c:69:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/fakeCMY.c:131:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Argyll_V3.3.0/xicc/fakeCMY.c:132:14: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] Argyll_V3.3.0/xicc/fakeCMY.c:271:10: error: Common realloc mistake: 'fxlist' nulled but not freed upon failure [memleakOnRealloc] Argyll_V3.3.0/xicc/fakeCMY.c:297:9: error: Common realloc mistake: 'fxlist' nulled but not freed upon failure [memleakOnRealloc] Argyll_V3.3.0/xicc/fakeCMY.c:207:12: warning:inconclusive: Either the condition '(rd_icco=new_icc(&err))==NULL' is redundant or there is possible null pointer dereference: rd_icco. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/fakeCMY.c:203:32: note: Assuming that condition '(rd_icco=new_icc(&err))==NULL' is not redundant Argyll_V3.3.0/xicc/fakeCMY.c:207:12: note: Null pointer dereference Argyll_V3.3.0/xicc/fakeCMY.c:242:2: warning: Either the condition '(luo=xicco->get_luobj(xicco,0x0010,icmFwd,icAbsoluteColorimetric,icSigLabData,icmLuOrdNorm,NULL,&ink))==NULL' is redundant or there is possible null pointer dereference: luo. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/fakeCMY.c:238:128: note: Assuming that condition '(luo=xicco->get_luobj(xicco,0x0010,icmFwd,icAbsoluteColorimetric,icSigLabData,icmLuOrdNorm,NULL,&ink))==NULL' is not redundant Argyll_V3.3.0/xicc/fakeCMY.c:242:2: note: Null pointer dereference Argyll_V3.3.0/xicc/fakeCMY.c:275:5: warning: Either the condition '(fxlist=(fxpos*)realloc(fxlist,sizeof(fxpos)*fxlist_a))==NULL' is redundant or there is possible null pointer dereference: fxlist. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/fakeCMY.c:271:71: note: Assuming that condition '(fxlist=(fxpos*)realloc(fxlist,sizeof(fxpos)*fxlist_a))==NULL' is not redundant Argyll_V3.3.0/xicc/fakeCMY.c:275:5: note: Null pointer dereference Argyll_V3.3.0/xicc/fakeCMY.c:276:4: warning: Either the condition '(fxlist=(fxpos*)realloc(fxlist,sizeof(fxpos)*fxlist_a))==NULL' is redundant or there is possible null pointer dereference: fxlist. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/fakeCMY.c:271:71: note: Assuming that condition '(fxlist=(fxpos*)realloc(fxlist,sizeof(fxpos)*fxlist_a))==NULL' is not redundant Argyll_V3.3.0/xicc/fakeCMY.c:276:4: note: Null pointer dereference Argyll_V3.3.0/xicc/fakeCMY.c:301:4: warning: Either the condition '(fxlist=(fxpos*)realloc(fxlist,sizeof(fxpos)*fxlist_a))==NULL' is redundant or there is possible null pointer dereference: fxlist. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/fakeCMY.c:297:70: note: Assuming that condition '(fxlist=(fxpos*)realloc(fxlist,sizeof(fxpos)*fxlist_a))==NULL' is not redundant Argyll_V3.3.0/xicc/fakeCMY.c:301:4: note: Null pointer dereference Argyll_V3.3.0/xicc/fakeCMY.c:302:3: warning: Either the condition '(fxlist=(fxpos*)realloc(fxlist,sizeof(fxpos)*fxlist_a))==NULL' is redundant or there is possible null pointer dereference: fxlist. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/fakeCMY.c:297:70: note: Assuming that condition '(fxlist=(fxpos*)realloc(fxlist,sizeof(fxpos)*fxlist_a))==NULL' is not redundant Argyll_V3.3.0/xicc/fakeCMY.c:302:3: note: Null pointer dereference Argyll_V3.3.0/xicc/fakeCMY.c:235:7: style: Redundant initialization for 'gres'. The initialized value is overwritten before it is read. [redundantInitialization] Argyll_V3.3.0/xicc/fakeCMY.c:113:11: note: gres is initialized Argyll_V3.3.0/xicc/fakeCMY.c:235:7: note: gres is overwritten Argyll_V3.3.0/xicc/fakeCMY.c:39:18: style: Parameter 'diag' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/fakeCMY.c:57:10: style: Parameter 'orig' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/fakeCMY.c:58:10: style: Parameter 'vec' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/fakeCMY.c:131:13: style: Variable 'tsp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/fakeCMY.c:145:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/fakeCMY.c:308:11: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/icheck.c:136:12: warning:inconclusive: Either the condition '(rd_icco=new_icc(&err))==NULL' is redundant or there is possible null pointer dereference: rd_icco. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/icheck.c:132:32: note: Assuming that condition '(rd_icco=new_icc(&err))==NULL' is not redundant Argyll_V3.3.0/xicc/icheck.c:136:12: note: Null pointer dereference Argyll_V3.3.0/xicc/icheck.c:155:3: warning: Either the condition '(luob=(icmLuSpace*)rd_icco->get_luobj(rd_icco,icmBwd,icmDefaultIntent,icSigLabData,icmLuOrdNorm))==NULL' is redundant or there is possible null pointer dereference: luob. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/icheck.c:147:112: note: Assuming that condition '(luob=(icmLuSpace*)rd_icco->get_luobj(rd_icco,icmBwd,icmDefaultIntent,icSigLabData,icmLuOrdNorm))==NULL' is not redundant Argyll_V3.3.0/xicc/icheck.c:155:3: note: Null pointer dereference Argyll_V3.3.0/xicc/icheck.c:178:3: warning: Either the condition 'wrl==NULL' is redundant or there is possible null pointer dereference: wrl. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/icheck.c:176:11: note: Assuming that condition 'wrl==NULL' is not redundant Argyll_V3.3.0/xicc/icheck.c:178:3: note: Null pointer dereference Argyll_V3.3.0/xicc/icheck.c:111:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Argyll_V3.3.0/xicc/icheck.c:113:4: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/xicc/icheck.c:111:9: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/xicc/icheck.c:83:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/icheck.c:81:7: style: Variable 'nfa' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/icheck.c:86:8: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/icheck.c:91:10: style: Variable 'na' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/icheck.c:157:7: style: Variable 'ins' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/monctest.c:95:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error_program [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/moncurve.c:341:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/monctest.c:245:8: style: Parameter 'xa' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/moncurve.c:421:9: style:inconclusive: Function 'mcv_interp' argument 2 names different: declaration 'in' definition 'vv'. [funcArgNamesDifferent] Argyll_V3.3.0/xicc/moncurve.c:50:49: note: Function 'mcv_interp' argument 2 names different: declaration 'in' definition 'vv'. Argyll_V3.3.0/xicc/moncurve.c:421:9: note: Function 'mcv_interp' argument 2 names different: declaration 'in' definition 'vv'. Argyll_V3.3.0/xicc/moncurve.c:428:9: style:inconclusive: Function 'mcv_inv_interp' argument 2 names different: declaration 'in' definition 'vv'. [funcArgNamesDifferent] Argyll_V3.3.0/xicc/moncurve.c:51:53: note: Function 'mcv_inv_interp' argument 2 names different: declaration 'in' definition 'vv'. Argyll_V3.3.0/xicc/moncurve.c:428:9: note: Function 'mcv_inv_interp' argument 2 names different: declaration 'in' definition 'vv'. Argyll_V3.3.0/xicc/moncurve.c:475:9: style:inconclusive: Function 'mcv_interp_p' argument 3 names different: declaration 'in' definition 'vv'. [funcArgNamesDifferent] Argyll_V3.3.0/xicc/moncurve.c:53:64: note: Function 'mcv_interp_p' argument 3 names different: declaration 'in' definition 'vv'. Argyll_V3.3.0/xicc/moncurve.c:475:9: note: Function 'mcv_interp_p' argument 3 names different: declaration 'in' definition 'vv'. Argyll_V3.3.0/xicc/moncurve.c:526:9: style:inconclusive: Function 'mcv_shweight_p' argument 2 names different: declaration 'v' definition 'pms'. [funcArgNamesDifferent] Argyll_V3.3.0/xicc/moncurve.c:54:46: note: Function 'mcv_shweight_p' argument 2 names different: declaration 'v' definition 'pms'. Argyll_V3.3.0/xicc/moncurve.c:526:9: note: Function 'mcv_shweight_p' argument 2 names different: declaration 'v' definition 'pms'. Argyll_V3.3.0/xicc/moncurve.c:630:9: style:inconclusive: Function 'mcv_dshweight_p' argument 2 names different: declaration 'v' definition 'pms'. [funcArgNamesDifferent] Argyll_V3.3.0/xicc/moncurve.c:56:47: note: Function 'mcv_dshweight_p' argument 2 names different: declaration 'v' definition 'pms'. Argyll_V3.3.0/xicc/moncurve.c:630:9: note: Function 'mcv_dshweight_p' argument 2 names different: declaration 'v' definition 'pms'. Argyll_V3.3.0/xicc/moncurve.c:631:9: style:inconclusive: Function 'mcv_dshweight_p' argument 3 names different: declaration 'dv' definition 'dpms'. [funcArgNamesDifferent] Argyll_V3.3.0/xicc/moncurve.c:56:58: note: Function 'mcv_dshweight_p' argument 3 names different: declaration 'dv' definition 'dpms'. Argyll_V3.3.0/xicc/moncurve.c:631:9: note: Function 'mcv_dshweight_p' argument 3 names different: declaration 'dv' definition 'dpms'. Argyll_V3.3.0/xicc/moncurve.c:99:24: style: Parameter 'pp' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/moncurve.c:473:7: style: Parameter 'p' can be declared as pointer to const. However it seems that 'mcv_interp_p' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/moncurve.c:75:19: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/moncurve.c:473:7: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/xicc/moncurve.c:474:10: style: Parameter 'pms' can be declared as pointer to const. However it seems that 'mcv_interp_p' is a callback function, if 'pms' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/moncurve.c:75:19: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/moncurve.c:474:10: note: Parameter 'pms' can be declared as pointer to const Argyll_V3.3.0/xicc/moncurve.c:525:6: style: Parameter 'p' can be declared as pointer to const. However it seems that 'mcv_shweight_p' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/moncurve.c:76:19: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/moncurve.c:525:6: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/xicc/moncurve.c:526:9: style: Parameter 'pms' can be declared as pointer to const. However it seems that 'mcv_shweight_p' is a callback function, if 'pms' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/moncurve.c:76:19: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/moncurve.c:526:9: note: Parameter 'pms' can be declared as pointer to const Argyll_V3.3.0/xicc/moncurve.c:561:27: style: Parameter 'p' can be declared as pointer to const. However it seems that 'mcv_dinterp_p' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/moncurve.c:77:19: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/moncurve.c:561:27: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/xicc/moncurve.c:562:9: style: Parameter 'pms' can be declared as pointer to const. However it seems that 'mcv_dinterp_p' is a callback function, if 'pms' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/moncurve.c:77:19: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/moncurve.c:562:9: note: Parameter 'pms' can be declared as pointer to const Argyll_V3.3.0/xicc/moncurve.c:629:6: style: Parameter 'p' can be declared as pointer to const. However it seems that 'mcv_dshweight_p' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/moncurve.c:78:19: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/moncurve.c:629:6: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/xicc/moncurve.c:630:9: style: Parameter 'pms' can be declared as pointer to const. However it seems that 'mcv_dshweight_p' is a callback function, if 'pms' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/moncurve.c:78:19: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/moncurve.c:630:9: note: Parameter 'pms' can be declared as pointer to const Argyll_V3.3.0/xicc/moncurve.c:290:30: style: Variable 'pms' is allocated memory that is never used. [unusedAllocatedMemory] Argyll_V3.3.0/xicc/mpp.c:208:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt_other [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/mpp.c:373:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/mpp.c:751:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigLabData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/mpp.c:789:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigLabData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/mpp.c:828:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigLabData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/mpp.c:968:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/mpp.c:1163:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigXYZData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/mpp.c:1656:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmD50 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/mpp.c:1748:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cr_char [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/mpp.c:3582:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmD50 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/mpp.c:3668:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable instUnknown [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/mpp.c:195:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Argyll_V3.3.0/xicc/mpp.c:196:14: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] Argyll_V3.3.0/xicc/mpp.c:3842:17: style: Redundant assignment of 'p->pc[i][j]' to itself. [selfAssignment] Argyll_V3.3.0/xicc/mpp.c:4026:6: style: Variable 'lj' is assigned an expression that holds the same value. [redundantAssignment] Argyll_V3.3.0/xicc/mpp.c:4022:8: note: lj is assigned 'yj' here. Argyll_V3.3.0/xicc/mpp.c:4026:6: note: Variable 'lj' is assigned an expression that holds the same value. Argyll_V3.3.0/xicc/mpp.c:2334:8: style: Local variable 'm' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/mpp.c:2310:12: note: Shadowed declaration Argyll_V3.3.0/xicc/mpp.c:2334:8: note: Shadow variable Argyll_V3.3.0/xicc/mpp.c:3822:9: style: Local variable 'k' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/mpp.c:3619:16: note: Shadowed declaration Argyll_V3.3.0/xicc/mpp.c:3822:9: note: Shadow variable Argyll_V3.3.0/xicc/mpp.c:3853:7: style: Local variable 'k' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/mpp.c:3619:16: note: Shadowed declaration Argyll_V3.3.0/xicc/mpp.c:3853:7: note: Shadow variable Argyll_V3.3.0/xicc/mpp.c:4128:11: style: Local variable 'sde' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/mpp.c:3621:9: note: Shadowed declaration Argyll_V3.3.0/xicc/mpp.c:4128:11: note: Shadow variable Argyll_V3.3.0/xicc/mpp.c:4128:16: style: Local variable 'mxsde' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/mpp.c:3621:14: note: Shadowed declaration Argyll_V3.3.0/xicc/mpp.c:4128:16: note: Shadow variable Argyll_V3.3.0/xicc/mpp.c:4351:10: style: Local variable 'de' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/mpp.c:3620:9: note: Shadowed declaration Argyll_V3.3.0/xicc/mpp.c:4351:10: note: Shadow variable Argyll_V3.3.0/xicc/mpp.c:4351:14: style: Local variable 'mxde' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/mpp.c:3620:13: note: Shadowed declaration Argyll_V3.3.0/xicc/mpp.c:4351:14: note: Shadow variable Argyll_V3.3.0/xicc/mpp.c:195:13: style: Variable 'tsp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/mpp.c:653:6: style: Parameter 'p' can be declared as pointer to const. However it seems that 'get_info' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/mpp.c:1171:19: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/mpp.c:653:6: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/xicc/mpp.c:1425:49: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/mpp.c:1491:62: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/mpp.c:1745:7: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/mpp.c:2346:42: style: Parameter 'pv' can be declared as const array. However it seems that 'efunc3' is a callback function, if 'pv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/mpp.c:4202:15: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/mpp.c:2346:42: note: Parameter 'pv' can be declared as const array Argyll_V3.3.0/xicc/mpp.c:2418:55: style: Parameter 'pv' can be declared as const array. However it seems that 'dfunc3' is a callback function, if 'pv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/mpp.c:4202:23: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/mpp.c:2418:55: note: Parameter 'pv' can be declared as const array Argyll_V3.3.0/xicc/mpp.c:2628:42: style: Parameter 'pv' can be declared as const array. However it seems that 'efunc4' is a callback function, if 'pv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/mpp.c:4251:14: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/mpp.c:2628:42: note: Parameter 'pv' can be declared as const array Argyll_V3.3.0/xicc/mpp.c:2672:55: style: Parameter 'pv' can be declared as const array. However it seems that 'dfunc4' is a callback function, if 'pv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/mpp.c:4251:22: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/mpp.c:2672:55: note: Parameter 'pv' can be declared as const array Argyll_V3.3.0/xicc/mpp.c:3389:42: style: Parameter 'pv' can be declared as const array. However it seems that 'efunc6' is a callback function, if 'pv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/mpp.c:3544:48: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/mpp.c:3389:42: note: Parameter 'pv' can be declared as const array Argyll_V3.3.0/xicc/mpp.c:1710:30: error: Uninitialized variable: spec [legacyUninitvar] Argyll_V3.3.0/xicc/mpp.c:4015:8: style: Variable 'yj' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/mpplu.c:34:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/mpplu.c:93:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/mpplu.c:677:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vrml_lab [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/mpplu.c:1022:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/revfix.c:46:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/revfix.c:102:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icAbsoluteColorimetric [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/revfix.c:253:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cr_char [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/revfix.c:289:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/revfix.c:748:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Argyll_V3.3.0/xicc/revfix.c:454:12: warning:inconclusive: Either the condition '(icco=new_icc(&err))==NULL' is redundant or there is possible null pointer dereference: icco. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/revfix.c:450:29: note: Assuming that condition '(icco=new_icc(&err))==NULL' is not redundant Argyll_V3.3.0/xicc/revfix.c:454:12: note: Null pointer dereference Argyll_V3.3.0/xicc/revfix.c:636:14: warning:inconclusive: Either the condition '(abs_icc=new_icc(&err))==NULL' is redundant or there is possible null pointer dereference: abs_icc. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/revfix.c:632:34: note: Assuming that condition '(abs_icc=new_icc(&err))==NULL' is not redundant Argyll_V3.3.0/xicc/revfix.c:636:14: note: Null pointer dereference Argyll_V3.3.0/xicc/revfix.c:715:8: warning: Either the condition 'wo==NULL' is redundant or there is possible null pointer dereference: wo. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/revfix.c:711:11: note: Assuming that condition 'wo==NULL' is not redundant Argyll_V3.3.0/xicc/revfix.c:715:8: note: Null pointer dereference Argyll_V3.3.0/xicc/revfix.c:484:11: style: Local variable 'rv' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/revfix.c:306:6: note: Shadowed declaration Argyll_V3.3.0/xicc/revfix.c:484:11: note: Shadow variable Argyll_V3.3.0/xicc/revfix.c:95:60: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/revfix.c:319:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/revfix.c:467:14: style: Variable 'rh' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/revfix.c:221:10: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/revfix.c:201:10: style: Unused variable: tt [unusedVariable] Argyll_V3.3.0/xicc/specplot.c:132:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmD50 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/specplot.c:228:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/specplot.c:261:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error_program [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/specplot.c:178:18: style: Condition 'mt==inst_mrt_none' is always false [knownConditionTrueFalse] Argyll_V3.3.0/xicc/specplot.c:129:12: style: Same expression on both sides of '/='. [duplicateExpression] Argyll_V3.3.0/xicc/specplot.c:462:6: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] Argyll_V3.3.0/xicc/specplot.c:41:7: style: Parameter 'name' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/specplot.c:71:8: style: Variable 'color' can be declared as const array [constVariable] Argyll_V3.3.0/xicc/specplot.c:267:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/specplot.c:405:27: error: Uninitialized variable: mt [legacyUninitvar] Argyll_V3.3.0/xicc/specplot.c:68:12: style: Variable 'uv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/specplot.c:63:9: style: Unused variable: cdt [unusedVariable] Argyll_V3.3.0/xicc/specplot.c:63:14: style: Unused variable: vdt [unusedVariable] Argyll_V3.3.0/xicc/specplot.c:64:9: style: Unused variable: cdt_xyz [unusedVariable] Argyll_V3.3.0/xicc/specplot.c:64:21: style: Unused variable: vdt_xyz [unusedVariable] Argyll_V3.3.0/xicc/specplot.c:65:9: style: Unused variable: cdt_lab [unusedVariable] Argyll_V3.3.0/xicc/specplot.c:65:21: style: Unused variable: vdt_lab [unusedVariable] Argyll_V3.3.0/xicc/specplot.c:353:17: style: Variable 'maxgraphs' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/specplot.c:357:14: style: Variable 'maxgraphs' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/specplot.c:354:7: style: Unused variable: eof [unusedVariable] Argyll_V3.3.0/xicc/specsubsamp.c:29:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/specsubsamp.c:57:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error_program [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/specsubsamp.c:47:11: style: Variable 'verb' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/specsubsamp.c:160:10: style: Variable 'verb' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/spectest.c:645:8: warning:inconclusive: Either the condition '(scon=new_xsp2cie(icxIT_custom,0.0,&pill,icxOT_Shaw_Fairchild_2,NULL,icSigLabData,1))==NULL' is redundant or there is possible null pointer dereference: scon. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/spectest.c:641:51: note: Assuming that condition '(scon=new_xsp2cie(icxIT_custom,0.0,&pill,icxOT_Shaw_Fairchild_2,NULL,icSigLabData,1))==NULL' is not redundant Argyll_V3.3.0/xicc/spectest.c:645:8: note: Null pointer dereference Argyll_V3.3.0/xicc/iccgamut.c:51:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/iccgamut.c:104:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/iccgamut.c:623:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXDI [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/spectest2.c:227:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable instSpectrolino [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/spectest2.c:246:7: warning:inconclusive: Either the condition '(con=new_xsp2cie(icxIT_D50,0.0,NULL,icxOT_CIE_1931_2,NULL,icSigLabData,1))==NULL' is redundant or there is possible null pointer dereference: con. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/spectest2.c:243:50: note: Assuming that condition '(con=new_xsp2cie(icxIT_D50,0.0,NULL,icxOT_CIE_1931_2,NULL,icSigLabData,1))==NULL' is not redundant Argyll_V3.3.0/xicc/spectest2.c:246:7: note: Null pointer dereference Argyll_V3.3.0/xicc/tiffgamut.c:55:0: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] Argyll_V3.3.0/xicc/tiffgamut.c:55:3: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] Argyll_V3.3.0/xicc/iccgamut.c:673:2: warning: Either the condition '(wrl=new_vrml(outname,doaxes,vrml_lab))==NULL' is redundant or there is possible null pointer dereference: wrl. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/iccgamut.c:670:50: note: Assuming that condition '(wrl=new_vrml(outname,doaxes,vrml_lab))==NULL' is not redundant Argyll_V3.3.0/xicc/iccgamut.c:673:2: note: Null pointer dereference Argyll_V3.3.0/xicc/iccgamut.c:633:16: style: Local variable 'j' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/iccgamut.c:618:9: note: Shadowed declaration Argyll_V3.3.0/xicc/iccgamut.c:633:16: note: Shadow variable Argyll_V3.3.0/xicc/iccgamut.c:49:18: style: Parameter 'diag' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/tm3015.c:217:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_PI [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/tm3015.c:533:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_PI [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/tm3015.c:236:23: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] Argyll_V3.3.0/xicc/tm3015.c:519:14: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] Argyll_V3.3.0/xicc/tiffgmts.c:52:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/tiffgmts.c:146:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigGrayData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/tiffgmts.c:280:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/tiffgmts.c:1180:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/transplot.c:35:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/transplot.c:67:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmDefaultIntent [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/tiffgmts.c:973:21: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Argyll_V3.3.0/xicc/tiffgmts.c:974:16: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] Argyll_V3.3.0/xicc/tiffgmts.c:774:11: style: Variable 'nipoints' is reassigned a value before the old one has been used. [redundantAssignment] Argyll_V3.3.0/xicc/tiffgmts.c:701:11: note: nipoints is assigned Argyll_V3.3.0/xicc/tiffgmts.c:774:11: note: nipoints is overwritten Argyll_V3.3.0/xicc/tiffgmts.c:457:13: style: Local variable 'x' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/tiffgmts.c:314:6: note: Shadowed declaration Argyll_V3.3.0/xicc/tiffgmts.c:457:13: note: Shadow variable Argyll_V3.3.0/xicc/tiffgmts.c:457:16: style: Local variable 'y' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/tiffgmts.c:314:9: note: Shadowed declaration Argyll_V3.3.0/xicc/tiffgmts.c:457:16: note: Shadow variable Argyll_V3.3.0/xicc/tiffgmts.c:476:13: style: Local variable 'x' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/tiffgmts.c:314:6: note: Shadowed declaration Argyll_V3.3.0/xicc/tiffgmts.c:476:13: note: Shadow variable Argyll_V3.3.0/xicc/tiffgmts.c:476:16: style: Local variable 'y' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/tiffgmts.c:314:9: note: Shadowed declaration Argyll_V3.3.0/xicc/tiffgmts.c:476:16: note: Shadow variable Argyll_V3.3.0/xicc/tiffgmts.c:583:11: style: Local variable 'x' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/tiffgmts.c:314:6: note: Shadowed declaration Argyll_V3.3.0/xicc/tiffgmts.c:583:11: note: Shadow variable Argyll_V3.3.0/xicc/tiffgmts.c:584:11: style: Local variable 'y' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/tiffgmts.c:314:9: note: Shadowed declaration Argyll_V3.3.0/xicc/tiffgmts.c:584:11: note: Shadow variable Argyll_V3.3.0/xicc/tiffgmts.c:603:11: style: Local variable 'x' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/tiffgmts.c:314:6: note: Shadowed declaration Argyll_V3.3.0/xicc/tiffgmts.c:603:11: note: Shadow variable Argyll_V3.3.0/xicc/tiffgmts.c:604:11: style: Local variable 'y' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/tiffgmts.c:314:9: note: Shadowed declaration Argyll_V3.3.0/xicc/tiffgmts.c:604:11: note: Shadow variable Argyll_V3.3.0/xicc/tiffgmts.c:98:53: style: Parameter 'in' can be declared as pointer to const. However it seems that 'cvt_CIELAB8_to_Lab' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/tiffgmts.c:202:14: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/tiffgmts.c:98:53: note: Parameter 'in' can be declared as pointer to const Argyll_V3.3.0/xicc/tiffgmts.c:106:54: style: Parameter 'in' can be declared as pointer to const. However it seems that 'cvt_CIELAB16_to_Lab' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/tiffgmts.c:205:14: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/tiffgmts.c:106:54: note: Parameter 'in' can be declared as pointer to const Argyll_V3.3.0/xicc/tiffgmts.c:113:53: style: Parameter 'in' can be declared as pointer to const. However it seems that 'cvt_ICCLAB8_to_Lab' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/tiffgmts.c:213:14: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/tiffgmts.c:113:53: note: Parameter 'in' can be declared as pointer to const Argyll_V3.3.0/xicc/tiffgmts.c:120:54: style: Parameter 'in' can be declared as pointer to const. However it seems that 'cvt_ICCLAB16_to_Lab' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/tiffgmts.c:216:14: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/tiffgmts.c:120:54: note: Parameter 'in' can be declared as pointer to const Argyll_V3.3.0/xicc/tiffgmts.c:973:15: style: Variable 'tsp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/tiffgmts.c:1068:25: style: Parameter 'min' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/tiffgmts.c:1068:40: style: Parameter 'max' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/tiffgmts.c:1084:24: style: Parameter 'val' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/tiffgmts.c:738:13: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/tiffgmts.c:959:9: style: Variable 'tdiv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/tiffgmts.c:961:10: style: Variable 'tdiv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/tiffgmts.c:316:31: style: Unused variable: pmtc [unusedVariable] Argyll_V3.3.0/xicc/tiffgmts.c:329:9: style: Variable 'tdel' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/tiffgmts.c:1088:17: style: Variable 'cent' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/tiffgmts.c:1089:9: style: Unused variable: tt [unusedVariable] Argyll_V3.3.0/xicc/tiffgmts.c:1089:13: style: Unused variable: cdist [unusedVariable] Argyll_V3.3.0/xicc/tiffgmts.c:1089:20: style: Unused variable: ndist [unusedVariable] Argyll_V3.3.0/xicc/tiffgmts.c:1152:11: style: Unused variable: val [unusedVariable] Argyll_V3.3.0/xicc/tiffgmts.c:1179:11: style: Unused variable: val [unusedVariable] Argyll_V3.3.0/xicc/xcal.c:62:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xcal.c:72:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xcal.c:224:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigVideoCardGammaTag [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xcal.c:350:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt_other [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xcal.c:488:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xcal.c:552:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xcal.c:341:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Argyll_V3.3.0/xicc/xcal.c:342:14: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] Argyll_V3.3.0/xicc/xcal.c:61:9: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Argyll_V3.3.0/xicc/xcal.c:219:22: style: Variable 'td' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/xcal.c:220:11: style: Variable 'tx' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/xcal.c:341:13: style: Variable 'tsp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/xcal.c:463:55: style: Parameter 'in' can be declared as pointer to const. However it seems that 'xcal_interp' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/xcal.c:623:22: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/xcal.c:463:55: note: Parameter 'in' can be declared as pointer to const Argyll_V3.3.0/xicc/xcal.c:480:58: style: Parameter 'in' can be declared as pointer to const. However it seems that 'xcal_inv_interp' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/xcal.c:625:22: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/xcal.c:480:58: note: Parameter 'in' can be declared as pointer to const Argyll_V3.3.0/xicc/xcal.c:174:17: style: Variable 'smooth' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xcal.c:174:10: style: Variable 'smooth' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xcal.c:263:17: style: Variable 'smooth' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xcal.c:263:10: style: Variable 'smooth' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xcal.c:338:12: style: Unused variable: ti [unusedVariable] Argyll_V3.3.0/xicc/xcal.c:435:12: style: Variable 'table' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xcal.c:435:6: style: Variable 'table' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xcal.c:503:7: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xcam.c:61:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xcam.c:41:33: style:inconclusive: Function 'icxcam_description' argument 1 names different: declaration 'ct' definition 'which'. [funcArgNamesDifferent] Argyll_V3.3.0/xicc/xcam.h:110:33: note: Function 'icxcam_description' argument 1 names different: declaration 'ct' definition 'which'. Argyll_V3.3.0/xicc/xcam.c:41:33: note: Function 'icxcam_description' argument 1 names different: declaration 'ct' definition 'which'. Argyll_V3.3.0/xicc/xcam.c:234:13: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/xcam.c:234:16: style: Variable 'pp' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xcam.c:234:13: style: Variable 'pp' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xcolorants.c:392:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigOutputClass [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xcolorants.c:428:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xcolorants.c:728:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/mpplu.c:323:12: warning:inconclusive: Either the condition '(mppo=new_mpp())==NULL' is redundant or there is possible null pointer dereference: mppo. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/mpplu.c:320:25: note: Assuming that condition '(mppo=new_mpp())==NULL' is not redundant Argyll_V3.3.0/xicc/mpplu.c:323:12: note: Null pointer dereference Argyll_V3.3.0/xicc/mpplu.c:680:2: warning: Either the condition '(wrl=new_vrml(outname,doaxes,vrml_lab))==NULL' is redundant or there is possible null pointer dereference: wrl. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/mpplu.c:677:50: note: Assuming that condition '(wrl=new_vrml(outname,doaxes,vrml_lab))==NULL' is not redundant Argyll_V3.3.0/xicc/mpplu.c:680:2: note: Null pointer dereference Argyll_V3.3.0/xicc/mpplu.c:626:8: style:inconclusive: Function 'diag_gamut' argument 2 names different: declaration 'gamres' definition 'detail'. [funcArgNamesDifferent] Argyll_V3.3.0/xicc/mpplu.c:62:39: note: Function 'diag_gamut' argument 2 names different: declaration 'gamres' definition 'detail'. Argyll_V3.3.0/xicc/mpplu.c:626:8: note: Function 'diag_gamut' argument 2 names different: declaration 'gamres' definition 'detail'. Argyll_V3.3.0/xicc/mpplu.c:640:16: style: Local variable 'j' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/mpplu.c:631:9: note: Shadowed declaration Argyll_V3.3.0/xicc/mpplu.c:640:16: note: Shadow variable Argyll_V3.3.0/xicc/mpplu.c:1053:11: style: Local variable 'tt' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/mpplu.c:1023:9: note: Shadowed declaration Argyll_V3.3.0/xicc/mpplu.c:1053:11: note: Shadow variable Argyll_V3.3.0/xicc/mpplu.c:1170:12: style: Local variable 'tt' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/mpplu.c:1023:9: note: Shadowed declaration Argyll_V3.3.0/xicc/mpplu.c:1170:12: note: Shadow variable Argyll_V3.3.0/xicc/mpplu.c:883:20: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/mpplu.c:883:31: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/mpplu.c:913:31: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/mpplu.c:1016:9: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xcolorants.c:636:8: style: Parameter 'd' can be declared as const array. However it seems that 'icxColorantLu_to_XYZ' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/xcolorants.c:734:18: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/xcolorants.c:636:8: note: Parameter 'd' can be declared as const array Argyll_V3.3.0/xicc/xcolorants.c:601:12: style: Variable 'order[i]' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xcolorantslu.c:31:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xcolorantslu.c:71:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xcolorantslu.c:210:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xcolorantslu.c:223:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xcolorantslu.c:116:47: style: Condition 'argv[fa][1]=='m'' is always false [knownConditionTrueFalse] Argyll_V3.3.0/xicc/xcolorantslu.c:116:32: style: Same expression on both sides of '||'. [duplicateExpression] Argyll_V3.3.0/xicc/xcolorantslu.c:188:10: style: The comparison 'rv == 0' is always true. [knownConditionTrueFalse] Argyll_V3.3.0/xicc/xcolorantslu.c:67:11: note: 'rv' is assigned value '0' here. Argyll_V3.3.0/xicc/xcolorantslu.c:188:10: note: The comparison 'rv == 0' is always true. Argyll_V3.3.0/xicc/xcolorantslu.c:75:8: style: Variable 'odent' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/xfbview.c:68:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xfbview.c:112:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error_program [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/transplot.c:205:12: warning:inconclusive: Either the condition '(rd_icco=new_icc(&err))==NULL' is redundant or there is possible null pointer dereference: rd_icco. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/transplot.c:201:32: note: Assuming that condition '(rd_icco=new_icc(&err))==NULL' is not redundant Argyll_V3.3.0/xicc/transplot.c:205:12: note: Null pointer dereference Argyll_V3.3.0/xicc/transplot.c:225:3: warning: Either the condition '(luo=(icmLuSpace*)rd_icco->get_luobj(rd_icco,icmBwd,intent,icSigLabData,order))==NULL' is redundant or there is possible null pointer dereference: luo. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/transplot.c:210:94: note: Assuming that condition '(luo=(icmLuSpace*)rd_icco->get_luobj(rd_icco,icmBwd,intent,icSigLabData,order))==NULL' is not redundant Argyll_V3.3.0/xicc/transplot.c:225:3: note: Null pointer dereference Argyll_V3.3.0/xicc/transplot.c:185:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Argyll_V3.3.0/xicc/transplot.c:187:4: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/xicc/transplot.c:185:9: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/xicc/transplot.c:88:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/transplot.c:227:7: style: Variable 'inn' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/transplot.c:239:11: style: Variable 'rgbout' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/transplot.c:248:10: style: Variable 'rgbin' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xfit.c:394:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXDI [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xfit.c:687:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmD50 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xfit.c:706:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmD50 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xfit.c:890:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cr_char [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xfit.c:906:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXDI [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xfit.c:1002:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXDI [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xfit.c:1383:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXDI [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xfit.c:1452:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXDO [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xfit.c:1538:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXDI [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xfit.c:1591:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmD50 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xfit.c:1830:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXDI [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xfit.c:393:56: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xfit.c:494:59: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xfit.c:594:62: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xfit.c:620:58: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xfit.c:658:61: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xfit.c:729:10: style: Variable 'b' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/xfit.c:793:10: style: Variable 'b' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/xfit.c:856:8: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xfit.c:887:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/xfit.c:902:45: style: Parameter 'v' can be declared as pointer to const. However it seems that 'xfitfunc' is a callback function, if 'v' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/xfit.c:2236:24: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/xfit.c:902:45: note: Parameter 'v' can be declared as pointer to const Argyll_V3.3.0/xicc/xfit.c:998:58: style: Parameter 'v' can be declared as pointer to const. However it seems that 'dxfitfunc' is a callback function, if 'v' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/xfit.c:2236:34: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/xfit.c:998:58: note: Parameter 'v' can be declared as pointer to const Argyll_V3.3.0/xicc/xfit.c:1299:47: style: Parameter 'v' can be declared as pointer to const. However it seems that 'symoptfunc' is a callback function, if 'v' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/xfit.c:2265:40: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/xfit.c:1299:47: note: Parameter 'v' can be declared as pointer to const Argyll_V3.3.0/xicc/xfit.c:1301:17: style: Variable 'in' can be declared as const array [constVariable] Argyll_V3.3.0/xicc/xfit.c:1553:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/xfit.c:1630:42: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xfit.c:1728:6: style: Parameter 'iord' can be declared as const array. However it seems that 'xfit_fit' is a callback function, if 'iord' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/xfit.c:3138:19: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/xfit.c:1728:6: note: Parameter 'iord' can be declared as const array Argyll_V3.3.0/xicc/xfit.c:1730:6: style: Parameter 'oord' can be declared as const array. However it seems that 'xfit_fit' is a callback function, if 'oord' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/xfit.c:3138:19: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/xfit.c:1730:6: note: Parameter 'oord' can be declared as const array Argyll_V3.3.0/xicc/xfit.c:1731:9: style: Parameter 'shp_smooth' can be declared as const array. However it seems that 'xfit_fit' is a callback function, if 'shp_smooth' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/xfit.c:3138:19: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/xfit.c:1731:9: note: Parameter 'shp_smooth' can be declared as const array Argyll_V3.3.0/xicc/xfit.c:1732:9: style: Parameter 'out_smooth' can be declared as const array. However it seems that 'xfit_fit' is a callback function, if 'out_smooth' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/xfit.c:3138:19: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/xfit.c:1732:9: note: Parameter 'out_smooth' can be declared as const array Argyll_V3.3.0/xicc/xfit.c:2689:23: error: Uninitialized variable: wcc [uninitvar] Argyll_V3.3.0/xicc/xfit.c:2770:23: error: Uninitialized variable: wcc [uninitvar] Argyll_V3.3.0/xicc/xfit.c:860:9: style: Unused variable: tt [unusedVariable] Argyll_V3.3.0/xicc/xfit.c:860:13: style: Unused variable: w [unusedVariable] Argyll_V3.3.0/xicc/xfit.c:861:10: style: Unused variable: b [unusedVariable] Argyll_V3.3.0/xicc/xfit.c:2765:21: style: Variable 'uswpscale' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xfit.c:2764:17: style: Unused variable: _wp [unusedVariable] Argyll_V3.3.0/xicc/xmono.c:52:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_err [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmono.c:67:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_err [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmono.c:85:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_err [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmono.c:122:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmD50 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmono.c:159:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_err [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmono.c:185:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_err [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmono.c:202:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_err [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmono.c:244:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigLabData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmono.c:360:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmBwd [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmatrix.c:97:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_err [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmatrix.c:111:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_err [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmatrix.c:129:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_err [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmatrix.c:165:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigXYZData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmatrix.c:213:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_err [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmatrix.c:238:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_err [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmatrix.c:255:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_err [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmatrix.c:299:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigLabData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmatrix.c:441:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmBwd [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmatrix.c:741:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmatrix.c:802:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cr_char [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmatrix.c:866:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPL_VERBOSE [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmatrix.c:1243:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmD50 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmatrix.c:1266:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmD50 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmatrix.c:1367:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXDI [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmatrix.c:1937:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmBwd [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:186:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:226:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:244:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:298:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:311:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:344:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:378:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:516:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:553:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:579:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:646:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:681:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigCmykData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:950:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXDO [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:1569:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXDI [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:1630:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:1652:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmPe_lurv_err [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:1672:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:1734:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigLabData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:1857:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXDI [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:1885:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmFwd [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:1980:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXDIDO [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:2069:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:2172:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmFwd [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:2410:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:2482:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigLabData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:2506:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigLabData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:2658:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:2741:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigCmykData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:2784:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:2871:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPL_NOFLAGS [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:3756:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:3827:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:3863:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmBwd [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:4373:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmFwd [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xicc.c:102:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmColorSpaceSig [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xicc.c:314:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigXYZData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xicc.c:375:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xicc.c:879:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmD50 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xicc.c:978:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmSigDefaultData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xicc.c:1635:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICM_ERR_OK [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xicc.c:2033:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icAbsoluteColorimetric [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xicc.c:2374:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmRenderingIntent [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xicc.c:2425:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigCharTargetTag [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xicc.c:2520:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xicc.c:2603:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xicc.c:2727:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xicc.c:3528:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXDI [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xicc.c:3564:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXDI [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xicc.c:3633:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHAN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xfbview.c:206:12: warning:inconclusive: Either the condition '(rd_icco=new_icc(&err))==NULL' is redundant or there is possible null pointer dereference: rd_icco. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/xfbview.c:202:32: note: Assuming that condition '(rd_icco=new_icc(&err))==NULL' is not redundant Argyll_V3.3.0/xicc/xfbview.c:206:12: note: Null pointer dereference Argyll_V3.3.0/xicc/xfbview.c:259:3: warning: Either the condition '(luo=xicco->get_luobj(xicco,0x0010,icmFwd,icmDefaultIntent,icSigLabData,icmLuOrdNorm,NULL,&ink))==NULL' is redundant or there is possible null pointer dereference: luo. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/xfbview.c:255:113: note: Assuming that condition '(luo=xicco->get_luobj(xicco,0x0010,icmFwd,icmDefaultIntent,icSigLabData,icmLuOrdNorm,NULL,&ink))==NULL' is not redundant Argyll_V3.3.0/xicc/xfbview.c:259:3: note: Null pointer dereference Argyll_V3.3.0/xicc/xfbview.c:181:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Argyll_V3.3.0/xicc/xfbview.c:183:4: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/xicc/xfbview.c:181:9: note: Found duplicate branches for 'if' and 'else'. Argyll_V3.3.0/xicc/xfbview.c:42:23: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/xfbview.c:42:38: style: Parameter 'in2' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/xfbview.c:54:23: style: Parameter 'in1' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/xfbview.c:54:38: style: Parameter 'in2' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/xfbview.c:121:10: style: Variable 'na' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/xfbview.c:218:11: style: struct member 'Anonymous1::x' is never used. [unusedStructMember] Argyll_V3.3.0/xicc/xfbview.c:218:14: style: struct member 'Anonymous1::y' is never used. [unusedStructMember] Argyll_V3.3.0/xicc/xfbview.c:218:17: style: struct member 'Anonymous1::z' is never used. [unusedStructMember] Argyll_V3.3.0/xicc/xfbview.c:219:11: style: struct member 'Anonymous1::wx' is never used. [unusedStructMember] Argyll_V3.3.0/xicc/xfbview.c:219:15: style: struct member 'Anonymous1::wy' is never used. [unusedStructMember] Argyll_V3.3.0/xicc/xfbview.c:219:19: style: struct member 'Anonymous1::wz' is never used. [unusedStructMember] Argyll_V3.3.0/xicc/xfbview.c:220:11: style: struct member 'Anonymous1::r' is never used. [unusedStructMember] Argyll_V3.3.0/xicc/xfbview.c:220:14: style: struct member 'Anonymous1::g' is never used. [unusedStructMember] Argyll_V3.3.0/xicc/xfbview.c:220:17: style: struct member 'Anonymous1::b' is never used. [unusedStructMember] Argyll_V3.3.0/xicc/xfbview.c:319:16: style: Variable 'rv1' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xfbview.c:464:16: style: Variable 'rv2' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xfbview.c:473:16: style: Variable 'rv1' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xfbview.c:558:16: style: Variable 'rv1' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xlut.c:947:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_INVSOLN [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:1654:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icxSigJabData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:1713:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icxSigJabData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:1792:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icxLuLut [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:2120:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icxSigJabData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:2161:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICX_CLIP_NEAREST [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xlut.c:2330:29: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/xicc/xlut.c:2368:37: style: Condition 'setup_ink_icxLuLut(p,ink,1)!=0' is always false [knownConditionTrueFalse] Argyll_V3.3.0/xicc/xlut.c:2368:25: note: Calling function 'setup_ink_icxLuLut' returns 0 Argyll_V3.3.0/xicc/xlut.c:2368:37: note: Condition 'setup_ink_icxLuLut(p,ink,1)!=0' is always false Argyll_V3.3.0/xicc/xlut.c:1500:10: style: Variable 'bsoln' is reassigned a value before the old one has been used. [redundantAssignment] Argyll_V3.3.0/xicc/xlut.c:1488:13: note: bsoln is assigned Argyll_V3.3.0/xicc/xlut.c:1500:10: note: bsoln is overwritten Argyll_V3.3.0/xicc/xlut.c:644:9: style:inconclusive: Function 'icxLimitD' argument 2 names different: declaration 'in' definition 'ind'. [funcArgNamesDifferent] Argyll_V3.3.0/xicc/xlut.c:128:46: note: Function 'icxLimitD' argument 2 names different: declaration 'in' definition 'ind'. Argyll_V3.3.0/xicc/xlut.c:644:9: note: Function 'icxLimitD' argument 2 names different: declaration 'in' definition 'ind'. Argyll_V3.3.0/xicc/xlut.c:2257:7: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/xlut.c:2152:6: note: Shadowed declaration Argyll_V3.3.0/xicc/xlut.c:2257:7: note: Shadow variable Argyll_V3.3.0/xicc/xlut.c:3579:8: style: Local variable 'i' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/xlut.c:2873:12: note: Shadowed declaration Argyll_V3.3.0/xicc/xlut.c:3579:8: note: Shadow variable Argyll_V3.3.0/xicc/xlut.c:2329:55: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] Argyll_V3.3.0/xicc/xlut.c:2430:55: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] Argyll_V3.3.0/xicc/xlut.c:644:9: style: Parameter 'ind' can be declared as pointer to const. However it seems that 'icxLimitD' is a callback function, if 'ind' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/xlut.c:2462:50: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/xlut.c:644:9: note: Parameter 'ind' can be declared as pointer to const Argyll_V3.3.0/xicc/xlut.c:662:11: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xlut.c:664:9: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xlut.c:718:50: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xlut.c:943:9: style: Parameter 'auxt' can be declared as pointer to const. However it seems that 'icxLuLut_inv_clut_aux' is a callback function, if 'auxt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/xlut.c:1826:20: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/xlut.c:943:9: note: Parameter 'auxt' can be declared as pointer to const Argyll_V3.3.0/xicc/xlut.c:1563:65: style: Parameter 'out' can be declared as pointer to const. However it seems that 'icxLuLut_clut_aux_locus' is a callback function, if 'out' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/xlut.c:1830:20: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/xlut.c:1563:65: note: Parameter 'out' can be declared as pointer to const Argyll_V3.3.0/xicc/xlut.c:1563:78: style: Parameter 'in' can be declared as pointer to const. However it seems that 'icxLuLut_clut_aux_locus' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/xlut.c:1830:20: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/xlut.c:1563:78: note: Parameter 'in' can be declared as pointer to const Argyll_V3.3.0/xicc/xlut.c:1790:12: style: Variable 'luluto' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/xlut.c:2065:10: style: Parameter 'in' can be declared as pointer to const. However it seems that 'icxLuLut_inout_func' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/xlut.c:2277:25: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/xlut.c:2065:10: note: Parameter 'in' can be declared as pointer to const Argyll_V3.3.0/xicc/xlut.c:2145:24: style: Parameter 'vc' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xlut.c:2149:12: style: Variable 'luluto' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/xlut.c:2479:13: style: Variable 'h' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/xlut.c:2503:13: style: Variable 'h' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/xlut.c:2724:9: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xlut.c:4310:69: style: Parameter 'srcLab' can be declared as const array. However it seems that 'cuspmap_getCusp' is a callback function, if 'srcLab' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/xlut.c:4411:16: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/xlut.c:4310:69: note: Parameter 'srcLab' can be declared as const array Argyll_V3.3.0/xicc/xlut.c:2997:10: warning: Uninitialized variable: maxd [uninitvar] Argyll_V3.3.0/xicc/xlut.c:2978:20: note: Assuming condition is false Argyll_V3.3.0/xicc/xlut.c:2997:10: note: Uninitialized variable: maxd Argyll_V3.3.0/xicc/xlut.c:2997:17: warning: Uninitialized variable: mind [uninitvar] Argyll_V3.3.0/xicc/xlut.c:2978:20: note: Assuming condition is false Argyll_V3.3.0/xicc/xlut.c:2997:17: note: Uninitialized variable: mind Argyll_V3.3.0/xicc/xlut.c:311:20: style: Variable 'prv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xlut.c:396:6: style: Variable 'prv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xlut.c:516:20: style: Variable 'prv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xlut.c:553:20: style: Variable 'prv' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xlut.c:1790:19: style: Variable 'luluto' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xlut.c:1790:12: style: Variable 'luluto' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xlut.c:2149:19: style: Variable 'luluto' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xlut.c:2149:12: style: Variable 'luluto' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xlut.c:4311:12: style: Unused variable: C [unusedVariable] Argyll_V3.3.0/xicc/xmatrix.c:131:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icxSigJabData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmatrix.c:196:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icxSigJabData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmatrix.c:322:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icxLuMatrix [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmatrix.c:394:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icxSigJabData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmatrix.c:1294:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icxMatrixModel [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmatrix.c:580:8: style: The if condition is the same as the previous if condition [duplicateCondition] Argyll_V3.3.0/xicc/xmatrix.c:543:8: note: First condition Argyll_V3.3.0/xicc/xmatrix.c:580:8: note: Second condition Argyll_V3.3.0/xicc/xmatrix.c:954:14: style: The comparison 'nweight < 1.0' is always false. [knownConditionTrueFalse] Argyll_V3.3.0/xicc/xmatrix.c:848:20: note: 'nweight' is assigned value '1.0' here. Argyll_V3.3.0/xicc/xmatrix.c:954:14: note: The comparison 'nweight < 1.0' is always false. Argyll_V3.3.0/xicc/xmatrix.c:1749:35: style: Same expression on both sides of '||'. [duplicateExpression] Argyll_V3.3.0/xicc/xmatrix.c:2073:8: style: Local variable 'e' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/xmatrix.c:1929:9: note: Shadowed declaration Argyll_V3.3.0/xicc/xmatrix.c:2073:8: note: Shadow variable Argyll_V3.3.0/xicc/xmatrix.c:1591:68: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] Argyll_V3.3.0/xicc/xmatrix.c:1594:50: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] Argyll_V3.3.0/xicc/xmatrix.c:1595:53: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] Argyll_V3.3.0/xicc/xmatrix.c:310:50: style: Parameter 'plu' can be declared as pointer to const. However it seems that 'icxLuMatrixCuspMap' is a callback function, if 'plu' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/xmatrix.c:335:25: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/xmatrix.c:310:50: note: Parameter 'plu' can be declared as pointer to const Argyll_V3.3.0/xicc/xmatrix.c:380:24: style: Parameter 'vc' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xmatrix.c:512:29: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xmatrix.c:512:47: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xmatrix.c:512:71: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xmatrix.c:641:9: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xmatrix.c:642:9: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xmatrix.c:799:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/xmatrix.c:469:8: style: struct member 'mxinctx::r' is never used. [unusedStructMember] Argyll_V3.3.0/xicc/xmatrix.c:470:6: style: struct member 'mxinctx::linear' is never used. [unusedStructMember] Argyll_V3.3.0/xicc/xmatrix.c:471:9: style: struct member 'mxinctx::nmin' is never used. [unusedStructMember] Argyll_V3.3.0/xicc/xmatrix.c:471:15: style: struct member 'mxinctx::nmax' is never used. [unusedStructMember] Argyll_V3.3.0/xicc/xmatrix.c:850:17: style: Variable 'outputChan' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xmatrix.c:851:16: style: Variable 'rsplflags' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xmatrix.c:866:13: style: Variable 'rsplflags' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xmatrix.c:923:7: style: Variable 'wix' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xmatrix.c:939:9: style: Variable 'wix' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xmatrix.c:850:6: style: Variable 'outputChan' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xmatrix.c:852:9: style: Unused variable: f [unusedVariable] Argyll_V3.3.0/xicc/xmatrix.c:1661:20: style: Variable 'uswpscale' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xmatrix.c:1361:6: style: Variable 'maxits' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xmatrix.c:1362:9: style: Variable 'stopon' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xmatrix.c:1660:16: style: Unused variable: _wp [unusedVariable] Argyll_V3.3.0/xicc/xmatrix.c:1768:11: style: Unused variable: cmat [unusedVariable] Argyll_V3.3.0/xicc/xmono.c:87:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icxSigJabData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmono.c:142:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icxSigJabData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmono.c:274:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icxLuMono [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xmono.c:257:48: style: Parameter 'plu' can be declared as pointer to const. However it seems that 'icxLuMonoCuspMap' is a callback function, if 'plu' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/xmono.c:287:25: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/xmono.c:257:48: note: Parameter 'plu' can be declared as pointer to const Argyll_V3.3.0/xicc/xicc.c:414:4: warning: Either the condition '(p=(icmLuSpace*)icco->get_luobj(icco,icmFwd,intt,ins,ord))==NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/xicc.c:408:73: note: Assuming that condition '(p=(icmLuSpace*)icco->get_luobj(icco,icmFwd,intt,ins,ord))==NULL' is not redundant Argyll_V3.3.0/xicc/xicc.c:414:4: note: Null pointer dereference Argyll_V3.3.0/xicc/xicc.c:2531:6: warning: Either the condition '(lu=(icmLuSpace*)p->get_luobj(p,icmFwd,icRelativeColorimetric,icSigLabData,icmLuOrdNorm))==NULL' is redundant or there is possible null pointer dereference: lu. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/xicc.c:2526:106: note: Assuming that condition '(lu=(icmLuSpace*)p->get_luobj(p,icmFwd,icRelativeColorimetric,icSigLabData,icmLuOrdNorm))==NULL' is not redundant Argyll_V3.3.0/xicc/xicc.c:2531:6: note: Null pointer dereference Argyll_V3.3.0/xicc/xicc.c:1055:25: style: Same expression on both sides of '/'. [duplicateExpression] Argyll_V3.3.0/xicc/xicc.c:2597:7: style:inconclusive: Function 'icxGetLimits' argument 1 names different: declaration 'p' definition 'xp'. [funcArgNamesDifferent] Argyll_V3.3.0/xicc/xicc.h:723:25: note: Function 'icxGetLimits' argument 1 names different: declaration 'p' definition 'xp'. Argyll_V3.3.0/xicc/xicc.c:2597:7: note: Function 'icxGetLimits' argument 1 names different: declaration 'p' definition 'xp'. Argyll_V3.3.0/xicc/xicc.c:2643:7: style:inconclusive: Function 'icxDefaultLimits' argument 1 names different: declaration 'p' definition 'xp'. [funcArgNamesDifferent] Argyll_V3.3.0/xicc/xicc.h:726:29: note: Function 'icxDefaultLimits' argument 1 names different: declaration 'p' definition 'xp'. Argyll_V3.3.0/xicc/xicc.c:2643:7: note: Function 'icxDefaultLimits' argument 1 names different: declaration 'p' definition 'xp'. Argyll_V3.3.0/xicc/xicc.c:3282:9: style:inconclusive: Function 'icxdiTransFunc' argument 2 names different: declaration 'pdv' definition 'pdin'. [funcArgNamesDifferent] Argyll_V3.3.0/xicc/xicc.h:835:9: note: Function 'icxdiTransFunc' argument 2 names different: declaration 'pdv' definition 'pdin'. Argyll_V3.3.0/xicc/xicc.c:3282:9: note: Function 'icxdiTransFunc' argument 2 names different: declaration 'pdv' definition 'pdin'. Argyll_V3.3.0/xicc/xicc.c:725:11: style: Local variable 'tt' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/xicc.c:659:10: note: Shadowed declaration Argyll_V3.3.0/xicc/xicc.c:725:11: note: Shadow variable Argyll_V3.3.0/xicc/xicc.c:2689:10: style: Local variable 'dv' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/xicc.c:2682:9: note: Shadowed declaration Argyll_V3.3.0/xicc/xicc.c:2689:10: note: Shadow variable Argyll_V3.3.0/xicc/xicc.c:3647:10: style: Local variable 'v' shadows outer argument [shadowArgument] Argyll_V3.3.0/xicc/xicc.c:3627:9: note: Shadowed declaration Argyll_V3.3.0/xicc/xicc.c:3647:10: note: Shadow variable Argyll_V3.3.0/xicc/xicc.c:368:13: style: Variable 'h' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/xicc.c:1592:7: style: Parameter 'as' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xicc.c:1594:9: style: Parameter 'wp' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xicc.c:1918:14: style: Parameter 'vc' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xicc.c:1946:31: style: Parameter 'ik' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xicc.c:2009:7: style: Parameter 'as' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xicc.c:2677:45: style: Parameter 'pv' can be declared as const array. However it seems that 'ulimitfunc' is a callback function, if 'pv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/xicc.c:2742:58: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/xicc.c:2677:45: note: Parameter 'pv' can be declared as const array Argyll_V3.3.0/xicc/xicc.c:2757:32: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xicc.c:2757:75: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xicc.c:2795:47: style: Parameter 'Lab0' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xicc.c:2795:61: style: Parameter 'Lab1' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xicc.c:2815:46: style: Parameter 'Lab0' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/xicc.c:2815:62: style: Parameter 'Lab1' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/xicc.c:2918:45: style: Parameter 'Lab0' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xicc.c:2918:59: style: Parameter 'Lab1' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xicc.c:2938:44: style: Parameter 'Lab0' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/xicc.c:2938:60: style: Parameter 'Lab1' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/xicc.c:3085:9: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xicc.c:3128:9: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xicc.c:3204:9: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xicc.c:3281:9: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xicc.c:3360:9: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xicc.c:3465:9: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xicc.c:3481:9: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xicc.c:3487:9: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xicc.c:3521:9: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xicc.c:3525:9: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xicc.c:3554:9: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xicc.c:3560:9: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xicc.c:3631:9: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xicc.c:3703:9: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/xicc.c:3705:10: style: Variable 'v' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/xicc.c:3727:9: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/xicc.c:3729:10: style: Variable 'v' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/xicc.c:3760:9: style: Parameter 'in' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/xicc.c:3762:10: style: Variable 'v' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/xicc.c:547:14: style: Variable 'dval[e]' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xicc.c:388:24: style: Unused variable: pcsi [unusedVariable] Argyll_V3.3.0/xicc/xicc.c:412:25: style: Unused variable: pcsi [unusedVariable] Argyll_V3.3.0/xicc/xicc.c:1599:16: style: Unused variable: whitePointTag [unusedVariable] Argyll_V3.3.0/xicc/xicc.c:2547:14: style: Variable 'dval[e]' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xicc.c:2682:13: style: Unused variable: odv [unusedVariable] Argyll_V3.3.0/xicc/xicc.c:3043:9: style: Unused variable: tt [unusedVariable] Argyll_V3.3.0/xicc/xicc.c:3489:9: style: Unused variable: ee [unusedVariable] Argyll_V3.3.0/xicc/xicc.c:3489:16: style: Unused variable: g [unusedVariable] Argyll_V3.3.0/xicc/xutils.c:50:0: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] Argyll_V3.3.0/xicc/xutils.c:50:3: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] Argyll_V3.3.0/xicc/xspect.c:3664:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt_other [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xspect.c:3833:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kdata [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xspect.c:5504:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmD50 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xspect.c:5902:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmD50 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xspect.c:5925:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmD50 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xspect.c:5989:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigXYZData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xspect.c:6045:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigXYZData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xspect.c:6079:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigXYZData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xspect.c:7411:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lock [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xspect.c:8349:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICM_CAM_BRADFORD [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xspect.c:8417:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICM_CAM_BRADFORD [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xspect.c:8696:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icSigXYZData [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xspect.c:8991:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmD65 [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xml/mxml-file.c:722:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xml/mxml-file.c:1060:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xml/mxml-file.c:1141:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xml/mxml-file.c:1344:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xml/mxml-file.c:1366:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xml/mxml-file.c:1467:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xml/mxml-file.c:2138:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xml/mxml-file.c:2414:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xml/mxml-file.c:627:22: style:inconclusive: Function 'mxml_add_char' argument 2 names different: declaration 'ptr' definition 'bufptr'. [funcArgNamesDifferent] Argyll_V3.3.0/xml/mxml-file.c:98:42: note: Function 'mxml_add_char' argument 2 names different: declaration 'ptr' definition 'bufptr'. Argyll_V3.3.0/xml/mxml-file.c:627:22: note: Function 'mxml_add_char' argument 2 names different: declaration 'ptr' definition 'bufptr'. Argyll_V3.3.0/xml/mxml-get.c:141:32: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xml/mxml-get.c:202:31: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xml/mxml-get.c:228:33: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xml/mxml-get.c:288:28: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xml/mxml-get.c:314:33: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xml/mxml-get.c:428:26: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xml/mxml-get.c:452:30: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xml/mxml-index.c:339:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xspect.c:3652:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Argyll_V3.3.0/xicc/xspect.c:3653:14: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] Argyll_V3.3.0/xicc/xspect.c:534:30: style: Expression 'exp(x) - 1' can be replaced by 'expm1(x)' to avoid loss of precision. [unpreciseMathCall] Argyll_V3.3.0/xicc/xspect.c:537:42: style: Expression 'exp(x) - 1' can be replaced by 'expm1(x)' to avoid loss of precision. [unpreciseMathCall] Argyll_V3.3.0/xicc/xspect.c:578:30: style: Expression 'exp(x) - 1' can be replaced by 'expm1(x)' to avoid loss of precision. [unpreciseMathCall] Argyll_V3.3.0/xicc/xspect.c:581:42: style: Expression 'exp(x) - 1' can be replaced by 'expm1(x)' to avoid loss of precision. [unpreciseMathCall] Argyll_V3.3.0/xml/mxml-index.c:283:33: style: Parameter 'ind' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xml/mxml-index.c:504:29: style: Parameter 'ind' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xml/mxml-index.c:543:26: style: Parameter 'ind' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xspect.c:3804:3: warning: Either the condition '(icg=new_cgats())==NULL' is redundant or there is possible null pointer dereference: icg. [nullPointerRedundantCheck] Argyll_V3.3.0/xicc/xspect.c:3802:26: note: Assuming that condition '(icg=new_cgats())==NULL' is not redundant Argyll_V3.3.0/xicc/xspect.c:3804:3: note: Null pointer dereference Argyll_V3.3.0/xicc/xspect.c:6090:10: style: Same expression on both sides of '/='. [duplicateExpression] Argyll_V3.3.0/xicc/xspect.c:7158:9: style: Same expression on both sides of '/='. [duplicateExpression] Argyll_V3.3.0/xicc/xspect.c:7208:11: style: Same expression on both sides of '/='. [duplicateExpression] Argyll_V3.3.0/xicc/xspect.c:7239:11: style: Same expression on both sides of '/='. [duplicateExpression] Argyll_V3.3.0/xicc/xspect.c:8349:40: style: Same expression on both sides of '|'. [duplicateExpression] Argyll_V3.3.0/xicc/xspect.c:8649:10: style: Same expression on both sides of '/='. [duplicateExpression] Argyll_V3.3.0/xicc/xspect.c:8711:11: style: Same expression on both sides of '/='. [duplicateExpression] Argyll_V3.3.0/xicc/xspect.c:8764:11: style: Same expression on both sides of '/='. [duplicateExpression] Argyll_V3.3.0/xicc/xspect.c:3958:77: style:inconclusive: Function 'write_xspect' argument 4 names different: declaration 's' definition 'sp'. [funcArgNamesDifferent] Argyll_V3.3.0/xicc/xspect.h:142:77: note: Function 'write_xspect' argument 4 names different: declaration 's' definition 'sp'. Argyll_V3.3.0/xicc/xspect.c:3958:77: note: Function 'write_xspect' argument 4 names different: declaration 's' definition 'sp'. Argyll_V3.3.0/xicc/xspect.c:3962:80: style:inconclusive: Function 'write_xspect_1' argument 4 names different: declaration 's' definition 'sp'. [funcArgNamesDifferent] Argyll_V3.3.0/xicc/xspect.h:155:80: note: Function 'write_xspect_1' argument 4 names different: declaration 's' definition 'sp'. Argyll_V3.3.0/xicc/xspect.c:3962:80: note: Function 'write_xspect_1' argument 4 names different: declaration 's' definition 'sp'. Argyll_V3.3.0/xicc/xspect.c:4039:35: style:inconclusive: Function 'write_cmf' argument 2 names different: declaration 'cmf' definition 'sp'. [funcArgNamesDifferent] Argyll_V3.3.0/xicc/xspect.h:189:35: note: Function 'write_cmf' argument 2 names different: declaration 'cmf' definition 'sp'. Argyll_V3.3.0/xicc/xspect.c:4039:35: note: Function 'write_cmf' argument 2 names different: declaration 'cmf' definition 'sp'. Argyll_V3.3.0/xicc/xspect.c:4046:21: style:inconclusive: Function 'read_cmf' argument 1 names different: declaration 'cmf' definition 'sp'. [funcArgNamesDifferent] Argyll_V3.3.0/xicc/xspect.h:190:21: note: Function 'read_cmf' argument 1 names different: declaration 'cmf' definition 'sp'. Argyll_V3.3.0/xicc/xspect.c:4046:21: note: Function 'read_cmf' argument 1 names different: declaration 'cmf' definition 'sp'. Argyll_V3.3.0/xicc/xspect.c:4555:27: style:inconclusive: Function 'xspect_plotN' argument 1 names different: declaration 'sp' definition 'isp'. [funcArgNamesDifferent] Argyll_V3.3.0/xicc/xspect.h:231:27: note: Function 'xspect_plotN' argument 1 names different: declaration 'sp' definition 'isp'. Argyll_V3.3.0/xicc/xspect.c:4555:27: note: Function 'xspect_plotN' argument 1 names different: declaration 'sp' definition 'isp'. Argyll_V3.3.0/xicc/xspect.c:5757:9: style:inconclusive: Function 'xsp2cie_photo2rad' argument 2 names different: declaration 'rout' definition 'loutp'. [funcArgNamesDifferent] Argyll_V3.3.0/xicc/xspect.c:4725:51: note: Function 'xsp2cie_photo2rad' argument 2 names different: declaration 'rout' definition 'loutp'. Argyll_V3.3.0/xicc/xspect.c:5757:9: note: Function 'xsp2cie_photo2rad' argument 2 names different: declaration 'rout' definition 'loutp'. Argyll_V3.3.0/xicc/xspect.c:5758:9: style:inconclusive: Function 'xsp2cie_photo2rad' argument 3 names different: declaration 'pout' definition 'mwoutp'. [funcArgNamesDifferent] Argyll_V3.3.0/xicc/xspect.c:4725:65: note: Function 'xsp2cie_photo2rad' argument 3 names different: declaration 'pout' definition 'mwoutp'. Argyll_V3.3.0/xicc/xspect.c:5758:9: note: Function 'xsp2cie_photo2rad' argument 3 names different: declaration 'pout' definition 'mwoutp'. Argyll_V3.3.0/xicc/xspect.c:6066:8: style:inconclusive: Function 'icx_ill_sp2XYZ' argument 5 names different: declaration 'temp' definition 'ct'. [funcArgNamesDifferent] Argyll_V3.3.0/xicc/xspect.h:522:8: note: Function 'icx_ill_sp2XYZ' argument 5 names different: declaration 'temp' definition 'ct'. Argyll_V3.3.0/xicc/xspect.c:6066:8: note: Function 'icx_ill_sp2XYZ' argument 5 names different: declaration 'temp' definition 'ct'. Argyll_V3.3.0/xicc/xspect.c:6119:46: style:inconclusive: Function 'icx_spectrum_locus' argument 2 names different: declaration 'in' definition 'wl'. [funcArgNamesDifferent] Argyll_V3.3.0/xicc/xspect.h:571:46: note: Function 'icx_spectrum_locus' argument 2 names different: declaration 'in' definition 'wl'. Argyll_V3.3.0/xicc/xspect.c:6119:46: note: Function 'icx_spectrum_locus' argument 2 names different: declaration 'in' definition 'wl'. Argyll_V3.3.0/xicc/xspect.c:7778:14: style:inconclusive: Function 'chrom_locus_poligon' argument 1 names different: declaration 'locus_type' definition 'loty'. [funcArgNamesDifferent] Argyll_V3.3.0/xicc/xspect.h:587:43: note: Function 'chrom_locus_poligon' argument 1 names different: declaration 'locus_type' definition 'loty'. Argyll_V3.3.0/xicc/xspect.c:7778:14: note: Function 'chrom_locus_poligon' argument 1 names different: declaration 'locus_type' definition 'loty'. Argyll_V3.3.0/xicc/xspect.c:7780:5: style:inconclusive: Function 'chrom_locus_poligon' argument 3 names different: declaration 'cspace' definition 'uv'. [funcArgNamesDifferent] Argyll_V3.3.0/xicc/xspect.h:587:83: note: Function 'chrom_locus_poligon' argument 3 names different: declaration 'cspace' definition 'uv'. Argyll_V3.3.0/xicc/xspect.c:7780:5: note: Function 'chrom_locus_poligon' argument 3 names different: declaration 'cspace' definition 'uv'. Argyll_V3.3.0/xicc/xspect.c:8680:9: style:inconclusive: Function 'icx_XYZ2ill_ct' argument 6 names different: declaration 'insp0' definition 'insp'. [funcArgNamesDifferent] Argyll_V3.3.0/xicc/xspect.h:609:9: note: Function 'icx_XYZ2ill_ct' argument 6 names different: declaration 'insp0' definition 'insp'. Argyll_V3.3.0/xicc/xspect.c:8680:9: note: Function 'icx_XYZ2ill_ct' argument 6 names different: declaration 'insp0' definition 'insp'. Argyll_V3.3.0/xicc/xspect.c:7524:12: style: Local variable 'xyz' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/xspect.c:7421:10: note: Shadowed declaration Argyll_V3.3.0/xicc/xspect.c:7524:12: note: Shadow variable Argyll_V3.3.0/xicc/xspect.c:7609:9: style: Local variable 'j' shadows outer variable [shadowVariable] Argyll_V3.3.0/xicc/xspect.c:7419:14: note: Shadowed declaration Argyll_V3.3.0/xicc/xspect.c:7609:9: note: Shadow variable Argyll_V3.3.0/xml/mxml-node.c:321:20: style:inconclusive: Function 'mxmlNewCDATA' argument 2 names different: declaration 'string' definition 'data'. [funcArgNamesDifferent] Argyll_V3.3.0/xml/mxml.h:245:67: note: Function 'mxmlNewCDATA' argument 2 names different: declaration 'string' definition 'data'. Argyll_V3.3.0/xml/mxml-node.c:321:20: note: Function 'mxmlNewCDATA' argument 2 names different: declaration 'string' definition 'data'. Argyll_V3.3.0/xml/mxml-node.c:291:30: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xspect.c:306:16: style: Variable 's0' can be declared as const array [constVariable] Argyll_V3.3.0/xicc/xspect.c:319:16: style: Variable 's1' can be declared as const array [constVariable] Argyll_V3.3.0/xicc/xspect.c:332:16: style: Variable 's2' can be declared as const array [constVariable] Argyll_V3.3.0/xicc/xspect.c:385:16: style: Variable 's0' can be declared as const array [constVariable] Argyll_V3.3.0/xicc/xspect.c:410:16: style: Variable 's1' can be declared as const array [constVariable] Argyll_V3.3.0/xicc/xspect.c:435:16: style: Variable 's2' can be declared as const array [constVariable] Argyll_V3.3.0/xicc/xspect.c:3652:13: style: Variable 'tsp' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xicc/xspect.c:4007:26: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xspect.c:4007:41: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xspect.c:4423:47: style: Parameter 'targ' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xspect.c:4460:26: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xspect.c:4491:31: style: Parameter 'sp' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/xspect.c:4555:27: style: Parameter 'isp' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xspect.c:4576:28: style: Parameter 'sp1' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xspect.c:4576:41: style: Parameter 'sp2' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xspect.c:4576:54: style: Parameter 'sp3' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xspect.c:4601:37: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xspect.c:4657:9: style: Parameter 'media' can be declared as pointer to const. However it seems that 'xsp2cie_set_mw' is a callback function, if 'media' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/xspect.c:6015:21: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/xspect.c:4657:9: note: Parameter 'media' can be declared as pointer to const Argyll_V3.3.0/xicc/xspect.c:5171:9: style: Parameter 'iillum' can be declared as pointer to const. However it seems that 'xsp2cie_set_fwa' is a callback function, if 'iillum' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/xspect.c:6016:21: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/xspect.c:5171:9: note: Parameter 'iillum' can be declared as pointer to const Argyll_V3.3.0/xicc/xspect.c:5172:9: style: Parameter 'tillum' can be declared as pointer to const. However it seems that 'xsp2cie_set_fwa' is a callback function, if 'tillum' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/xspect.c:6016:21: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/xspect.c:5172:9: note: Parameter 'tillum' can be declared as pointer to const Argyll_V3.3.0/xicc/xspect.c:5174:9: style: Parameter 'media' can be declared as pointer to const. However it seems that 'xsp2cie_set_fwa' is a callback function, if 'media' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/xspect.c:6016:21: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/xspect.c:5174:9: note: Parameter 'media' can be declared as pointer to const Argyll_V3.3.0/xicc/xspect.c:5193:9: style: Parameter 'tillum' can be declared as pointer to const. However it seems that 'xsp2cie_update_fwa_custillum' is a callback function, if 'tillum' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/xspect.c:6017:28: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/xspect.c:5193:9: note: Parameter 'tillum' can be declared as pointer to const Argyll_V3.3.0/xicc/xspect.c:5195:9: style: Parameter 'custIllum' can be declared as pointer to const. However it seems that 'xsp2cie_update_fwa_custillum' is a callback function, if 'custIllum' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/xspect.c:6017:28: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/xspect.c:5195:9: note: Parameter 'custIllum' can be declared as pointer to const Argyll_V3.3.0/xicc/xspect.c:5215:10: style: Parameter 'p' can be declared as pointer to const. However it seems that 'xsp2cie_get_fwa_info' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/xspect.c:6018:21: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/xspect.c:5215:10: note: Parameter 'p' can be declared as pointer to const Argyll_V3.3.0/xicc/xspect.c:5941:16: style: Parameter 'custIllum' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xspect.c:6067:9: style: Parameter 'custIllum' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xspect.c:7144:45: style: Parameter 'tp' can be declared as const array. However it seems that 'cct2_func' is a callback function, if 'tp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/xspect.c:7229:40: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/xspect.c:7144:45: note: Parameter 'tp' can be declared as const array Argyll_V3.3.0/xicc/xspect.c:7874:37: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xspect.c:8281:9: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xspect.c:8308:9: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xspect.c:8336:9: style: Variable 'mat' can be declared as const array [constVariable] Argyll_V3.3.0/xicc/xspect.c:8383:9: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xspect.c:8388:9: style: Variable 'imat' can be declared as const array [constVariable] Argyll_V3.3.0/xicc/xspect.c:8430:9: style: Variable 'mat' can be declared as const array [constVariable] Argyll_V3.3.0/xicc/xspect.c:8564:36: style: Parameter 'Yxy' can be declared as const array [constParameter] Argyll_V3.3.0/xicc/xspect.c:8622:44: style: Parameter 'tp' can be declared as const array. However it seems that 'cct_func' is a callback function, if 'tp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/xicc/xspect.c:8728:40: note: You might need to cast the function pointer here Argyll_V3.3.0/xicc/xspect.c:8622:44: note: Parameter 'tp' can be declared as const array Argyll_V3.3.0/xicc/xspect.c:8774:45: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xml/mxml-private.c:97:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xml/mxml-private.c:317:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mxml_entity_cb [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xspect.c:7352:26: error: Uninitialized variable: iloc [legacyUninitvar] Argyll_V3.3.0/xml/mxml-search.c:130:31: style:inconclusive: Function 'mxmlFindPathNode' argument 1 names different: declaration 'node' definition 'top'. [funcArgNamesDifferent] Argyll_V3.3.0/xml/mxml.h:213:51: note: Function 'mxmlFindPathNode' argument 1 names different: declaration 'node' definition 'top'. Argyll_V3.3.0/xml/mxml-search.c:130:31: note: Function 'mxmlFindPathNode' argument 1 names different: declaration 'node' definition 'top'. Argyll_V3.3.0/xml/mxml-search.c:210:27: style:inconclusive: Function 'mxmlFindPath' argument 1 names different: declaration 'node' definition 'top'. [funcArgNamesDifferent] Argyll_V3.3.0/xml/mxml.h:214:47: note: Function 'mxmlFindPath' argument 1 names different: declaration 'node' definition 'top'. Argyll_V3.3.0/xml/mxml-search.c:210:27: note: Function 'mxmlFindPath' argument 1 names different: declaration 'node' definition 'top'. Argyll_V3.3.0/xml/mxml-search.c:293:27: style: Parameter 'top' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xml/mxml-search.c:331:27: style: Parameter 'top' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/xicc/xspect.c:4602:9: style: Unused variable: xs [unusedVariable] Argyll_V3.3.0/xicc/xspect.c:4602:13: style: Unused variable: xe [unusedVariable] Argyll_V3.3.0/xicc/xspect.c:4626:24: style: Unused variable: nbl [unusedVariable] Argyll_V3.3.0/xicc/xspect.c:5057:6: style: Variable 'Rl' is assigned a value that is never used. [unreadVariable] Argyll_V3.3.0/xicc/xspect.c:5536:9: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/xicc/xspect.c:5650:9: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/xicc/xspect.c:5704:10: style: Unused variable: Rc [unusedVariable] Argyll_V3.3.0/xicc/xspect.c:7311:9: style: Unused variable: cp [unusedVariable] Argyll_V3.3.0/xicc/xspect.c:7311:16: style: Unused variable: s [unusedVariable] Argyll_V3.3.0/xicc/xspect.c:7419:14: style: Unused variable: j [unusedVariable] Argyll_V3.3.0/xicc/xspect.c:7419:17: style: Unused variable: c [unusedVariable] Argyll_V3.3.0/xicc/xspect.c:7525:12: style: Unused variable: temp [unusedVariable] Argyll_V3.3.0/xicc/xspect.c:7876:11: style: Unused variable: poly [unusedVariable] Argyll_V3.3.0/xicc/xspect.c:9026:9: style: Unused variable: c_ad [unusedVariable] Argyll_V3.3.0/xicc/xspect.c:9026:15: style: Unused variable: d_ad [unusedVariable] Argyll_V3.3.0/xml/mxmldoc.c:3204:42: error: There is an unknown macro here somewhere. Configuration is required. If MXML_VERSION is a macro then please configure it. [unknownMacro] Argyll_V3.3.0/xml/testmxml.c:87:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xml/mxml-string.c:87:17: error: Returning pointer to local variable 't' that will be invalid when returning. [returnDanglingLifetime] Argyll_V3.3.0/xml/mxml-string.c:87:18: note: Passed to 'strcpy'. Argyll_V3.3.0/xml/mxml-string.c:78:9: note: Variable created here. Argyll_V3.3.0/xml/mxml-string.c:87:17: note: Returning pointer to local variable 't' that will be invalid when returning. Argyll_V3.3.0/xml/mxml-string.c:138:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] Argyll_V3.3.0/xml/mxml-string.c:446:3: error: va_list 'apcopy' used before va_start() was called. [va_list_usedBeforeStarted] Argyll_V3.3.0/xml/mxml-string.c:447:49: error: va_list 'apcopy' used before va_start() was called. [va_list_usedBeforeStarted] Argyll_V3.3.0/yajl/json_verify.c:26:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/yajl/json_verify.c:68:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/yajl/yajl.c:114:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctx [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/yajl/yajl.c:172:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctx [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/yajl/yajl.c:28:35: style:inconclusive: Function 'yajl_status_to_string' argument 1 names different: declaration 'code' definition 'stat'. [funcArgNamesDifferent] Argyll_V3.3.0/yajl/yajl_parse.h:44:61: note: Function 'yajl_status_to_string' argument 1 names different: declaration 'code' definition 'stat'. Argyll_V3.3.0/yajl/yajl.c:28:35: note: Function 'yajl_status_to_string' argument 1 names different: declaration 'code' definition 'stat'. Argyll_V3.3.0/yajl/yajl.c:119:19: style:inconclusive: Function 'yajl_parse' argument 3 names different: declaration 'jsonTextLength' definition 'jsonTextLen'. [funcArgNamesDifferent] Argyll_V3.3.0/yajl/yajl_parse.h:184:44: note: Function 'yajl_parse' argument 3 names different: declaration 'jsonTextLength' definition 'jsonTextLen'. Argyll_V3.3.0/yajl/yajl.c:119:19: note: Function 'yajl_parse' argument 3 names different: declaration 'jsonTextLength' definition 'jsonTextLen'. Argyll_V3.3.0/yajl/yajl.c:155:55: style:inconclusive: Function 'yajl_get_error' argument 4 names different: declaration 'jsonTextLength' definition 'jsonTextLen'. [funcArgNamesDifferent] Argyll_V3.3.0/yajl/yajl_parse.h:209:52: note: Function 'yajl_get_error' argument 4 names different: declaration 'jsonTextLength' definition 'jsonTextLen'. Argyll_V3.3.0/yajl/yajl.c:155:55: note: Function 'yajl_get_error' argument 4 names different: declaration 'jsonTextLength' definition 'jsonTextLen'. Argyll_V3.3.0/yajl/yajl_encode.c:117:32: style:inconclusive: Function 'yajl_string_decode' argument 3 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] Argyll_V3.3.0/yajl/yajl_encode.h:30:32: note: Function 'yajl_string_decode' argument 3 names different: declaration 'length' definition 'len'. Argyll_V3.3.0/yajl/yajl_encode.c:117:32: note: Function 'yajl_string_decode' argument 3 names different: declaration 'length' definition 'len'. Argyll_V3.3.0/yajl/yajl_encode.c:169:55: warning: String literal compared with variable 'NULL'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] Argyll_V3.3.0/yajl/yajl_gen.c:143:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctx [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/yajl/yajl_gen.c:269:5: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'longlong {aka signed long}'. [invalidPrintfArgType_sint] Argyll_V3.3.0/yajl/yajl_gen.c:101:41: style:inconclusive: Function 'yajl_gen_alloc' argument 1 names different: declaration 'allocFuncs' definition 'afs'. [funcArgNamesDifferent] Argyll_V3.3.0/yajl/yajl_gen.h:118:63: note: Function 'yajl_gen_alloc' argument 1 names different: declaration 'allocFuncs' definition 'afs'. Argyll_V3.3.0/yajl/yajl_gen.c:101:41: note: Function 'yajl_gen_alloc' argument 1 names different: declaration 'allocFuncs' definition 'afs'. Argyll_V3.3.0/yajl/yajl_gen.c:132:25: style:inconclusive: Function 'yajl_gen_reset' argument 1 names different: declaration 'hand' definition 'g'. [funcArgNamesDifferent] Argyll_V3.3.0/yajl/yajl_gen.h:163:43: note: Function 'yajl_gen_reset' argument 1 names different: declaration 'hand' definition 'g'. Argyll_V3.3.0/yajl/yajl_gen.c:132:25: note: Function 'yajl_gen_reset' argument 1 names different: declaration 'hand' definition 'g'. Argyll_V3.3.0/yajl/yajl_gen.c:140:24: style:inconclusive: Function 'yajl_gen_free' argument 1 names different: declaration 'handle' definition 'g'. [funcArgNamesDifferent] Argyll_V3.3.0/yajl/yajl_gen.h:121:42: note: Function 'yajl_gen_free' argument 1 names different: declaration 'handle' definition 'g'. Argyll_V3.3.0/yajl/yajl_gen.c:140:24: note: Function 'yajl_gen_free' argument 1 names different: declaration 'handle' definition 'g'. Argyll_V3.3.0/yajl/yajl_gen.c:265:27: style:inconclusive: Function 'yajl_gen_integer' argument 1 names different: declaration 'hand' definition 'g'. [funcArgNamesDifferent] Argyll_V3.3.0/yajl/yajl_gen.h:123:56: note: Function 'yajl_gen_integer' argument 1 names different: declaration 'hand' definition 'g'. Argyll_V3.3.0/yajl/yajl_gen.c:265:27: note: Function 'yajl_gen_integer' argument 1 names different: declaration 'hand' definition 'g'. Argyll_V3.3.0/yajl/yajl_gen.c:287:26: style:inconclusive: Function 'yajl_gen_double' argument 1 names different: declaration 'hand' definition 'g'. [funcArgNamesDifferent] Argyll_V3.3.0/yajl/yajl_gen.h:127:55: note: Function 'yajl_gen_double' argument 1 names different: declaration 'hand' definition 'g'. Argyll_V3.3.0/yajl/yajl_gen.c:287:26: note: Function 'yajl_gen_double' argument 1 names different: declaration 'hand' definition 'g'. Argyll_V3.3.0/yajl/yajl_gen.c:304:26: style:inconclusive: Function 'yajl_gen_number' argument 1 names different: declaration 'hand' definition 'g'. [funcArgNamesDifferent] Argyll_V3.3.0/yajl/yajl_gen.h:128:55: note: Function 'yajl_gen_number' argument 1 names different: declaration 'hand' definition 'g'. Argyll_V3.3.0/yajl/yajl_gen.c:304:26: note: Function 'yajl_gen_number' argument 1 names different: declaration 'hand' definition 'g'. Argyll_V3.3.0/yajl/yajl_gen.c:304:42: style:inconclusive: Function 'yajl_gen_number' argument 2 names different: declaration 'num' definition 's'. [funcArgNamesDifferent] Argyll_V3.3.0/yajl/yajl_gen.h:129:59: note: Function 'yajl_gen_number' argument 2 names different: declaration 'num' definition 's'. Argyll_V3.3.0/yajl/yajl_gen.c:304:42: note: Function 'yajl_gen_number' argument 2 names different: declaration 'num' definition 's'. Argyll_V3.3.0/yajl/yajl_gen.c:304:52: style:inconclusive: Function 'yajl_gen_number' argument 3 names different: declaration 'len' definition 'l'. [funcArgNamesDifferent] Argyll_V3.3.0/yajl/yajl_gen.h:130:53: note: Function 'yajl_gen_number' argument 3 names different: declaration 'len' definition 'l'. Argyll_V3.3.0/yajl/yajl_gen.c:304:52: note: Function 'yajl_gen_number' argument 3 names different: declaration 'len' definition 'l'. Argyll_V3.3.0/yajl/yajl_gen.c:314:26: style:inconclusive: Function 'yajl_gen_string' argument 1 names different: declaration 'hand' definition 'g'. [funcArgNamesDifferent] Argyll_V3.3.0/yajl/yajl_gen.h:131:55: note: Function 'yajl_gen_string' argument 1 names different: declaration 'hand' definition 'g'. Argyll_V3.3.0/yajl/yajl_gen.c:314:26: note: Function 'yajl_gen_string' argument 1 names different: declaration 'hand' definition 'g'. Argyll_V3.3.0/yajl/yajl_gen.c:335:24: style:inconclusive: Function 'yajl_gen_null' argument 1 names different: declaration 'hand' definition 'g'. [funcArgNamesDifferent] Argyll_V3.3.0/yajl/yajl_gen.h:134:53: note: Function 'yajl_gen_null' argument 1 names different: declaration 'hand' definition 'g'. Argyll_V3.3.0/yajl/yajl_gen.c:335:24: note: Function 'yajl_gen_null' argument 1 names different: declaration 'hand' definition 'g'. Argyll_V3.3.0/yajl/yajl_gen.c:345:24: style:inconclusive: Function 'yajl_gen_bool' argument 1 names different: declaration 'hand' definition 'g'. [funcArgNamesDifferent] Argyll_V3.3.0/yajl/yajl_gen.h:135:53: note: Function 'yajl_gen_bool' argument 1 names different: declaration 'hand' definition 'g'. Argyll_V3.3.0/yajl/yajl_gen.c:345:24: note: Function 'yajl_gen_bool' argument 1 names different: declaration 'hand' definition 'g'. Argyll_V3.3.0/yajl/yajl_gen.c:357:28: style:inconclusive: Function 'yajl_gen_map_open' argument 1 names different: declaration 'hand' definition 'g'. [funcArgNamesDifferent] Argyll_V3.3.0/yajl/yajl_gen.h:136:57: note: Function 'yajl_gen_map_open' argument 1 names different: declaration 'hand' definition 'g'. Argyll_V3.3.0/yajl/yajl_gen.c:357:28: note: Function 'yajl_gen_map_open' argument 1 names different: declaration 'hand' definition 'g'. Argyll_V3.3.0/yajl/yajl_gen.c:370:29: style:inconclusive: Function 'yajl_gen_map_close' argument 1 names different: declaration 'hand' definition 'g'. [funcArgNamesDifferent] Argyll_V3.3.0/yajl/yajl_gen.h:137:58: note: Function 'yajl_gen_map_close' argument 1 names different: declaration 'hand' definition 'g'. Argyll_V3.3.0/yajl/yajl_gen.c:370:29: note: Function 'yajl_gen_map_close' argument 1 names different: declaration 'hand' definition 'g'. Argyll_V3.3.0/yajl/yajl_gen.c:384:30: style:inconclusive: Function 'yajl_gen_array_open' argument 1 names different: declaration 'hand' definition 'g'. [funcArgNamesDifferent] Argyll_V3.3.0/yajl/yajl_gen.h:138:59: note: Function 'yajl_gen_array_open' argument 1 names different: declaration 'hand' definition 'g'. Argyll_V3.3.0/yajl/yajl_gen.c:384:30: note: Function 'yajl_gen_array_open' argument 1 names different: declaration 'hand' definition 'g'. Argyll_V3.3.0/yajl/yajl_gen.c:396:31: style:inconclusive: Function 'yajl_gen_array_close' argument 1 names different: declaration 'hand' definition 'g'. [funcArgNamesDifferent] Argyll_V3.3.0/yajl/yajl_gen.h:139:60: note: Function 'yajl_gen_array_close' argument 1 names different: declaration 'hand' definition 'g'. Argyll_V3.3.0/yajl/yajl_gen.c:396:31: note: Function 'yajl_gen_array_close' argument 1 names different: declaration 'hand' definition 'g'. Argyll_V3.3.0/yajl/yajl_gen.c:441:27: style:inconclusive: Function 'yajl_gen_get_buf' argument 1 names different: declaration 'hand' definition 'g'. [funcArgNamesDifferent] Argyll_V3.3.0/yajl/yajl_gen.h:148:56: note: Function 'yajl_gen_get_buf' argument 1 names different: declaration 'hand' definition 'g'. Argyll_V3.3.0/yajl/yajl_gen.c:441:27: note: Function 'yajl_gen_get_buf' argument 1 names different: declaration 'hand' definition 'g'. Argyll_V3.3.0/yajl/yajl_gen.c:451:25: style:inconclusive: Function 'yajl_gen_clear' argument 1 names different: declaration 'hand' definition 'g'. [funcArgNamesDifferent] Argyll_V3.3.0/yajl/yajl_gen.h:155:43: note: Function 'yajl_gen_clear' argument 1 names different: declaration 'hand' definition 'g'. Argyll_V3.3.0/yajl/yajl_gen.c:451:25: note: Function 'yajl_gen_clear' argument 1 names different: declaration 'hand' definition 'g'. Argyll_V3.3.0/yajl/yajl_parser.c:46:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/yajl/yajl_parser.c:93:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctx [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/yajl/yajl_parser.c:298:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/yajl/yajl_lex.c:119:26: style:inconclusive: Function 'yajl_lex_free' argument 1 names different: declaration 'lexer' definition 'lxr'. [funcArgNamesDifferent] Argyll_V3.3.0/yajl/yajl_lex.h:56:31: note: Function 'yajl_lex_free' argument 1 names different: declaration 'lexer' definition 'lxr'. Argyll_V3.3.0/yajl/yajl_lex.c:119:26: note: Function 'yajl_lex_free' argument 1 names different: declaration 'lexer' definition 'lxr'. Argyll_V3.3.0/yajl/yajl_parser.c:159:28: style:inconclusive: Function 'yajl_do_finish' argument 1 names different: declaration 'handle' definition 'hand'. [funcArgNamesDifferent] Argyll_V3.3.0/yajl/yajl_parser.h:66:28: note: Function 'yajl_do_finish' argument 1 names different: declaration 'handle' definition 'hand'. Argyll_V3.3.0/yajl/yajl_parser.c:159:28: note: Function 'yajl_do_finish' argument 1 names different: declaration 'handle' definition 'hand'. Argyll_V3.3.0/yajl/yajl_parser.c:186:27: style:inconclusive: Function 'yajl_do_parse' argument 1 names different: declaration 'handle' definition 'hand'. [funcArgNamesDifferent] Argyll_V3.3.0/yajl/yajl_parser.h:62:27: note: Function 'yajl_do_parse' argument 1 names different: declaration 'handle' definition 'hand'. Argyll_V3.3.0/yajl/yajl_parser.c:186:27: note: Function 'yajl_do_parse' argument 1 names different: declaration 'handle' definition 'hand'. Argyll_V3.3.0/yajl/yajl_test.c:41:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable numFrees [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/yajl/yajl_test.c:48:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable numMallocs [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/yajl/yajl_test.c:56:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable numMallocs [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/yajl/yajl_test.c:96:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/yajl/yajl_test.c:155:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/yajl/yajl_test.c:209:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/yajl/yajl_test.c:82:5: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'longlong {aka signed long}'. [invalidPrintfArgType_sint] Argyll_V3.3.0/yajl/yajl_test.c:105:5: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] Argyll_V3.3.0/yajl/yajl_test.c:104:33: note: Assuming allocation function fails Argyll_V3.3.0/yajl/yajl_test.c:104:18: note: Assignment 'str=(char*)malloc(stringLen+1)', assigned value is 0 Argyll_V3.3.0/yajl/yajl_test.c:105:5: note: Null pointer dereference Argyll_V3.3.0/yajl/yajl_test.c:106:12: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] Argyll_V3.3.0/yajl/yajl_test.c:104:33: note: Assuming allocation function fails Argyll_V3.3.0/yajl/yajl_test.c:104:18: note: Assignment 'str=(char*)malloc(stringLen+1)', assigned value is 0 Argyll_V3.3.0/yajl/yajl_test.c:106:12: note: Null pointer dereference Argyll_V3.3.0/yajl/yajl_test.c:107:27: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] Argyll_V3.3.0/yajl/yajl_test.c:104:33: note: Assuming allocation function fails Argyll_V3.3.0/yajl/yajl_test.c:104:18: note: Assignment 'str=(char*)malloc(stringLen+1)', assigned value is 0 Argyll_V3.3.0/yajl/yajl_test.c:107:27: note: Null pointer dereference Argyll_V3.3.0/yajl/yajl_test.c:250:51: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] Argyll_V3.3.0/yajl/yajl_test.c:243:21: note: Assuming allocation function fails Argyll_V3.3.0/yajl/yajl_test.c:243:21: note: Assignment 'file=fopen(fileName,"r")', assigned value is 0 Argyll_V3.3.0/yajl/yajl_test.c:250:51: note: Null pointer dereference Argyll_V3.3.0/yajl/yajl_test.c:68:33: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'test_yajl_null' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/yajl/yajl_test.c:138:5: note: You might need to cast the function pointer here Argyll_V3.3.0/yajl/yajl_test.c:68:33: note: Parameter 'ctx' can be declared as pointer to const Argyll_V3.3.0/yajl/yajl_test.c:74:37: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'test_yajl_boolean' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/yajl/yajl_test.c:139:5: note: You might need to cast the function pointer here Argyll_V3.3.0/yajl/yajl_test.c:74:37: note: Parameter 'ctx' can be declared as pointer to const Argyll_V3.3.0/yajl/yajl_test.c:80:36: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'test_yajl_integer' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/yajl/yajl_test.c:140:5: note: You might need to cast the function pointer here Argyll_V3.3.0/yajl/yajl_test.c:80:36: note: Parameter 'ctx' can be declared as pointer to const Argyll_V3.3.0/yajl/yajl_test.c:86:35: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'test_yajl_double' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/yajl/yajl_test.c:141:5: note: You might need to cast the function pointer here Argyll_V3.3.0/yajl/yajl_test.c:86:35: note: Parameter 'ctx' can be declared as pointer to const Argyll_V3.3.0/yajl/yajl_test.c:112:38: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'test_yajl_start_map' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/yajl/yajl_test.c:146:5: note: You might need to cast the function pointer here Argyll_V3.3.0/yajl/yajl_test.c:112:38: note: Parameter 'ctx' can be declared as pointer to const Argyll_V3.3.0/yajl/yajl_test.c:119:36: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'test_yajl_end_map' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/yajl/yajl_test.c:148:5: note: You might need to cast the function pointer here Argyll_V3.3.0/yajl/yajl_test.c:119:36: note: Parameter 'ctx' can be declared as pointer to const Argyll_V3.3.0/yajl/yajl_test.c:125:40: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'test_yajl_start_array' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Argyll_V3.3.0/yajl/yajl_test.c:149:5: note: You might need to cast the function pointer here Argyll_V3.3.0/yajl/yajl_test.c:125:40: note: Parameter 'ctx' can be declared as pointer to const Argyll_V3.3.0/yajl/yajl_test.c:131:38: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] Argyll_V3.3.0/yajl/yajl_tree.c:125:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/yajl/yajl_tree.c:174:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/yajl/yajl_tree.c:206:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/yajl/yajl_tree.c:246:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/yajl/yajl_tree.c:316:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/yajl/yajl_tree.c:451:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctx [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/yajl/yajl_tree.c:444:12: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] Argyll_V3.3.0/yajl/yajl_tree.c:441:12: note: status is assigned Argyll_V3.3.0/yajl/yajl_tree.c:444:12: note: status is overwritten Argyll_V3.3.0/yajl/yajl_tree.c:462:33: style:inconclusive: Function 'yajl_tree_get' argument 1 names different: declaration 'parent' definition 'n'. [funcArgNamesDifferent] Argyll_V3.3.0/yajl/yajl_tree.h:147:42: note: Function 'yajl_tree_get' argument 1 names different: declaration 'parent' definition 'n'. Argyll_V3.3.0/yajl/yajl_tree.c:462:33: note: Function 'yajl_tree_get' argument 1 names different: declaration 'parent' definition 'n'. Argyll_V3.3.0/xicc/xicclu.c:58:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xicclu.c:173:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMEL [valueFlowBailoutIncompleteVar] Argyll_V3.3.0/xicc/xicclu.c:956:6: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Argyll_V3.3.0/xicc/xicclu.c:56:18: style: Parameter 'diag' can be declared as pointer to const [constParameterPointer] diff: 2.17.0 Argyll_V3.3.0/ccast/axTLS/tls1.c:1256:26: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] Argyll_V3.3.0/ccast/axTLS/tls1.c:1255:36: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/tls1.c:1255:36: note: Assignment 't_buf=malloc(msg_length+iv_size)', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/tls1.c:1256:26: note: Null pointer addition head Argyll_V3.3.0/ccast/axTLS/tls1.c:1256:26: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] Argyll_V3.3.0/ccast/axTLS/tls1.c:1255:36: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/tls1.c:1255:36: note: Assignment 't_buf=malloc(msg_length+iv_size)', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/tls1.c:1256:26: note: Null pointer addition 2.17.0 Argyll_V3.3.0/ccast/axTLS/tls1.c:2328:47: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] Argyll_V3.3.0/ccast/axTLS/tls1.c:2314:32: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/tls1.c:2314:13: note: Assignment 'certs=(struct X509_CTX**)calloc(num_certs,sizeof(void*))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/tls1.c:2328:47: note: Null pointer addition head Argyll_V3.3.0/ccast/axTLS/tls1.c:2328:47: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] Argyll_V3.3.0/ccast/axTLS/tls1.c:2314:32: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/tls1.c:2314:13: note: Assignment 'certs=(struct X509_CTX**)calloc(num_certs,sizeof(void*))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/tls1.c:2328:47: note: Null pointer addition head Argyll_V3.3.0/ccast/axTLS/tls1.c:645:20: warning: If memory allocation fails, then there is a possible null pointer dereference: ssl [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/tls1.c:639:29: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/tls1.c:639:16: note: Assignment 'ssl=(struct SSL*)calloc(1,sizeof(struct SSL))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/tls1.c:645:20: note: Null pointer dereference head Argyll_V3.3.0/ccast/axTLS/tls1.c:650:21: warning: If memory allocation fails, then there is a possible null pointer dereference: ssl [nullPointerOutOfMemory] Argyll_V3.3.0/ccast/axTLS/tls1.c:639:29: note: Assuming allocation function fails Argyll_V3.3.0/ccast/axTLS/tls1.c:639:16: note: Assignment 'ssl=(struct SSL*)calloc(1,sizeof(struct SSL))', assigned value is 0 Argyll_V3.3.0/ccast/axTLS/tls1.c:650:21: note: Null pointer dereference head Argyll_V3.3.0/ccast/ccast.c:896:20: style: Variable 'error' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/ccast/ccast.c:965:17: style: Variable 'error' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/ccast/dpat.c:481:24: error: Array 'bw[8]' accessed at index -1, which is out of bounds. [negativeIndex] Argyll_V3.3.0/ccast/dpat.c:416:2: note: After for loop, nsur has value 0 Argyll_V3.3.0/ccast/dpat.c:481:24: note: Negative array index head Argyll_V3.3.0/cgats/parsstd.c:395:3: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] head Argyll_V3.3.0/icc/icc_util.c:4039:6: style: Variable 'u8' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/icc/icc_util.c:4178:6: style: Variable 'u8' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/icc/icc_util.c:4488:7: style: Variable 'replacement_char' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/icc/icc_util.c:4557:11: style: Variable 'replacement_char' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/icc/icc_xf.c:101:6: style: Variable 'pad' is assigned a value that is never used. [unreadVariable] 2.17.0 Argyll_V3.3.0/icc/icc_xf.c:115:39: style: Condition 'moutputChan' is always true [knownConditionTrueFalse] Argyll_V3.3.0/icc/icc_xf.c:115:19: note: Assuming that condition 'minputChan' is not redundant Argyll_V3.3.0/icc/icc_xf.c:111:21: note: Assuming that condition 'p->inputChan!=p->outputChan' is not redundant Argyll_V3.3.0/icc/icc_xf.c:115:39: note: Condition 'moutputChan' is always true head Argyll_V3.3.0/icc/icc_xf.c:1302:7: style: Variable 'icp' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/icc/icc_xf.c:157:6: style: Variable 'pad' is assigned a value that is never used. [unreadVariable] 2.17.0 Argyll_V3.3.0/icc/icc_xf.c:171:39: style: Condition 'moutputChan' is always true [knownConditionTrueFalse] Argyll_V3.3.0/icc/icc_xf.c:171:19: note: Assuming that condition 'minputChan' is not redundant Argyll_V3.3.0/icc/icc_xf.c:167:21: note: Assuming that condition 'p->inputChan!=p->outputChan' is not redundant Argyll_V3.3.0/icc/icc_xf.c:171:39: note: Condition 'moutputChan' is always true head Argyll_V3.3.0/icc/icc_xf.c:256:6: style: Variable 'pad' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/icc/icc_xf.c:286:6: style: Variable 'pad' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/icc/icc_xf.c:579:7: style: Variable 'icp' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/icc/icc_xf.c:795:7: style: Variable 'icp' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/icc/icc_xf.c:823:7: style: Variable 'icp' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/icc/icclu.c:313:7: style: Variable 'verb' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/icc/iccstd.c:524:3: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] head Argyll_V3.3.0/icc/icctest.c:1594:26: style: Variable 'dsig' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/icc/lutest.c:3734:9: style: Variable 'e' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/imdi/cctiff.c:104:3: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] head Argyll_V3.3.0/numlib/numsup.c:816:6: style: Variable 'ind' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/plot/plot.c:529:6: style: Variable 'nn' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/plot/vrml.c:1768:3: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] head Argyll_V3.3.0/profile/colprof.c:790:10: style: Variable 'comp' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/profile/colverify.c:1091:7: style: Variable 'minbins' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/profile/colverify.c:706:8: style: Variable 'l_spec' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/profile/iccvcgt.c:64:6: style: Variable 'verb' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/profile/invprofcheck.c:554:49: error: Array 'range[6]' accessed at index 6, which is out of bounds. [arrayIndexOutOfBounds] Argyll_V3.3.0/profile/invprofcheck.c:550:17: note: Assuming that condition 'i<5' is not redundant Argyll_V3.3.0/profile/invprofcheck.c:554:49: note: Array index out of bounds head Argyll_V3.3.0/profile/printcal.c:1826:10: error: Uninitialized variable: tp [uninitvar] head Argyll_V3.3.0/profile/printcal.c:2739:10: style: Variable 'ix' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/profile/printcal.c:2786:10: style: Variable 'ix' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/profile/profcheck.c:1364:49: error: Array 'range[6]' accessed at index 6, which is out of bounds. [arrayIndexOutOfBounds] Argyll_V3.3.0/profile/profcheck.c:1360:17: note: Assuming that condition 'i<5' is not redundant Argyll_V3.3.0/profile/profcheck.c:1364:49: note: Array index out of bounds head Argyll_V3.3.0/rspl/cw1.c:140:10: style: Variable 'lrand' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/rspl/cw3.c:145:10: style: Variable 'lrand' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/rspl/mlbs.c:565:42: style: Condition '(p=alloc_mlbs(di,fdi,res,smf))==NULL' is always false [knownConditionTrueFalse] head Argyll_V3.3.0/rspl/opt.c:319:12: warning: Either the condition '(m=(struct omgtp*)calloc(1,sizeof(struct omgtp)))==NULL' is redundant or there is possible null pointer dereference: m. [nullPointerRedundantCheck] Argyll_V3.3.0/rspl/opt.c:315:47: note: Assuming that condition '(m=(struct omgtp*)calloc(1,sizeof(struct omgtp)))==NULL' is not redundant Argyll_V3.3.0/rspl/opt.c:319:12: note: Null pointer dereference head Argyll_V3.3.0/rspl/opt.c:320:13: warning: Either the condition '(m=(struct omgtp*)calloc(1,sizeof(struct omgtp)))==NULL' is redundant or there is possible null pointer dereference: m. [nullPointerRedundantCheck] Argyll_V3.3.0/rspl/opt.c:315:47: note: Assuming that condition '(m=(struct omgtp*)calloc(1,sizeof(struct omgtp)))==NULL' is not redundant Argyll_V3.3.0/rspl/opt.c:320:13: note: Null pointer dereference head Argyll_V3.3.0/rspl/scat.c:1615:9: style: Variable 'di' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/rspl/spline.c:116:26: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head Argyll_V3.3.0/rspl/spline.c:145:38: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head Argyll_V3.3.0/rspl/spline.c:156:39: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head Argyll_V3.3.0/spectro/ccwin.c:348:6: style: Variable 'portno' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/colorhug.c:1169:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/colorhug.c:864:12: style: Variable 'p' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/conv.c:1494:8: style: Variable 'dd' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/conv.c:1528:8: style: Variable 'dd' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/dispsup.c:253:16: style: Variable 'calt' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/dispwin.c:4113:10: style: Variable 'frange' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/dispwin.c:4114:10: style: Variable 'rrange' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/dispwin.c:4115:10: style: Variable 'nrange' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/dtp41.c:1220:9: style: Variable 'p' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/dtp92.c:1377:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/dtp92.c:183:11: style: Variable 'dtype' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/ex1.c:1072:7: style: Variable 'p' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/ex1.c:1101:7: style: Variable 'p' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/ex1.c:1182:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/ex1.c:1389:6: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/ex1.c:162:11: style: Variable 'dtype' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/ex1.c:165:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/ex1.c:485:6: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/hcfr.c:125:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/hcfr.c:651:8: style: Variable 'p' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/hcfr.c:915:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/huey.c:1440:8: style: Variable 'p' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/huey.c:1704:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/i1d3.c:4273:14: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/i1pro.c:715:11: style: Variable 'mmode' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/i1pro3.c:674:12: style: Variable 'mmode' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/i1pro3_imp.c:2871:3: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] head Argyll_V3.3.0/spectro/i1pro_imp.c:4363:3: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] head Argyll_V3.3.0/spectro/kleink10.c:2272:12: style: Variable 'p' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/kleink10.c:2491:12: style: Variable 'p' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/kleink10.c:2800:16: style: Variable 'lstate' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/madvrwin.c:106:8: style: Variable 'len' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/munki.c:732:10: style: Variable 'mmode' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/munki.c:749:12: style: Variable 'cap' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/munki_imp.c:3192:3: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] head Argyll_V3.3.0/spectro/oemarch.c:945:3: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] head Argyll_V3.3.0/spectro/rspec.c:943:3: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] head Argyll_V3.3.0/spectro/smcube.c:1070:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/smcube.c:1219:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/smcube.c:1313:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/smcube.c:2192:6: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/smcube.c:365:12: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/smcube.c:385:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/smcube.c:877:10: style: Variable 'p' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/smcube.c:987:10: style: Variable 'p' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/smcube.c:988:12: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/specbos.c:2464:12: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/spyd2.c:2758:3: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] head Argyll_V3.3.0/spectro/spydX.c:1096:9: style: Variable 'p' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/spydX.c:1406:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/spydX.c:1606:6: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/spydX2.c:1105:10: style: Variable 'p' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/spydX2.c:1420:12: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/spydX2.c:1620:6: style: Variable 'ev' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/usbio_bsd.c:309:10: style: Variable 'tries' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/usbio_bsd.c:453:6: style: Variable 'xlength' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/usbio_bsd.c:670:6: style: Variable 'dirw' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/spectro/usbio_nt.c:25:6: style: Variable 'w0' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/target/ofps.c:1051:9: style: Variable 'di' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/target/ofps.c:1066:9: style: Variable 'di' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/target/ofps.c:2710:6: style: Variable 'nn_1' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/target/ofps.c:3478:9: style: Variable 'di' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/target/ofps.c:4497:10: style: Variable 'tsm.m[0]' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/target/ofps.c:985:28: error: Uninitialized variable: cp [uninitvar] head Argyll_V3.3.0/target/printtarg.c:1421:26: style: Condition 'j==(tpprow-1)||i==(npat-1)' is always true [knownConditionTrueFalse] Argyll_V3.3.0/target/printtarg.c:1420:24: note: Assuming that condition 'j==(tpprow-1)||i==(npat-1)' is not redundant Argyll_V3.3.0/target/printtarg.c:1421:26: note: Condition 'j==(tpprow-1)||i==(npat-1)' is always true head Argyll_V3.3.0/target/printtarg.c:1423:31: style: Condition 'j==(tpprow-1)||i==(npat-1)' is always true [knownConditionTrueFalse] Argyll_V3.3.0/target/printtarg.c:1420:24: note: Assuming that condition 'j==(tpprow-1)||i==(npat-1)' is not redundant Argyll_V3.3.0/target/printtarg.c:1423:31: note: Condition 'j==(tpprow-1)||i==(npat-1)' is always true head Argyll_V3.3.0/target/printtarg.c:708:14: style: Variable 's' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/target/printtarg.c:715:14: style: Variable 's' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/target/targen.c:601:10: style: Variable 'vv' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/usb/ArgyllCMS_uninstall_USB.c:125:8: style: Variable 'dvix' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/usb/ArgyllCMS_uninstall_USB.c:162:7: style: Variable 'dvix' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/usb/ArgyllCMS_uninstall_USB.c:62:6: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/xicc/extracticc.c:82:6: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/xicc/extractttag.c:71:7: style: Variable 'size' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/xicc/fbview.c:79:6: style: Variable 'doaxes' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/xicc/tiffgamut.c:55:3: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] head Argyll_V3.3.0/xicc/xcal.c:174:10: style: Variable 'smooth' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/xicc/xcal.c:263:10: style: Variable 'smooth' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/xicc/xcal.c:435:6: style: Variable 'table' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/xicc/xcam.c:234:13: style: Variable 'pp' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/xicc/xfit.c:2689:23: error: Uninitialized variable: wcc [uninitvar] head Argyll_V3.3.0/xicc/xfit.c:2770:23: error: Uninitialized variable: wcc [uninitvar] head Argyll_V3.3.0/xicc/xlut.c:1790:12: style: Variable 'luluto' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/xicc/xlut.c:2149:12: style: Variable 'luluto' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/xicc/xmatrix.c:850:6: style: Variable 'outputChan' is assigned a value that is never used. [unreadVariable] head Argyll_V3.3.0/xicc/xutils.c:50:3: error: #error "Need to #include fcntl.h!" [preprocessorErrorDirective] DONE