Snippets for argyllcms 3.5.0 from Fedora ppc64le
Sourced from https://kojipkgs.fedoraproject.org/packages/argyllcms/3.5.0/3.fc45/data/logs/ppc64le/build.log.
-
numlib/dnsq.c:89:18: warning: variable ‘index’ set but not used [-Wunused-but-set-variable=] 89 | int i,j, index, ml, lr, mu; | ^~~~~ -
numlib/dnsq.c:89:15: warning: unused variable ‘j’ [-Wunused-variable] 89 | int i,j, index, ml, lr, mu; | ^ -
numlib/dnsq.c:89:13: warning: unused variable ‘i’ [-Wunused-variable] 89 | int i,j, index, ml, lr, mu; | ^ -
numlib/powell.c:548:3: warning: label ‘done’ defined but not used [-Wunused-label] 548 | done:; | ^~~~ -
numlib/varmet.c:82:16: warning: unused variable ‘den’ [-Wunused-variable] 82 | double den, fac, fad, fae; | ^~~ -
numlib/numsup.c:800:16: warning: unused variable ‘c’ [-Wunused-variable] 800 | size_t c; | ^ -
numlib/numsup.c:819:13: warning: unused variable ‘ind’ [-Wunused-variable] 819 | int ind = 0; | ^~~ -
numlib/quadprog.c:120:20: warning: variable ‘iter’ set but not used [-Wunused-but-set-variable=] 120 | int q, iq, iter = 0; | ^~~~ -
numlib/quadprog.c:120:13: warning: variable ‘q’ set but not used [-Wunused-but-set-variable=] 120 | int q, iq, iter = 0; | ^ -
numlib/quadprog.c:117:16: warning: unused variable ‘inf’ [-Wunused-variable] 117 | double inf; | ^~~ -
numlib/quadprog.c:851:13: warning: ‘print_ivector’ defined but not used [-Wunused-function] 851 | static void print_ivector(char *name, int *v, int n) { | ^~~~~~~~~~~~~ -
numlib/quadprog.c:841:13: warning: ‘print_vector’ defined but not used [-Wunused-function] 841 | static void print_vector(char *name, double *v, int n) { | ^~~~~~~~~~~~ -
numlib/aatree.c:271:34: warning: ‘dir’ may be used uninitialized [-Wmaybe-uninitialized] 271 | path[top - 1]->link[dir] = it->link[dir2]; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ -
numlib/powell.c:1049:36: warning: ‘vd’ may be used uninitialized [-Wmaybe-uninitialized] 1049 | if (vd != xd) | ^ -
plot/plot.c:548:13: warning: unused variable ‘nn’ [-Wunused-variable] 548 | int nn = abs(n); | ^~ -
plot/plot.c:857:16: warning: unused variable ‘j’ [-Wunused-variable] 857 | int i, j; | ^ -
plot/plot.c:3109:33: warning: label ‘plotNoSym’ defined but not used [-Wunused-label] 3109 | plotNoSym: | ^~~~~~~~~ -
plot/plot.c:3369:13: warning: ‘replay’ defined but not used [-Wunused-function] 3369 | static void replay(char *filename) { | ^~~~~~ -
numlib/ui.h:22:13: warning: ‘pui_initialized’ defined but not used [-Wunused-variable] 22 | static int *pui_initialized = &ui_initialized; | ^~~~~~~~~~~~~~~ -
numlib/gnewt.c:338:43: warning: ‘f2’ may be used uninitialized [-Wmaybe-uninitialized] 338 | rhs2 = f2 - fold - slope * lmda2; | ~~~^~~~~~ -
numlib/gnewt.c:338:38: warning: ‘lmda2’ may be used uninitialized [-Wmaybe-uninitialized] 338 | rhs2 = f2 - fold - slope * lmda2; | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -
icc/icc.h:1194:65: warning: ‘/*’ within comment [-Wcomment] 1194 | /* remaining in buffer) */
-
plot/vrml.c:396:16: warning: unused variable ‘j’ [-Wunused-variable] 396 | int i, j; | ^ -
plot/vrml.c:687:40: warning: unused variable ‘out’ [-Wunused-variable] 687 | double out[3]; | ^~~ -
plot/vrml.c:724:40: warning: unused variable ‘out’ [-Wunused-variable] 724 | double out[3]; | ^~~ -
plot/vrml.c:827:40: warning: unused variable ‘out’ [-Wunused-variable] 827 | double out[3]; | ^~~ -
plot/vrml.c:858:40: warning: unused variable ‘out’ [-Wunused-variable] 858 | double out[3]; | ^~~ -
plot/vrml.c:610:13: warning: unused variable ‘v’ [-Wunused-variable] 610 | int v[3]; | ^ -
plot/vrml.c:609:27: warning: unused variable ‘ix’ [-Wunused-variable] 609 | int i, j, nverts, ix; | ^~ -
plot/vrml.c:609:19: warning: unused variable ‘nverts’ [-Wunused-variable] 609 | int i, j, nverts, ix; | ^~~~~~ -
plot/vrml.c:1147:13: warning: unused variable ‘v’ [-Wunused-variable] 1147 | int v[3]; | ^ -
plot/vrml.c:1145:17: warning: variable ‘cv’ set but not used [-Wunused-but-set-variable=] 1145 | double *cv = NULL; | ^~ -
plot/vrml.c:1144:24: warning: unused variable ‘xyz’ [-Wunused-variable] 1144 | double rgb[3], xyz[3]; | ^~~ -
cgats/cgats.c:912:22: warning: unused variable ‘t’ [-Wunused-variable] 912 | cgats_table *t; | ^ -
cgats/pars.c:561:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] 561 | if ((p->delf[c] & PARS_QUOTE) != 0) { | ^ -
cgats/pars.c:577:57: warning: array subscript has type ‘char’ [-Wchar-subscripts] 577 | if ((p->q != 0 && (p->q != c || (p->delf[c] & PARS_SKIP) == 0)) | ^ -
cgats/pars.c:579:44: warning: array subscript has type ‘char’ [-Wchar-subscripts] 579 | || (!(tbo == 0 && (p->delf[c] & PARS_TERM) != 0 && (p->delf[c] & PARS_SKIP) != 0) | ^ -
cgats/pars.c:579:77: warning: array subscript has type ‘char’ [-Wchar-subscripts] 579 | || (!(tbo == 0 && (p->delf[c] & PARS_TERM) != 0 && (p->delf[c] & PARS_SKIP) != 0) | ^ -
cgats/pars.c:581:31: warning: array subscript has type ‘char’ [-Wchar-subscripts] 581 | && (p->delf[c] & PARS_SKIP) == 0)) /* Skip non-readers */ | ^ -
cgats/pars.c:585:41: warning: array subscript has type ‘char’ [-Wchar-subscripts] 585 | && tbo != 0 && (p->delf[c] & PARS_TERM) != 0) | ^ -
icc/icc.c:294:16: warning: unused variable ‘c’ [-Wunused-variable] 294 | size_t c; | ^ -
icc/icc.c:3232:16: warning: unused variable ‘v’ [-Wunused-variable] 3232 | double v; | ^ -
icc/icc.c:3728:13: warning: unused variable ‘err’ [-Wunused-variable] 3728 | int err; | ^~~ -
icc/icc.c:4427:22: warning: unused variable ‘sigv’ [-Wunused-variable] 4427 | unsigned int sigv = (unsigned int)sig; | ^~~~ -
icc/icc.c:4527:22: warning: unused variable ‘sigv’ [-Wunused-variable] 4527 | unsigned int sigv = (unsigned int)sig; | ^~~~ -
icc/icc.c:5130:41: warning: unused variable ‘j’ [-Wunused-variable] 5130 | unsigned int i, j; | ^ -
icc/icc.c:5130:38: warning: unused variable ‘i’ [-Wunused-variable] 5130 | unsigned int i, j; | ^ -
icc/icc.c:5471:65: warning: ‘/*’ within comment [-Wcomment] 5471 | /* remaining in buffer) */
-
icc/icc.c:6534:22: warning: unused variable ‘i’ [-Wunused-variable] 6534 | unsigned int i; | ^ -
icc/icc.c:6571:22: warning: unused variable ‘n’ [-Wunused-variable] 6571 | unsigned int n; | ^ -
icc/icc.c:6632:25: warning: unused variable ‘j’ [-Wunused-variable] 6632 | unsigned int i, j; | ^ -
icc/icc.c:7298:41: warning: unused variable ‘q’ [-Wunused-variable] 7298 | unsigned int n, q; | ^ -
icc/icc.c:7584:34: warning: unused variable ‘m’ [-Wunused-variable] 7584 | unsigned int h, i, j, k, m; | ^ -
icc/icc.c:7584:31: warning: unused variable ‘k’ [-Wunused-variable] 7584 | unsigned int h, i, j, k, m; | ^ -
icc/icc.c:7584:28: warning: unused variable ‘j’ [-Wunused-variable] 7584 | unsigned int h, i, j, k, m; | ^ -
icc/icc.c:7584:25: warning: unused variable ‘i’ [-Wunused-variable] 7584 | unsigned int h, i, j, k, m; | ^ -
icc/icc.c:7584:22: warning: unused variable ‘h’ [-Wunused-variable] 7584 | unsigned int h, i, j, k, m; | ^ -
icc/icc.c:7583:14: warning: unused variable ‘icp’ [-Wunused-variable] 7583 | icc *icp = p->icp; | ^~~ -
icc/icc.c:7700:14: warning: unused variable ‘icp’ [-Wunused-variable] 7700 | icc *icp = p->icp; | ^~~ -
icc/icc.c:7987:22: warning: unused variable ‘n’ [-Wunused-variable] 7987 | unsigned int n; | ^ -
icc/icc_xf.c:579:14: warning: unused variable ‘icp’ [-Wunused-variable] 579 | icc *icp = p->icp; | ^~~ -
icc/icc_xf.c:795:14: warning: unused variable ‘icp’ [-Wunused-variable] 795 | icc *icp = p->icp; | ^~~ -
icc/icc_xf.c:823:14: warning: unused variable ‘icp’ [-Wunused-variable] 823 | icc *icp = p->icp; | ^~~ -
icc/icc_xf.c:1302:14: warning: unused variable ‘icp’ [-Wunused-variable] 1302 | icc *icp = p->icp; | ^~~ -
icc/icc_xf.c:2713:48: warning: unused variable ‘ttag’ [-Wunused-variable] 2713 | icTagSignature ttag; | ^~~~ -
icc/icc_xf.c:3641:13: warning: variable ‘clip’ set but not used [-Wunused-but-set-variable=] 3641 | int clip = 0; | ^~~~ -
icc/icc_xf.c:3639:58: warning: unused variable ‘ivn’ [-Wunused-variable] 3639 | double _iv[2 * MAX_CHAN], *iv = &_iv[MAX_CHAN], *ivn; /* Real index value/table value */ | ^~~ -
icc/icc_xf.c:3638:13: warning: unused variable ‘ii’ [-Wunused-variable] 3638 | int ii[MAX_CHAN]; /* Index value */ | ^~ -
icc/icc_xf.c:3962:13: warning: variable ‘clip’ set but not used [-Wunused-but-set-variable=] 3962 | int clip = 0; | ^~~~ -
icc/icc_xf.c:3960:58: warning: unused variable ‘ivn’ [-Wunused-variable] 3960 | double _iv[2 * MAX_CHAN], *iv = &_iv[MAX_CHAN], *ivn; /* Real index value/table value */ | ^~~ -
icc/icc_xf.c:3959:13: warning: unused variable ‘ii’ [-Wunused-variable] 3959 | int ii[MAX_CHAN]; /* Index value */ | ^~ -
icc/icc_xf.c:4275:13: warning: variable ‘clip’ set but not used [-Wunused-but-set-variable=] 4275 | int clip = 0; | ^~~~ -
icc/icc_xf.c:4270:58: warning: unused variable ‘ivn’ [-Wunused-variable] 4270 | double _iv[2 * MAX_CHAN], *iv = &_iv[MAX_CHAN], *ivn; /* Real index value/table value */ | ^~~ -
icc/icc_pe.c:127:22: warning: unused variable ‘pe’ [-Wunused-variable] 127 | icmPeCurve **pe = (icmPeCurve **)p->pe; | ^~ -
icc/icc_pe.c:429:22: warning: unused variable ‘n’ [-Wunused-variable] 429 | unsigned int n; | ^ -
icc/icc_pe.c:448:22: warning: unused variable ‘np’ [-Wunused-variable] 448 | unsigned int np, i; | ^~ -
icc/icc_pe.c:478:30: warning: unused variable ‘np’ [-Wunused-variable] 478 | unsigned int np, i; | ^~ -
icc/icc_pe.c:473:14: warning: unused variable ‘p’ [-Wunused-variable] 473 | icc *p = dst->icp; | ^ -
icc/icc_pe.c:580:22: warning: unused variable ‘n’ [-Wunused-variable] 580 | unsigned int n; | ^ -
icc/icc_pe.c:624:14: warning: unused variable ‘p’ [-Wunused-variable] 624 | icc *p = dst->icp; | ^ -
icc/icc_pe.c:784:22: warning: unused variable ‘np’ [-Wunused-variable] 784 | unsigned int np, i; | ^~ -
icc/icc_pe.c:811:14: warning: unused variable ‘p’ [-Wunused-variable] 811 | icc *p = dst->icp; | ^ -
icc/icc_pe.c:1076:13: warning: unused variable ‘pad’ [-Wunused-variable] 1076 | int pad = p->dp; | ^~~ -
icc/icc_pe.c:2668:32: warning: unused variable ‘sum’ [-Wunused-variable] 2668 | double sum; | ^~~ -
icc/icc.c:8317:20: warning: variable ‘cp’ set but not used [-Wunused-but-set-variable=] 8317 | char *bp, *cp; | ^~ -
icc/icc.c:9802:37: warning: unused variable ‘chadTag’ [-Wunused-variable] 9802 | icmS15Fixed16Array *chadTag; | ^~~~~~~ -
icc/icc.c:9799:21: warning: unused variable ‘rv’ [-Wunused-variable] 9799 | int rv; | ^~ -
icc/icc.c:9839:32: warning: unused variable ‘wp’ [-Wunused-variable] 9839 | double wp[3]; | ^~ -
icc/icc.c:9832:37: warning: unused variable ‘chadTag’ [-Wunused-variable] 9832 | icmS15Fixed16Array *chadTag; | ^~~~~~~ -
icc/icc.c:9830:21: warning: unused variable ‘rv’ [-Wunused-variable] 9830 | int rv; | ^~ -
icc/icc.c:9998:22: warning: unused variable ‘len’ [-Wunused-variable] 9998 | unsigned int len; | ^~~ -
icc/icc.c:10945:13: warning: unused variable ‘rv’ [-Wunused-variable]
-
icc/icc.c:11276:22: warning: unused variable ‘i’ [-Wunused-variable]
-
icc/icc.c:11479:24: warning: unused variable ‘wp’ [-Wunused-variable]
-
icc/icc.c:11980:16: warning: unused variable ‘max’ [-Wunused-variable]
-
icc/icc_util.c:385:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 385 | for (i = 0; i < 3; i++) | ^~~ -
icc/icc_util.c:408:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 408 | if (fabs(det) < ICM_SMALL_NUMBER) | ^~ -
icc/icc_util.c:868:16: warning: unused variable ‘ival’ [-Wunused-variable] 868 | double ival[3]; /* Intersection value */ | ^~~~ -
icc/icc_util.c:1273:26: warning: argument 1 of type ‘double[3]’ with mismatched bound [-Warray-parameter=] 1273 | void icmScaleAdd2(double out[3], double in2[2], double in1[2], double rat) { | ~~~~~~~^~~~~~ -
icc/icc_util.c:1273:41: warning: argument 2 of type ‘double[2]’ with mismatched bound [-Warray-parameter=] 1273 | void icmScaleAdd2(double out[3], double in2[2], double in1[2], double rat) { | ~~~~~~~^~~~~~ -
icc/icc_util.c:1484:13: warning: unused variable ‘e’ [-Wunused-variable] 1484 | int e; | ^ -
icc/icc_util.c:1920:34: warning: unused variable ‘sum’ [-Wunused-variable] 1920 | double u, v, fl, fu, fv, sum, X, Y, Z; | ^~~ -
icc/icc_util.c:1920:30: warning: unused variable ‘fv’ [-Wunused-variable] 1920 | double u, v, fl, fu, fv, sum, X, Y, Z; | ^~ -
icc/icc_util.c:1920:26: warning: unused variable ‘fu’ [-Wunused-variable] 1920 | double u, v, fl, fu, fv, sum, X, Y, Z; | ^~ -
icc/icc_util.c:1920:22: warning: unused variable ‘fl’ [-Wunused-variable] 1920 | double u, v, fl, fu, fv, sum, X, Y, Z; | ^~ -
icc/icc_util.c:1940:34: warning: unused variable ‘sum’ [-Wunused-variable] 1940 | double u, v, fl, fu, fv, sum, X, Z; | ^~~ -
icc/icc_util.c:1940:30: warning: unused variable ‘fv’ [-Wunused-variable] 1940 | double u, v, fl, fu, fv, sum, X, Z; | ^~ -
icc/icc_util.c:1940:26: warning: unused variable ‘fu’ [-Wunused-variable] 1940 | double u, v, fl, fu, fv, sum, X, Z; | ^~ -
icc/icc_util.c:1940:22: warning: unused variable ‘fl’ [-Wunused-variable] 1940 | double u, v, fl, fu, fv, sum, X, Z; | ^~ -
icc/icc_util.c:2003:34: warning: unused variable ‘sum’ [-Wunused-variable] 2003 | double u, v, fl, fu, fv, sum, X, Y, Z; | ^~~ -
icc/icc_util.c:2003:30: warning: unused variable ‘fv’ [-Wunused-variable] 2003 | double u, v, fl, fu, fv, sum, X, Y, Z; | ^~ -
icc/icc_util.c:2003:26: warning: unused variable ‘fu’ [-Wunused-variable] 2003 | double u, v, fl, fu, fv, sum, X, Y, Z; | ^~ -
icc/icc_util.c:2003:22: warning: unused variable ‘fl’ [-Wunused-variable] 2003 | double u, v, fl, fu, fv, sum, X, Y, Z; | ^~ -
icc/icc_util.c:2086:23: warning: missing braces around initializer [-Wmissing-braces] 2086 | icmXYZNumber icmD50 = { /* Profile illuminant - D50 */ | ^ -
icc/icc_util.c:2092:27: warning: missing braces around initializer [-Wmissing-braces] 2092 | icmXYZNumber icmD50_100 = { /* Profile illuminant - D50, scaled to 100 */ | ^ -
icc/icc_util.c:2111:23: warning: missing braces around initializer [-Wmissing-braces] 2111 | icmXYZNumber icmD65 = { /* Profile illuminant - D65 */ | ^ -
icc/icc_util.c:2117:27: warning: missing braces around initializer [-Wmissing-braces] 2117 | icmXYZNumber icmD65_100 = { /* Profile illuminant - D65, scaled to 100 */ | ^ -
icc/icc_util.c:2137:25: warning: missing braces around initializer [-Wmissing-braces] 2137 | icmXYZNumber icmBlack = { | ^ 2138 | 0.0000, 0.0000, 0.0000 | {{ 2139 | }; | }} -
icc/icc_util.c:2240:26: warning: argument 1 of type ‘double[3]’ with mismatched bound [-Warray-parameter=] 2240 | double icmCIE94sq(double Lab0[3], double Lab1[3]) { | ~~~~~~~^~~~~~~ -
icc/icc_util.c:2240:42: warning: argument 2 of type ‘double[3]’ with mismatched bound [-Warray-parameter=] 2240 | double icmCIE94sq(double Lab0[3], double Lab1[3]) { | ~~~~~~~^~~~~~~ -
icc/icc_util.c:2283:24: warning: argument 1 of type ‘double[3]’ with mismatched bound [-Warray-parameter=] 2283 | double icmCIE94(double Lab0[3], double Lab1[3]) { | ~~~~~~~^~~~~~~ -
icc/icc_util.c:2283:40: warning: argument 2 of type ‘double[3]’ with mismatched bound [-Warray-parameter=] 2283 | double icmCIE94(double Lab0[3], double Lab1[3]) { | ~~~~~~~^~~~~~~ -
icc/icc_util.c:3191:13: warning: unused variable ‘i’ [-Wunused-variable] 3191 | int i; | ^ -
icc/icc_util.c:4041:13: warning: unused variable ‘u8’ [-Wunused-variable] 4041 | int u8 = 0; | ^~ -
icc/icc_util.c:4180:13: warning: unused variable ‘u8’ [-Wunused-variable] 4180 | int u8 = 0; | ^~ -
icc/icc_util.c:4490:14: warning: unused variable ‘replacement_char’ [-Wunused-variable] 4490 | char replacement_char = '?'; | ^~~~~~~~~~~~~~~~ -
icc/icc_util.c:4559:18: warning: unused variable ‘replacement_char’ [-Wunused-variable] 4559 | icmUTF32 replacement_char = '?'; | ^~~~~~~~~~~~~~~~ -
icc/icc.c:5624:13: warning: ‘icmGeneric_del’ declared ‘static’ but never defined [-Wunused-function] 5624 | static void icmGeneric_del(icmBase *p); | ^~~~~~~~~~~~~~ -
icc/icc_util.c:1281:13: warning: ‘icmOr2mat’ defined but not used [-Wunused-function] 1281 | static void icmOr2mat(double mat[2][2], int or) { | ^~~~~~~~~ -
icc/icc.c:11165:12: warning: ‘icc_compare_ttype’ defined but not used [-Wunused-function]
-
icc/icc.c:9037:21: warning: ‘tagtable_get_size’ defined but not used [-Wunused-function] 9037 | static unsigned int tagtable_get_size(icc *p) { | ^~~~~~~~~~~~~~~~~ -
icc/icc.c:8229:13: warning: ‘icmHeader_del’ defined but not used [-Wunused-function] 8229 | static void icmHeader_del(icmHeader *p) { | ^~~~~~~~~~~~~ -
icc/icc_pe.c:894:15: warning: ‘new_icmPe’ defined but not used [-Wunused-function] 894 | static icmPe *new_icmPe( | ^~~~~~~~~ -
icc/icc.c:4613:13: warning: ‘icmSn_PositionNumbe8b’ defined but not used [-Wunused-function] 4613 | static void icmSn_PositionNumbe8b(icmFBuf *b, icmPositionNumber *p) { | ^~~~~~~~~~~~~~~~~~~~~ -
icc/icc.c:4412:13: warning: ‘icmSn_RegionCode16’ defined but not used [-Wunused-function] 4412 | static void icmSn_RegionCode16(icmFBuf *b, icEnumRegionCode *p) { | ^~~~~~~~~~~~~~~~~~ -
icc/icc.c:4380:13: warning: ‘icmSn_LanguageCode16’ defined but not used [-Wunused-function] 4380 | static void icmSn_LanguageCode16(icmFBuf *b, icEnumLanguageCode *p) { | ^~~~~~~~~~~~~~~~~~~~ -
icc/icc.c:4148:13: warning: ‘icmSn_CMMSig32’ defined but not used [-Wunused-function] 4148 | static void icmSn_CMMSig32(icmFBuf *b, icCMMSignature *p) { | ^~~~~~~~~~~~~~ -
icc/icc.c:3565:13: warning: ‘icmSn_d_Float32’ defined but not used [-Wunused-function] 3565 | static void icmSn_d_Float32(icmFBuf *b, double *p) { | ^~~~~~~~~~~~~~~ -
icc/icc.c:3560:13: warning: ‘icmSn_d_RFix32’ defined but not used [-Wunused-function] 3560 | static void icmSn_d_RFix32(icmFBuf *b, double *p) { | ^~~~~~~~~~~~~~ -
icc/icc.c:3550:13: warning: ‘icmSn_d_RFix8’ defined but not used [-Wunused-function] 3550 | static void icmSn_d_RFix8(icmFBuf *b, double *p) { | ^~~~~~~~~~~~~ -
icc/icc.c:3545:13: warning: ‘icmSn_d_NFix32’ defined but not used [-Wunused-function] 3545 | static void icmSn_d_NFix32(icmFBuf *b, double *p) { | ^~~~~~~~~~~~~~ -
icc/icc.c:3525:13: warning: ‘icmSn_d_S7Fix8’ defined but not used [-Wunused-function] 3525 | static void icmSn_d_S7Fix8(icmFBuf *b, double *p) { | ^~~~~~~~~~~~~~ -
icc/icc.c:3520:13: warning: ‘icmSn_ii_SInt64’ defined but not used [-Wunused-function] 3520 | static void icmSn_ii_SInt64(icmFBuf *b, icmInt64 *p) { | ^~~~~~~~~~~~~~~ -
icc/icc.c:3515:13: warning: ‘icmSn_i_SInt32’ defined but not used [-Wunused-function] 3515 | static void icmSn_i_SInt32(icmFBuf *b, int *p) { | ^~~~~~~~~~~~~~ -
icc/icc.c:3510:13: warning: ‘icmSn_i_SInt16’ defined but not used [-Wunused-function] 3510 | static void icmSn_i_SInt16(icmFBuf *b, int *p) { | ^~~~~~~~~~~~~~ -
icc/icc.c:3505:13: warning: ‘icmSn_s_SInt16’ defined but not used [-Wunused-function] 3505 | static void icmSn_s_SInt16(icmFBuf *b, short *p) { | ^~~~~~~~~~~~~~ -
icc/icc.c:3500:13: warning: ‘icmSn_i_SInt8’ defined but not used [-Wunused-function] 3500 | static void icmSn_i_SInt8(icmFBuf *b, int *p) { | ^~~~~~~~~~~~~ -
icc/icc.c:3495:13: warning: ‘icmSn_s_SInt8’ defined but not used [-Wunused-function] 3495 | static void icmSn_s_SInt8(icmFBuf *b, short *p) { | ^~~~~~~~~~~~~ -
icc/icc.c:3490:13: warning: ‘icmSn_c_SInt8’ defined but not used [-Wunused-function] 3490 | static void icmSn_c_SInt8(icmFBuf *b, signed char *p) { | ^~~~~~~~~~~~~ -
icc/icc.c:3480:13: warning: ‘icmSn_d_U1Fix15’ defined but not used [-Wunused-function] 3480 | static void icmSn_d_U1Fix15(icmFBuf *b, double *p) { | ^~~~~~~~~~~~~~~ -
icc/icc.c:3445:13: warning: ‘icmSn_us_UInt8’ defined but not used [-Wunused-function] 3445 | static void icmSn_us_UInt8(icmFBuf *b, unsigned short *p) { | ^~~~~~~~~~~~~~ -
icc/icc.c:3425:13: warning: ‘icmSn_align’ defined but not used [-Wunused-function] 3425 | static void icmSn_align(icmFBuf *b, ORD32 align) { | ^~~~~~~~~~~ -
icc/icc.c:3403:14: warning: ‘icmSnPrim2str’ defined but not used [-Wunused-function] 3403 | static char *icmSnPrim2str(icmSnPrim pt) { | ^~~~~~~~~~~~~ -
icc/icc.c:754:30: warning: ‘icmNchan2CSSig’ defined but not used [-Wunused-function] 754 | static icColorSpaceSignature icmNchan2CSSig(unsigned int nchan) { | ^~~~~~~~~~~~~~ -
icc/icc.c:373:12: warning: ‘ovr_sub’ defined but not used [-Wunused-function] 373 | static int ovr_sub(unsigned int a, unsigned int b) { | ^~~~~~~ -
icc/icc.c:365:12: warning: ‘ovr_add’ defined but not used [-Wunused-function] 365 | static int ovr_add(unsigned int a, unsigned int b) { | ^~~~~~~ -
icc/icc.c:254:15: warning: ‘ssat_sub’ defined but not used [-Wunused-function] 254 | static size_t ssat_sub(size_t a, size_t b) { | ^~~~~~~~ -
icc/icc.c:231:15: warning: ‘ssat_add’ defined but not used [-Wunused-function] 231 | static size_t ssat_add(size_t a, size_t b) { | ^~~~~~~~ -
icc/icc.h:1115:12: warning: ‘icmArrayRdAllocResize’ declared ‘static’ but never defined [-Wunused-function] 1115 | static int icmArrayRdAllocResize( | ^~~~~~~~~~~~~~~~~~~~~ -
icc/icc.h:1133:12: warning: ‘icmArrayAllocResize’ declared ‘static’ but never defined [-Wunused-function] 1133 | static int icmArrayAllocResize( | ^~~~~~~~~~~~~~~~~~~ -
icc/icc.h:1159:12: warning: ‘icmArrayResize’ declared ‘static’ but never defined [-Wunused-function] 1159 | static int icmArrayResize( | ^~~~~~~~~~~~~~ -
icc/icc_pe.h:349:15: warning: ‘new_icmPe’ declared ‘static’ but never defined [-Wunused-function] 349 | static icmPe *new_icmPe(struct _icc *icp, icTagTypeSignature ttype, icmPeSignature pesig); | ^~~~~~~~~ -
icc/icc_pe.h:409:18: warning: ‘new_icmShaperMatrix’ declared ‘static’ but never defined [-Wunused-function] 409 | static icmPeSeq *new_icmShaperMatrix( | ^~~~~~~~~~~~~~~~~~~ -
icc/icc_pe.h:428:18: warning: ‘new_icmShaperMono’ declared ‘static’ but never defined [-Wunused-function] 428 | static icmPeSeq *new_icmShaperMono( | ^~~~~~~~~~~~~~~~~ -
icc/icc_pe.h:442:15: warning: ‘new_icmPeMono’ declared ‘static’ but never defined [-Wunused-function] 442 | static icmPe *new_icmPeMono( | ^~~~~~~~~~~~~ -
icc/icc_pe.h:458:15: warning: ‘new_icmPeInverter’ declared ‘static’ but never defined [-Wunused-function] 458 | static icmPe *new_icmPeInverter( | ^~~~~~~~~~~~~~~~~ -
icc/icc_pe.h:472:15: warning: ‘new_icmPeXYZ2Lab’ declared ‘static’ but never defined [-Wunused-function] 472 | static icmPe *new_icmPeXYZ2Lab( | ^~~~~~~~~~~~~~~~ -
icc/icc_pe.h:486:15: warning: ‘new_icmPeAbs2Rel’ declared ‘static’ but never defined [-Wunused-function] 486 | static icmPe *new_icmPeAbs2Rel( | ^~~~~~~~~~~~~~~~ -
icc/icc_pe.h:499:15: warning: ‘new_icmPeXYZ2XYZ8’ declared ‘static’ but never defined [-Wunused-function] 499 | static icmPe *new_icmPeXYZ2XYZ8( | ^~~~~~~~~~~~~~~~~ -
icc/icc_pe.h:511:15: warning: ‘new_icmPeXYZ2XYZ16’ declared ‘static’ but never defined [-Wunused-function] 511 | static icmPe *new_icmPeXYZ2XYZ16( | ^~~~~~~~~~~~~~~~~~ -
icc/icc_pe.h:523:15: warning: ‘new_icmPeLab2Lab8’ declared ‘static’ but never defined [-Wunused-function] 523 | static icmPe *new_icmPeLab2Lab8( | ^~~~~~~~~~~~~~~~~ -
icc/icc_pe.h:535:15: warning: ‘new_icmPeLab2LabV2’ declared ‘static’ but never defined [-Wunused-function] 535 | static icmPe *new_icmPeLab2LabV2( | ^~~~~~~~~~~~~~~~~~ -
icc/icc_pe.h:554:15: warning: ‘new_icmPeFullyGeneric2Norm’ declared ‘static’ but never defined [-Wunused-function] 554 | static icmPe *new_icmPeFullyGeneric2Norm( | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
icc/icc_pe.h:563:15: warning: ‘new_icmPeGeneric2Norm’ declared ‘static’ but never defined [-Wunused-function] 563 | static icmPe *new_icmPeGeneric2Norm( | ^~~~~~~~~~~~~~~~~~~~~ -
icc/icc_pe.h:590:15: warning: ‘new_icmPeGridAlign’ declared ‘static’ but never defined [-Wunused-function] 590 | static icmPe *new_icmPeGridAlign( | ^~~~~~~~~~~~~~~~~~ -
icc/icc_pe.h:605:15: warning: ‘new_icmPeNOP’ declared ‘static’ but never defined [-Wunused-function] 605 | static icmPe *new_icmPeNOP( | ^~~~~~~~~~~~ -
icc/icc_pe.h:687:24: warning: ‘new_icmPeContainer’ declared ‘static’ but never defined [-Wunused-function] 687 | static icmPeContainer *new_icmPeContainer( | ^~~~~~~~~~~~~~~~~~ -
icc/icc_xf.h:26:12: warning: ‘icmClipPCS16’ declared ‘static’ but never defined [-Wunused-function] 26 | static int icmClipPCS16( | ^~~~~~~~~~~~ -
icc/icc_util.h:343:13: warning: ‘icmOr2mat’ declared ‘static’ but never defined [-Wunused-function] 343 | static void icmOr2mat(double mat[2][2], int or); | ^~~~~~~~~ -
rspl/scat.c:337:19: warning: unused variable ‘f’ [-Wunused-variable] 337 | int i, e, f; | ^ -
rspl/scat.c:393:16: warning: unused variable ‘f’ [-Wunused-variable] 393 | int i, f; | ^ -
rspl/scat.c:393:13: warning: unused variable ‘i’ [-Wunused-variable] 393 | int i, f; | ^ -
rspl/scat.c:643:16: warning: variable ‘psm’ set but not used [-Wunused-but-set-variable=] 643 | mgtmp *psm = NULL, *sm = NULL; /* Smoothing map */ | ^~~ -
rspl/scat.c:1615:16: warning: unused variable ‘di’ [-Wunused-variable] 1615 | int e, di = m->s->di, gno = m->g.no; | ^~ -
rspl/scat.c:1960:40: warning: unused variable ‘dw’ [-Wunused-variable] 1960 | double dw, w0, w1, tt; | ^~ -
rspl/scat.c:2389:16: warning: unused variable ‘n’ [-Wunused-variable] 2389 | int e, n; | ^ -
rspl/scat.c:2736:13: warning: variable ‘gc’ set but not used [-Wunused-but-set-variable=] 2736 | int gc[MXDI]; | ^~ -
rspl/rev.c:422:18: warning: variable ‘b’ set but not used [-Wunused-but-set-variable=] 422 | schbase *b; | ^ -
rspl/rev.c:542:24: warning: variable ‘ax’ set but not used [-Wunused-but-set-variable=] 542 | double ax[MXRI]; | ^~ -
rspl/rev.c:840:24: warning: variable ‘ax’ set but not used [-Wunused-but-set-variable=] 840 | double ax[MXRI]; | ^~ -
rspl/rev.c:2037:24: warning: unused variable ‘maxde’ [-Wunused-variable] 2037 | double maxde = -1.0; | ^~~~~ -
rspl/rev.c:3065:16: warning: unused variable ‘fdi’ [-Wunused-variable] 3065 | int f, fdi = s->fdi; | ^~~ -
rspl/rev.c:3065:13: warning: unused variable ‘f’ [-Wunused-variable] 3065 | int f, fdi = s->fdi; | ^ -
rspl/rev.c:3735:16: warning: unused variable ‘tb’ [-Wunused-variable] 3735 | double tb[MXRO]; /* RHS & Parameter solution */ | ^~ -
rspl/rev.c:3733:16: warning: unused variable ‘ee’ [-Wunused-variable] 3733 | int e, ee, sdi = x->sdi; | ^~ -
rspl/rev.c:4174:33: warning: unused variable ‘Ddc’ [-Wunused-variable] 4174 | double ct, cv, Dcv, dc, Ddc, Dvv1sq, Dvv2sq, Ddcsq; /* Delta C squared */ | ^~~ -
rspl/rev.c:4345:20: warning: unused variable ‘Ddl’ [-Wunused-variable] 4345 | double dl, Ddl[2], Ddlsq[2]; /* Delta L squared */ | ^~~ -
rspl/rev.c:4492:31: warning: unused variable ‘fit’ [-Wunused-variable] 4492 | int ff1 = 0, ff2 = 0, fit = -1; | ^~~ -
rspl/rev.c:4492:22: warning: unused variable ‘ff2’ [-Wunused-variable] 4492 | int ff1 = 0, ff2 = 0, fit = -1; | ^~~ -
rspl/rev.c:4492:13: warning: unused variable ‘ff1’ [-Wunused-variable] 4492 | int ff1 = 0, ff2 = 0, fit = -1; | ^~~ -
rspl/rev.c:4650:13: warning: unused variable ‘ff’ [-Wunused-variable] 4650 | int ff, f, fdi = s->fdi; | ^~ -
rspl/rev.c:4828:21: warning: variable ‘efdi’ set but not used [-Wunused-but-set-variable=] 4828 | int efdi = fdi; | ^~~~ -
rspl/rev.c:4826:22: warning: variable ‘icomb’ set but not used [-Wunused-but-set-variable=] 4826 | int *icomb, *offs; | ^~~~~ -
rspl/rev.c:4886:22: warning: variable ‘icomb’ set but not used [-Wunused-but-set-variable=] 4886 | int *icomb; | ^~~~~ -
rspl/rev.c:5959:13: warning: unused variable ‘i’ [-Wunused-variable] 5959 | int i; | ^ -
rspl/rev.c:6087:13: warning: unused variable ‘hit’ [-Wunused-variable] 6087 | int hit = 0; | ^~~ -
rspl/gam.c:448:39: warning: variable ‘v2’ set but not used [-Wunused-but-set-variable=] 448 | double v1[3], v2[3]; | ^~ -
rspl/gam.c:448:32: warning: variable ‘v1’ set but not used [-Wunused-but-set-variable=] 448 | double v1[3], v2[3]; | ^~ -
rspl/gam.c:429:25: warning: unused variable ‘lg’ [-Wunused-variable] 429 | int sm, lg; | ^~ -
rspl/gam.c:429:21: warning: unused variable ‘sm’ [-Wunused-variable] 429 | int sm, lg; | ^~ -
rspl/gam.c:492:22: warning: unused variable ‘f’ [-Wunused-variable] 492 | int i, j, k, f, fdi = s->fdi; | ^ -
rspl/gam.c:492:19: warning: unused variable ‘k’ [-Wunused-variable] 492 | int i, j, k, f, fdi = s->fdi; | ^ -
rspl/rev.c:6341:21: warning: unused variable ‘rp’ [-Wunused-variable] 6341 | int **rpp, *rp; | ^~ -
rspl/gam.c:541:22: warning: unused variable ‘f’ [-Wunused-variable] 541 | int i, j, k, f, fdi = s->fdi; | ^ -
rspl/rev.c:6978:16: warning: unused variable ‘len’ [-Wunused-variable] 6978 | double len; | ^~~ -
rspl/rev.c:7225:13: warning: unused variable ‘i’ [-Wunused-variable] 7225 | int i; | ^ -
rspl/rev.c:7547:13: warning: unused variable ‘i’ [-Wunused-variable] 7547 | int i; | ^ -
rspl/rev.c:7591:13: warning: unused variable ‘i’ [-Wunused-variable] 7591 | int i; | ^ -
rspl/gam.c:1177:13: warning: unused variable ‘i’ [-Wunused-variable] 1177 | int i; | ^ -
rspl/gam.c:1239:21: warning: unused variable ‘nvp’ [-Wunused-variable] 1239 | rvert *vp, *nvp; | ^~~ -
rspl/gam.c:1238:16: warning: unused variable ‘col’ [-Wunused-variable] 1238 | double col[3] = { 0.7, 0.7, 0.7 }; | ^~~ -
rspl/gam.c:1237:13: warning: unused variable ‘i’ [-Wunused-variable] 1237 | int i; | ^ -
rspl/rev.c:7749:32: warning: unused variable ‘em’ [-Wunused-variable] 7749 | double em, ex; | ^~ -
rspl/rev.c:7649:22: warning: unused variable ‘hashk’ [-Wunused-variable] 7649 | unsigned int hashk; | ^~~~~ -
rspl/gam.c:491:14: warning: ‘check_tri’ defined but not used [-Wunused-function] 491 | static rtri *check_tri(rspl *s, redge *ep, rvert *_vv) { | ^~~~~~~~~ -
rspl/rev.c:8353:16: warning: unused variable ‘ee’ [-Wunused-variable] 8353 | int e, ee, di = s->di; | ^~ -
rspl/rev.c:8353:13: warning: unused variable ‘e’ [-Wunused-variable] 8353 | int e, ee, di = s->di; | ^ -
rspl/rev.c:8383:13: warning: unused variable ‘rv’ [-Wunused-variable] 8383 | int rv; | ^~ -
rspl/rev.c:8704:32: warning: unused variable ‘vv’ [-Wunused-variable] 8704 | double vv[MXRO]; | ^~ -
rspl/rev.c:8606:16: warning: variable ‘mid’ set but not used [-Wunused-but-set-variable=] 8606 | double mid[MXRO]; /* Middle of midix[] */ | ^~~ -
rspl/rev.c:8600:13: warning: unused variable ‘e’ [-Wunused-variable] 8600 | int e, ee, di = s->di; | ^ -
rspl/rev.c:8599:13: warning: unused variable ‘i’ [-Wunused-variable] 8599 | int i, j, aa, mm; | ^ -
rspl/rev.c:8994:16: warning: unused variable ‘ff’ [-Wunused-variable] 8994 | int f, ff, fdi = s->fdi; | ^~ -
rspl/rev.c:9532:21: warning: variable ‘edge’ set but not used [-Wunused-but-set-variable=] 9532 | int edge = 0; /* This fwd cell contains a device edge */ | ^~~~ -
rspl/rev.c:9909:41: warning: unused variable ‘vx’ [-Wunused-variable] 9909 | vtxrec *vx; | ^~ -
rspl/rev.c:9908:49: warning: unused variable ‘nrp’ [-Wunused-variable] 9908 | int *crp, *rp, *nrp; | ^~~ -
rspl/rev.c:10229:69: warning: variable ‘shdwd’ set but not used [-Wunused-but-set-variable=]
-
rspl/rev.c:10013:45: warning: variable ‘aftercount’ set but not used [-Wunused-but-set-variable=]
-
rspl/rev.c:10011:57: warning: unused variable ‘nrp’ [-Wunused-variable]
-
rspl/rev.c:10011:46: warning: unused variable ‘crp’ [-Wunused-variable]
-
rspl/rev.c:10361:46: warning: unused variable ‘crp’ [-Wunused-variable]
-
rspl/rev.c:10360:49: warning: unused variable ‘nvx’ [-Wunused-variable]
-
rspl/rev.c:10359:58: warning: unused variable ‘aftercount’ [-Wunused-variable]
-
rspl/rev.c:10359:45: warning: variable ‘beforecount’ set but not used [-Wunused-but-set-variable=]
-
rspl/rev.c:9894:29: warning: variable ‘morevtxadded’ set but not used [-Wunused-but-set-variable=] 9894 | int morevtxadded = 0; | ^~~~~~~~~~~~ -
numlib/numsup.c:2860:29: warning: ‘minx’ may be used uninitialized [-Wmaybe-uninitialized] 2860 | out = minx/(len-1.0); | ~~~~^~~~~~~~~~~~~~~~ -
numlib/numsup.c:2862:29: warning: ‘maxx’ may be used uninitialized [-Wmaybe-uninitialized] 2862 | out = maxx/(len-1.0); | ~~~~^~~~~~~~~~~~~~~~ -
rspl/rev.c:10608:37: warning: unused variable ‘aftercount’ [-Wunused-variable]
-
rspl/rev.c:10607:46: warning: unused variable ‘nvx’ [-Wunused-variable]
-
rspl/rev.c:10606:38: warning: unused variable ‘crp’ [-Wunused-variable]
-
rspl/rev.c:10588:33: warning: unused variable ‘vx’ [-Wunused-variable]
-
rspl/rev.c:10586:29: warning: unused variable ‘sdi’ [-Wunused-variable]
-
rspl/rev.c:11238:30: warning: unused variable ‘rp’ [-Wunused-variable]
-
rspl/rev.c:11237:29: warning: unused variable ‘sdi’ [-Wunused-variable]
-
rspl/rev.c:11336:38: warning: unused variable ‘nvx’ [-Wunused-variable]
-
rspl/rev.c:11333:29: warning: unused variable ‘sdi’ [-Wunused-variable]
-
rspl/rev.c:11844:21: warning: unused variable ‘rp’ [-Wunused-variable]
-
rspl/rev.c:11843:13: warning: unused variable ‘e’ [-Wunused-variable]
-
rspl/rev.c:12180:13: warning: variable ‘rgres_1’ set but not used [-Wunused-but-set-variable=]
-
rspl/rev.c:12178:19: warning: unused variable ‘gno’ [-Wunused-variable]
-
rspl/rev.c:12176:13: warning: unused variable ‘di’ [-Wunused-variable]
-
rspl/rev.c:12175:23: warning: unused variable ‘ff’ [-Wunused-variable]
-
rspl/rev.c:12175:19: warning: unused variable ‘ee’ [-Wunused-variable]
-
rspl/rev.c:12175:13: warning: unused variable ‘e’ [-Wunused-variable]
-
rspl/rev.c:230:14: warning: ‘pcellorange’ declared ‘static’ but never defined [-Wunused-function] 230 | static char *pcellorange(fxcell *c); | ^~~~~~~~~~~ -
rspl/opt.c:615:13: warning: variable ‘i’ set but not used [-Wunused-but-set-variable=] 615 | int i, e, f; | ^ -
rspl/rev.c:4301:15: warning: ‘lchw_tri_sq’ defined but not used [-Wunused-function] 4301 | static double lchw_tri_sq(rspl *s, double *vt, double v[MXRI+1][MXRO+1], double *p) { | ^~~~~~~~~~~ -
rspl/rev.c:2132:12: warning: ‘nn_insphere’ defined but not used [-Wunused-function] 2132 | static int nn_insphere(rspl *s, double *dist, nn_grp *p, double *src) { | ^~~~~~~~~~~ -
rspl/rev.c:1868:9: warning: ‘lchw_sq_f’ defined but not used [-Wunused-function] 1868 | LCHW_SQ(lchw_sq_f, float) | ^~~~~~~~~ -
gamut/gamut.c:1222:19: warning: unused variable ‘k’ [-Wunused-variable] 1222 | int i, j, k; | ^ -
gamut/gamut.c:1348:21: warning: unused variable ‘s2’ [-Wunused-variable] 1348 | gamut *s1, *s2; | ^~ -
gamut/gamut.c:1348:16: warning: unused variable ‘s1’ [-Wunused-variable] 1348 | gamut *s1, *s2; | ^~ -
gamut/gamut.c:1484:36: warning: unused variable ‘r4’ [-Wunused-variable] 1484 | double rr, r4; | ^~ -
gamut/gamut.c:1484:32: warning: unused variable ‘rr’ [-Wunused-variable] 1484 | double rr, r4; | ^~ -
gamut/gamut.c:1483:39: warning: unused variable ‘ppv’ [-Wunused-variable] 1483 | double pp[3], ppv, p2[3]; | ^~~ -
gamut/gamut.c:1435:21: warning: unused variable ‘kk’ [-Wunused-variable] 1435 | int ii, jj, kk; /* List indexes */ | ^~ -
gamut/gamut.c:1435:17: warning: unused variable ‘jj’ [-Wunused-variable] 1435 | int ii, jj, kk; /* List indexes */ | ^~ -
gamut/gamut.c:1435:13: warning: unused variable ‘ii’ [-Wunused-variable] 1435 | int ii, jj, kk; /* List indexes */ | ^~ -
gamut/gamut.c:3208:32: warning: unused variable ‘dp’ [-Wunused-variable] 3208 | double dp; /* Dot product of point in triangle and normal */ | ^~ -
gamut/gamut.c:3630:9: warning: argument 2 of type ‘double *’ declared as a pointer [-Warray-parameter=] 3630 | double *out, /* result point (absolute) (May be NULL) */ | ~~~~~~~~^~~ -
gamut/gamut.c:3631:9: warning: argument 3 of type ‘double *’ declared as a pointer [-Warray-parameter=] 3631 | double *in /* input point (absolute)*/ | ~~~~~~~~^~ -
gamut/gamut.c:3645:9: warning: argument 2 of type ‘double *’ declared as a pointer [-Warray-parameter=] 3645 | double *out, /* result point (absolute) (May be NULL) */ | ~~~~~~~~^~~ -
gamut/gamut.c:3646:9: warning: argument 3 of type ‘double *’ declared as a pointer [-Warray-parameter=] 3646 | double *in /* input point (absolute)*/ | ~~~~~~~~^~ -
gamut/gamut.c:3766:24: warning: unused variable ‘rs’ [-Wunused-variable] 3766 | double rs; | ^~ -
gamut/gamut.c:3765:27: warning: unused variable ‘e’ [-Wunused-variable] 3765 | int i, j, e; | ^ -
gamut/gamut.c:3765:24: warning: unused variable ‘j’ [-Wunused-variable] 3765 | int i, j, e; | ^ -
gamut/gamut.c:3942:9: warning: argument 3 of type ‘double *’ declared as a pointer [-Warray-parameter=] 3942 | double *nin /* Normalised center relative point */ | ~~~~~~~~^~~ -
gamut/gamut.c:4015:9: warning: argument 3 of type ‘double *’ declared as a pointer [-Warray-parameter=] 4015 | double *nin /* Normalised center relative point */ | ~~~~~~~~^~~ -
gamut/gamut.c:4147:9: warning: argument 2 of type ‘double *’ declared as a pointer [-Warray-parameter=] 4147 | double *rout, /* result point (absolute) */ | ~~~~~~~~^~~~ -
gamut/gamut.c:4148:9: warning: argument 3 of type ‘double *’ declared as a pointer [-Warray-parameter=] 4148 | double *q, /* Target point (absolute) */ | ~~~~~~~~^ -
gamut/gamut.c:4301:21: warning: variable ‘pcalced’ set but not used [-Wunused-but-set-variable=] 4301 | int pcalced = 0; /* Stats */ | ^~~~~~~ -
gamut/gamut.c:4300:21: warning: variable ‘ptested’ set but not used [-Wunused-but-set-variable=] 4300 | int ptested = 0; /* Stats */ | ^~~~~~~ -
gamut/gamut.c:4417:9: warning: argument 2 of type ‘double *’ declared as a pointer [-Warray-parameter=] 4417 | double *rout, /* result point (absolute) */ | ~~~~~~~~^~~~ -
gamut/gamut.c:4418:9: warning: argument 3 of type ‘double *’ declared as a pointer [-Warray-parameter=] 4418 | double *q /* Target point (absolute) */ | ~~~~~~~~^ -
rspl/rspl.c:1345:32: warning: ‘si’ may be used uninitialized [-Wmaybe-uninitialized] 1345 | w = 1.0 - we[si[di-1]]; /* Vertex at base of cell */ | ~~^~~~~~ -
rspl/rspl.c:1345:29: warning: ‘we’ may be used uninitialized [-Wmaybe-uninitialized] 1345 | w = 1.0 - we[si[di-1]]; /* Vertex at base of cell */ | ~~^~~~~~~~~~ -
gamut/gamut.c:5402:15: warning: unused variable ‘tp’ [-Wunused-variable] 5402 | gtri *tp; | ^~ -
gamut/gamut.c:5621:15: warning: unused variable ‘tp’ [-Wunused-variable] 5621 | gtri *tp; | ^~ -
gamut/gamut.c:4844:12: warning: ‘compute_vector_isect_bf’ defined but not used [-Wunused-function] 4844 | static int compute_vector_isect_bf( | ^~~~~~~~~~~~~~~~~~~~~~~ -
gamut/gamut.c:4111:1: warning: ‘nearest_bf’ defined but not used [-Wunused-function] 4111 | nearest_bf( | ^~~~~~~~~~ -
gamut/gamut.c:3527:1: warning: ‘radial_bf’ defined but not used [-Wunused-function] 3527 | radial_bf( | ^~~~~~~~~ -
rspl/rspl.c:517:32: warning: ‘si’ may be used uninitialized [-Wmaybe-uninitialized] 517 | w = 1.0 - we[si[di-1]]; /* Vertex at base of cell */ | ~~^~~~~~ -
rspl/rspl.c:517:29: warning: ‘we’ may be used uninitialized [-Wmaybe-uninitialized] 517 | w = 1.0 - we[si[di-1]]; /* Vertex at base of cell */ | ~~^~~~~~~~~~ -
gamut/gammap.c:1605:36: warning: unused variable ‘cp’ [-Wunused-variable] 1605 | co cp; | ^~ -
gamut/gammap.c:1993:40: warning: unused variable ‘mdst’ [-Wunused-variable] 1993 | double mdst[3]; | ^~~~ -
gamut/gammap.c:1991:40: warning: unused variable ‘blue’ [-Wunused-variable] 1991 | double blue[3] = { 0.2, 0.2, 1.0 }; | ^~~~ -
gamut/gammap.c:1990:40: warning: unused variable ‘purp’ [-Wunused-variable] 1990 | double purp[3] = { 0.6, 0.0, 1.0 }; | ^~~~ -
gamut/gammap.c:1989:40: warning: unused variable ‘lgrey’ [-Wunused-variable] 1989 | double lgrey[3] = { 0.8, 0.8, 0.8 }; | ^~~~~ -
gamut/gammap.c:1985:40: warning: unused variable ‘cpexf’ [-Wunused-variable] 1985 | double cpexf; /* The effective compression or expansion factor */ | ^~~~~ -
gamut/gammap.c:2069:37: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 2069 | if ((npoints = locus->t[table].nsets) <= 0) | ^~ -
gamut/gammap.c:2084:52: warning: unused variable ‘cp’ [-Wunused-variable] 2084 | co cp; | ^~ -
gamut/gammap.c:2101:52: warning: unused variable ‘cp’ [-Wunused-variable] 2101 | co cp; | ^~ -
gamut/gammap.c:2169:53: warning: unused variable ‘k’ [-Wunused-variable] 2169 | int k; | ^ -
gamut/gammap.c:2168:52: warning: unused variable ‘cp’ [-Wunused-variable] 2168 | co cp; | ^~ -
gamut/gammap.c:2223:52: warning: unused variable ‘cp’ [-Wunused-variable] 2223 | co cp; | ^~ -
gamut/gammap.c:2222:56: warning: unused variable ‘pp’ [-Wunused-variable] 2222 | double pp[3]; | ^~ -
gamut/gammap.c:1865:29: warning: unused variable ‘nix’ [-Wunused-variable] 1865 | int nix = -1; /* Index of point to show neighbour */ | ^~~ -
gamut/gammap.c:1864:32: warning: unused variable ‘nc’ [-Wunused-variable] 1864 | double nc[3] = { 1.0, 0.4, 0.7 }; /* Pink for neighbors */ | ^~ -
gamut/gammap.c:2432:21: warning: unused variable ‘e’ [-Wunused-variable] 2432 | int e; | ^ -
gamut/gammap.c:2538:16: warning: unused variable ‘tt’ [-Wunused-variable] 2538 | double tt, rv = 0.0; | ^~ -
spectro/conv.h:250:13: warning: ‘copynorm_dirsep’ declared ‘static’ but never defined [-Wunused-function] 250 | static void copynorm_dirsep(char *d, char *s); | ^~~~~~~~~~~~~~~ -
xicc/xspect.h:339:12: warning: ‘planckian_il’ declared ‘static’ but never defined [-Wunused-function] 339 | static int planckian_il(xspect *sp, double ct); | ^~~~~~~~~~~~ -
gamut/gammap.c:2423:13: warning: ‘dopartialmap2’ defined but not used [-Wunused-function] 2423 | static void dopartialmap2( | ^~~~~~~~~~~~~ -
icc/icc_xf.c:670:20: warning: ‘cix’ may be used uninitialized [-Wmaybe-uninitialized] 670 | if (rix != cix) { | ^ -
icc/icc_xf.c:670:20: warning: ‘rix’ may be used uninitialized [-Wmaybe-uninitialized] 670 | if (rix != cix) { | ^ -
icc/icc_xf.c:1366:52: warning: ‘ee’ may be used uninitialized [-Wmaybe-uninitialized] 1366 | if (++gc[e] < p->clutPoints[ee]) | ~~~~~~~~~~~~~^~~~ -
gamut/nearsmth.c:207:16: warning: unused variable ‘vv’ [-Wunused-variable] 207 | double vv; | ^~ -
gamut/nearsmth.c:418:19: warning: unused variable ‘k’ [-Wunused-variable] 418 | int i, j, k; | ^ -
gamut/nearsmth.c:418:16: warning: unused variable ‘j’ [-Wunused-variable] 418 | int i, j, k; | ^ -
gamut/nearsmth.c:418:13: warning: unused variable ‘i’ [-Wunused-variable] 418 | int i, j, k; | ^ -
gamut/nearsmth.c:460:19: warning: unused variable ‘k’ [-Wunused-variable] 460 | int i, j, k; | ^ -
gamut/nearsmth.c:460:16: warning: unused variable ‘j’ [-Wunused-variable] 460 | int i, j, k; | ^ -
gamut/nearsmth.c:460:13: warning: unused variable ‘i’ [-Wunused-variable] 460 | int i, j, k; | ^ -
gamut/nearsmth.c:688:21: warning: unused variable ‘isJab’ [-Wunused-variable] 688 | int isJab; | ^~~~~ -
gamut/nearsmth.c:1143:1: warning: multi-line comment [-Wcomment] 1143 | //#define NSCOPY(xxx) if (src->xxx >= 0.0) { \ | ^ -
gamut/gamut.c:5226:31: warning: ‘nt’ may be used uninitialized [-Wmaybe-uninitialized] 5226 | for (i = 0; i < nt; i++, tpp++) { | ~~^~~~ -
gamut/gamut.c:5213:24: warning: ‘tpp’ may be used uninitialized [-Wmaybe-uninitialized] 5213 | gtri **tpp; /* Pointer to list of triangles */ | ^~~ -
gamut/gamut.c:5085:39: warning: ‘ti’ may be used uninitialized [-Wmaybe-uninitialized] 5085 | if (fabs(den) < 1e-12 || ti < (t0 - 1e-6) || ti > (t1 + 1e-6)) { /* Doesn't intersect */ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ -
gamut/nearsmth.c:1466:27: warning: unused variable ‘tmp’ [-Wunused-variable] 1466 | double h, JCh[3], tmp[3]; | ^~~ -
gamut/nearsmth.c:1818:15: warning: argument 9 of type ‘gammapweights[14]’ with mismatched bound [-Warray-parameter=] 1818 | gammapweights xwh[14],/* Structure holding expanded hextant weightings */ | ~~~~~~~~~~~~~~^~~~~~~ -
gamut/nearsmth.c:2092:32: warning: variable ‘imr’ set but not used [-Wunused-but-set-variable=] 2092 | double imv[3], imr; /* cspace/image gamut source point and radius */ | ^~~ -
gamut/nearsmth.c:2413:40: warning: unused variable ‘dd’ [-Wunused-variable] 2413 | double dd; | ^~ -
gamut/nearsmth.c:2487:40: warning: unused variable ‘dd’ [-Wunused-variable] 2487 | double dd; | ^~ -
gamut/nearsmth.c:2400:32: warning: unused variable ‘mv’ [-Wunused-variable] 2400 | double mv; | ^~ -
gamut/nearsmth.c:2393:24: warning: unused variable ‘ne’ [-Wunused-variable] 2393 | double ne; /* New error */ | ^~ -
gamut/nearsmth.c:2524:32: warning: unused variable ‘mv’ [-Wunused-variable] 2524 | double mv; | ^~ -
gamut/nearsmth.c:2517:24: warning: unused variable ‘ne’ [-Wunused-variable] 2517 | double ne; /* New error */ | ^~ -
gamut/nearsmth.c:2705:32: warning: unused variable ‘len’ [-Wunused-variable] 2705 | double len; | ^~~ -
gamut/nearsmth.c:2751:32: warning: unused variable ‘mv’ [-Wunused-variable] 2751 | double mv; | ^~ -
gamut/nearsmth.c:2684:27: warning: unused variable ‘oh’ [-Wunused-variable] 2684 | datao ol, oh; | ^~ -
gamut/nearsmth.c:2684:23: warning: unused variable ‘ol’ [-Wunused-variable] 2684 | datao ol, oh; | ^~ -
gamut/nearsmth.c:2683:27: warning: unused variable ‘ih’ [-Wunused-variable] 2683 | datai il, ih; | ^~ -
gamut/nearsmth.c:2683:23: warning: unused variable ‘il’ [-Wunused-variable] 2683 | datai il, ih; | ^~ -
gamut/nearsmth.c:2679:24: warning: unused variable ‘ne’ [-Wunused-variable] 2679 | double ne; /* New error */ | ^~ -
gamut/nearsmth.c:2672:37: warning: unused variable ‘rad’ [-Wunused-variable] 2672 | double p[3], p2[3], rad; | ^~~ -
gamut/nearsmth.c:2672:30: warning: unused variable ‘p2’ [-Wunused-variable] 2672 | double p[3], p2[3], rad; | ^~ -
gamut/nearsmth.c:3210:40: warning: unused variable ‘evect’ [-Wunused-variable] 3210 | double evect[3]; | ^~~~~ -
gamut/nearsmth.c:3209:36: warning: unused variable ‘cp’ [-Wunused-variable] 3209 | co cp; | ^~ -
gamut/nearsmth.c:3310:40: warning: unused variable ‘tt’ [-Wunused-variable] 3310 | double tt; | ^~ -
gamut/nearsmth.c:3155:32: warning: unused variable ‘ovlen’ [-Wunused-variable] 3155 | double ovlen; | ^~~~~ -
gamut/nearsmth.c:3151:32: warning: unused variable ‘tmp’ [-Wunused-variable] 3151 | double tmp[3]; | ^~~ -
gamut/nearsmth.c:3402:43: warning: unused variable ‘nv’ [-Wunused-variable] 3402 | double mv[3], ml, nv[3]; /* Mapping vector & length, noralized mv */ | ^~ -
gamut/nearsmth.c:3846:48: warning: unused variable ‘mv’ [-Wunused-variable] 3846 | double mv; | ^~ -
gamut/nearsmth.c:3841:48: warning: unused variable ‘ne’ [-Wunused-variable] 3841 | double ne; /* New error */ | ^~ -
gamut/nearsmth.c:1849:13: warning: unused variable ‘nmxmv’ [-Wunused-variable] 1849 | int nmxmv; /* Number of maxmoves less than stopping threshold */ | ^~~~~ -
gamut/nearsmth.c:1848:16: warning: unused variable ‘mxmv’ [-Wunused-variable] 1848 | double mxmv; /* Maximum a point gets moved */ | ^~~~ -
gamut/nearsmth.c:1847:16: warning: unused variable ‘codf’ [-Wunused-variable] 1847 | double codf; /* Itteration overshoot/damping factor */ | ^~~~ -
gamut/nearsmth.c:1844:13: warning: unused variable ‘pass’ [-Wunused-variable] 1844 | int pass; | ^~~~ -
gamut/nearsmth.c:1834:23: warning: unused variable ‘k’ [-Wunused-variable] 1834 | int ix, i, j, k; | ^ -
gamut/nearsmth.c:1666:12: warning: ‘vintersect’ defined but not used [-Wunused-function] 1666 | static int vintersect( | ^~~~~~~~~~ -
gamut/nearsmth.c:1105:13: warning: ‘inv_comp_ce’ defined but not used [-Wunused-function] 1105 | static void inv_comp_ce( | ^~~~~~~~~~~ -
gamut/nearsmth.c:353:13: warning: ‘spow3’ defined but not used [-Wunused-function] 353 | static void spow3(double *out, double *in, double ex) { | ^~~~~ -
gamut/nearsmth.c:346:15: warning: ‘spow’ defined but not used [-Wunused-function] 346 | static double spow(double arg, double ex) { | ^~~~ -
xicc/xmatrix.c:856:13: warning: variable ‘wix’ set but not used [-Wunused-but-set-variable=] 856 | int wix = -1; /* White patch index */ | ^~~ -
xicc/xmatrix.c:852:16: warning: unused variable ‘f’ [-Wunused-variable] 852 | int e, f, i, j; | ^ -
xicc/xmatrix.c:851:13: warning: variable ‘rsplflags’ set but not used [-Wunused-but-set-variable=] 851 | int rsplflags = 0; /* Flags for scattered data rspl */ | ^~~~~~~~~ -
xicc/xmatrix.c:850:13: warning: unused variable ‘outputChan’ [-Wunused-variable] 850 | int outputChan = 3; /* Must be the PCS */ | ^~~~~~~~~~ -
xicc/xmatrix.c:1660:30: warning: unused variable ‘_wp’ [-Wunused-variable] 1660 | icmXYZNumber _wp; | ^~~ -
xicc/xmatrix.c:1768:32: warning: unused variable ‘cmat’ [-Wunused-variable] 1768 | double cmat[3][3]; /* Model correction matrix */ | ^~~~ -
xicc/xmatrix.c:1362:16: warning: unused variable ‘stopon’ [-Wunused-variable] 1362 | double stopon = 0.01; /* Absolute delta E change to stop on */ | ^~~~~~ -
xicc/xmatrix.c:1361:13: warning: unused variable ‘maxits’ [-Wunused-variable] 1361 | int maxits = 200; /* Optimisation stop params */ | ^~~~~~ -
xicc/xmatrix.c:1359:13: warning: variable ‘rsplflags’ set but not used [-Wunused-but-set-variable=] 1359 | int rsplflags = 0; /* Flags for scattered data rspl */ | ^~~~~~~~~ -
xicc/xlut.c:378:16: warning: variable ‘prv’ set but not used [-Wunused-but-set-variable=] 378 | icmPe_lurv prv = icmPe_lurv_OK; | ^~~ -
xicc/xlut.c:1492:40: warning: variable ‘ss’ set but not used [-Wunused-but-set-variable=] 1492 | double ss; | ^~ -
xicc/xlut.c:1803:19: warning: unused variable ‘luluto’ [-Wunused-variable] 1803 | icmLuLut *luluto = (icmLuLut *)plu; /* Lookup Lut type object */ | ^~~~~~ -
xicc/xlut.c:1919:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1919 | if (devchan < 4 || p->ink.klimit < 0.0 || p->ink.klimit >= 1.0) | ^~ -
xicc/xlut.c:2162:19: warning: unused variable ‘luluto’ [-Wunused-variable] 2162 | icmLuLut *luluto = (icmLuLut *)plu; /* Lookup Lut type object */ | ^~~~~~ -
xicc/xlut.c:2942:13: warning: variable ‘maxchan’ set but not used [-Wunused-but-set-variable=] 2942 | int maxchan; /* max(inputChan, outputChan) */ | ^~~~~~~ -
xicc/xlut.c:4384:19: warning: unused variable ‘C’ [-Wunused-variable] 4384 | double h, C; | ^ -
xicc/xicc.c:382:38: warning: unused variable ‘pcsi’ [-Wunused-variable] 382 | icmCSInfo ini, outi, pcsi; | ^~~~ -
xicc/xicc.c:406:46: warning: unused variable ‘pcsi’ [-Wunused-variable] 406 | icmCSInfo ini, outi, pcsi; | ^~~~ -
xicc/xicc.c:364:18: warning: variable ‘outn’ set but not used [-Wunused-but-set-variable=] 364 | int inn, outn; | ^~~~ -
xicc/xicc.c:362:20: warning: unused variable ‘h’ [-Wunused-variable] 362 | icmHeader *h = icco->header; | ^ -
xicc/xicc.c:1616:30: warning: unused variable ‘whitePointTag’ [-Wunused-variable] 1616 | icmXYZArray *whitePointTag; | ^~~~~~~~~~~~~ -
xicc/xicc.c:2705:20: warning: unused variable ‘odv’ [-Wunused-variable] 2705 | double dv, odv; | ^~~ -
xicc/xicc.c:3077:16: warning: unused variable ‘tt’ [-Wunused-variable] 3077 | double tt, g; | ^~ -
xicc/xicc.c:3523:23: warning: unused variable ‘g’ [-Wunused-variable] 3523 | int e, ee, f, g; | ^ -
xicc/xicc.c:3523:16: warning: unused variable ‘ee’ [-Wunused-variable] 3523 | int e, ee, f, g; | ^~ -
gamut/gamut.c:3983:31: warning: ‘nt’ may be used uninitialized [-Wmaybe-uninitialized] 3983 | for (i = 0; i < nt; i++, tpp++) { | ~~^~~~ -
gamut/gamut.c:3969:24: warning: ‘tpp’ may be used uninitialized [-Wmaybe-uninitialized] 3969 | gtri **tpp; /* Pointer to list of triangles */ | ^~~ -
xicc/xlut.c:585:13: warning: ‘xicc_from_final’ defined but not used [-Wunused-function] 585 | static void xicc_from_final(icxLuLut *p, double *out, double *in) { | ^~~~~~~~~~~~~~~ -
xicc/xcolorants.c:434:13: warning: variable ‘order’ set but not used [-Wunused-but-set-variable=] 434 | int order[MAX_CHAN]; /* Place holder, not currently used - return ink order */ | ^~~~~ -
xicc/xspect.c:4737:38: warning: unused variable ‘nbl’ [-Wunused-variable] 4737 | double inv, uvv, bl, nbl, outv; | ^~~ -
xicc/xspect.c:4713:20: warning: unused variable ‘xe’ [-Wunused-variable] 4713 | int i, xs, xe; | ^~ -
xicc/xspect.c:4713:16: warning: unused variable ‘xs’ [-Wunused-variable] 4713 | int i, xs, xe; | ^~ -
xicc/xspect.c:5647:16: warning: unused variable ‘j’ [-Wunused-variable] 5647 | int i, j, k; | ^ -
xicc/xspect.c:5815:24: warning: unused variable ‘Rc’ [-Wunused-variable] 5815 | double Rc; /* Reflectance under inst. illum. */ | ^~ -
xicc/xspect.c:5761:16: warning: unused variable ‘j’ [-Wunused-variable] 5761 | int i, j, k; | ^ -
xicc/xspect.c:7422:23: warning: unused variable ‘s’ [-Wunused-variable] 7422 | double cp[1], s[1]; | ^ -
xicc/xspect.c:7422:16: warning: unused variable ‘cp’ [-Wunused-variable] 7422 | double cp[1], s[1]; | ^~ -
xicc/xspect.c:7636:40: warning: unused variable ‘temp’ [-Wunused-variable] 7636 | double temp; | ^~~~ -
xicc/xspect.c:7530:31: warning: unused variable ‘c’ [-Wunused-variable] 7530 | int ii, i, j, c; | ^ -
xicc/xspect.c:7530:28: warning: unused variable ‘j’ [-Wunused-variable] 7530 | int ii, i, j, c; | ^ -
xicc/xspect.c:7987:18: warning: unused variable ‘poly’ [-Wunused-variable] 7987 | xslpoly *poly; | ^~~~ -
xicc/xspect.c:8975:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 8975 | if (dc > 0.0054) DBGF((DBGA,"CRI is invalid\n")); | ^~ -
xicc/xspect.c:9233:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 9233 | if (dc > 0.0054) DBGF((DBGA,"TLCI is invalid\n")); | ^~ -
xicc/xspect.c:9137:22: warning: unused variable ‘d_ad’ [-Wunused-variable] 9137 | double c_ad, d_ad; /* Chromatic adaptation scaling factors */ | ^~~~ -
xicc/xspect.c:9137:16: warning: unused variable ‘c_ad’ [-Wunused-variable] 9137 | double c_ad, d_ad; /* Chromatic adaptation scaling factors */ | ^~~~ -
xicc/xspect.c:4200:12: warning: ‘getval_raw_xspec3_lin’ defined but not used [-Wunused-function] 4200 | static int getval_raw_xspec3_lin(xspect *sp, double *rv, double wl) { | ^~~~~~~~~~~~~~~~~~~~~ -
xicc/xcam.c:234:34: warning: unused variable ‘pp’ [-Wunused-variable] 234 | cam97s3 *pp = (cam97s3 *)s->p; | ^~ -
xicc/cam97s3.c:265:8: warning: argument 2 of type ‘double[3]’ with mismatched bound [-Warray-parameter=] 265 | double Jab[3], | ~~~~~~~^~~~~~ -
xicc/cam97s3.c:266:8: warning: argument 3 of type ‘double[3]’ with mismatched bound [-Warray-parameter=] 266 | double XYZ[3] | ~~~~~~~^~~~~~ -
xicc/cam97s3.c:418:8: warning: argument 2 of type ‘double[3]’ with mismatched bound [-Warray-parameter=] 418 | double XYZ[3], | ~~~~~~~^~~~~~ -
xicc/cam97s3.c:419:8: warning: argument 3 of type ‘double[3]’ with mismatched bound [-Warray-parameter=] 419 | double Jab[3] | ~~~~~~~^~~~~~ -
xicc/cam02.c:223:16: warning: unused variable ‘J’ [-Wunused-variable] 223 | double J, C, h; | ^ -
xicc/cam02.c:260:16: warning: unused variable ‘J’ [-Wunused-variable] 260 | double J, C, h; | ^ -
xicc/cam02.c:409:13: warning: unused variable ‘i’ [-Wunused-variable] 409 | int i; | ^ -
xicc/cam02.c:775:8: warning: argument 2 of type ‘double[3]’ with mismatched bound [-Warray-parameter=] 775 | double Jab[3], | ~~~~~~~^~~~~~ -
xicc/cam02.c:776:8: warning: argument 3 of type ‘double[3]’ with mismatched bound [-Warray-parameter=] 776 | double XYZ[3] | ~~~~~~~^~~~~~ -
xicc/cam02.c:783:13: warning: variable ‘clip’ set but not used [-Wunused-but-set-variable=] 783 | int clip = 0; | ^~~~ -
xicc/cam02.c:1205:8: warning: argument 2 of type ‘double[3]’ with mismatched bound [-Warray-parameter=] 1205 | double XYZ[3], | ~~~~~~~^~~~~~ -
xicc/cam02.c:1206:8: warning: argument 3 of type ‘double[3]’ with mismatched bound [-Warray-parameter=] 1206 | double Jab[3] | ~~~~~~~^~~~~~ -
xicc/cam02.c:311:15: warning: ‘spow’ defined but not used [-Wunused-function] 311 | static double spow(double val, double pp) { | ^~~~ -
/usr/include/bits/stdio2.h:30:10: warning: ‘usern’ may be used uninitialized [-Wmaybe-uninitialized] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -
xicc/xicc.c:2714:23: warning: ‘devchan’ may be used uninitialized [-Wmaybe-uninitialized] 2714 | for (i = 0; i < (devchan-1); i++) { | ~~^~~~~~~~~~~~~ -
xicc/ccmx.c:117:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 117 | if (pocg != NULL) | ^~ -
xicc/ccmx.c:67:19: warning: unused variable ‘n’ [-Wunused-variable] 67 | int i, j, n; | ^ -
xicc/ccmx.c:67:16: warning: unused variable ‘j’ [-Wunused-variable] 67 | int i, j, n; | ^ -
xicc/ccmx.c:195:19: warning: unused variable ‘n’ [-Wunused-variable] 195 | int i, j, n, ix; | ^ -
xicc/ccmx.c:195:16: warning: unused variable ‘j’ [-Wunused-variable] 195 | int i, j, n, ix; | ^ -
xicc/ccmx.c:587:16: warning: variable ‘mxix’ set but not used [-Wunused-but-set-variable=] 587 | int i, mxix; | ^~~~ -
rspl/rev.c:1971:57: warning: ‘spf’ may be used uninitialized [-Wmaybe-uninitialized] 1971 | p->bcent[f] = (max[spf][f] + min[spf][f])/2.0; | ~~~^~~~~ -
rspl/rev.c:7593:16: warning: ‘vlen’ may be used uninitialized [-Wmaybe-uninitialized] 7593 | double vlen, dot, scale; | ^~~~ -
xicc/ccss.c:147:74: warning: ‘%s’ directive writing up to 1999 bytes into a region of size between 1871 and 1970 [-Wformat-overflow=] 147 | sprintf(p->e.m, "cgats add_field %s failed with '%s'",buf,ocg->e.m); | ^~ -
xicc/ccss.c:131:73: warning: ‘%s’ directive writing up to 1999 bytes into a region of size 1961 [-Wformat-overflow=] 131 | sprintf(p->e.m, "cgats add_field SAMPLE_ID failed with '%s'!",ocg->e.m); | ^~ -
xicc/ccmx.c:641:26: warning: ‘cx.wix’ may be used uninitialized [-Wmaybe-uninitialized] 641 | cx.wh.X = refs[cx.wix][0]; | ~~^~~~ -
xicc/ccmx.c:713:17: warning: ‘icmMulBy3x3’ accessing 72 bytes in a region of size 24 [-Wstringop-overflow=] 713 | icmMulBy3x3(xyz, p->matrix, cx.cols[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
xicc/xfit.c:862:17: warning: unused variable ‘b’ [-Wunused-variable] 862 | double *b, *c; /* Base of parameters for this section */ | ^ -
xicc/xfit.c:861:20: warning: unused variable ‘w’ [-Wunused-variable] 861 | double tt, w; | ^ -
xicc/xfit.c:861:16: warning: unused variable ‘tt’ [-Wunused-variable] 861 | double tt, w; | ^~ -
xicc/xfit.c:2765:38: warning: unused variable ‘_wp’ [-Wunused-variable] 2765 | icmXYZNumber _wp; | ^~~ -
xicc/xfit.c:1631:13: warning: ‘domodel’ defined but not used [-Wunused-function] 1631 | static void domodel(double *out, double *in) { | ^~~~~~~ -
xicc/xfit.c:703:13: warning: ‘xfit_XYZ_abs_to_rel’ defined but not used [-Wunused-function] 703 | static void xfit_XYZ_abs_to_rel(xfit *p, double *out, double *in) { | ^~~~~~~~~~~~~~~~~~~ -
gamut/gamut.c:5853:24: warning: ‘poutx’ may be used uninitialized [-Wmaybe-uninitialized] 5853 | if ((lp[i].dir ^ pdir) == 0) { /* Not opposite to previous */ | ^ -
xicc/xcal.c:194:24: warning: unused variable ‘smooth’ [-Wunused-variable] 194 | double smooth = 1.0; | ^~~~~~ -
xicc/xcal.c:283:24: warning: unused variable ‘smooth’ [-Wunused-variable] 283 | double smooth = 1.0; | ^~~~~~ -
xicc/xcal.c:358:19: warning: unused variable ‘ti’ [-Wunused-variable] 358 | int i, j, ti; | ^~ -
xicc/xcal.c:454:13: warning: unused variable ‘table’ [-Wunused-variable] 454 | int table = 0; | ^~~~~ -
xicc/xcal.c:635:24: warning: unused variable ‘smooth’ [-Wunused-variable] 635 | double smooth = 1.0; | ^~~~~~ -
rspl/rev.c:3154:12: warning: ‘dist’ may be used uninitialized [-Wmaybe-uninitialized] 3154 | if (err >= b->cdist) { /* Equal or worse clip solution */ | ^ -
imdi/imdi_tab.c:389:26: warning: variable ‘phccount’ set but not used [-Wunused-but-set-variable=] 389 | PHILBERT(phc) /* Pseudo Hilbert counter */ | ^~~ -
spectro/inst.c:1531:39: warning: unused variable ‘bp’ [-Wunused-variable] 1531 | char *bp; | ^~ -
spectro/inst.c:1512:29: warning: unused variable ‘lgchsum’ [-Wunused-variable] 1512 | int lgchsum = 0; | ^~~~~~~ -
spectro/inst.c:2188:16: warning: unused variable ‘tmp’ [-Wunused-variable] 2188 | xspect tmp; | ^~~ -
spectro/inst.c:1439:13: warning: ‘radiance_delimiters’ declared ‘static’ but never defined [-Wunused-function] 1439 | static void radiance_delimiters(icoms *p, int lgchsum); | ^~~~~~~~~~~~~~~~~~~ -
spectro/inst.c:1440:13: warning: ‘radiance_random’ declared ‘static’ but never defined [-Wunused-function] 1440 | static void radiance_random(icoms *p, int lgchsum); | ^~~~~~~~~~~~~~~ -
spectro/inst.c:140:18: warning: ‘check_mode’ defined but not used [-Wunused-function] 140 | static inst_code check_mode( | ^~~~~~~~~~ -
spectro/icoms.c:336:13: warning: unused variable ‘rv’ [-Wunused-variable] 336 | int rv; | ^~ -
spectro/icoms_ux.c:58:13: warning: unused variable ‘rv’ [-Wunused-variable] 58 | int rv; | ^~ -
spectro/icoms_ux.c:769:31: warning: unused variable ‘news’ [-Wunused-variable] 769 | struct termios origs, news; | ^~~~ -
spectro/icoms_ux.c:769:24: warning: unused variable ‘origs’ [-Wunused-variable] 769 | struct termios origs, news; | ^~~~~ -
spectro/icoms_ux.c:899:37: warning: unused variable ‘btr’ [-Wunused-variable] 899 | int btr; | ^~~ -
spectro/icoms_ux.c:860:13: warning: unused variable ‘bread’ [-Wunused-variable] 860 | int bread = 0; | ^~~~~ -
spectro/icoms_ux.c:858:31: warning: unused variable ‘news’ [-Wunused-variable] 858 | struct termios origs, news; | ^~~~ -
spectro/icoms_ux.c:858:24: warning: unused variable ‘origs’ [-Wunused-variable] 858 | struct termios origs, news; | ^~~~~ -
rspl/rev.c:9138:36: warning: ‘nn’ may be used uninitialized [-Wmaybe-uninitialized] 9138 | if (nn == 0) { /* Hmm. No neighors ? */ | ^ -
spectro/disptechs.c:516:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] 516 | if (usels[*isel] == ((char)-1)) { /* If this selector is not currently used */ | ^~~~~ -
spectro/disptechs.c:520:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] 520 | usels[osel[0]] = ix; | ~~~~^~~ -
spectro/disptechs.c:544:32: warning: array subscript has type ‘char’ [-Wchar-subscripts] 544 | if (usels[asels[*k]] == ((char)-1)) /* Unused */ | ~~~~~^~~~ -
spectro/disptechs.c:551:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] 551 | usels[osel[0]] = ix; | ~~~~^~~ -
spectro/disptechs.c:645:13: warning: unused variable ‘i’ [-Wunused-variable] 645 | int i; | ^ -
spectro/disptechs.c:831:35: warning: unused variable ‘t’ [-Wunused-variable] 831 | double el, dl, n, t; | ^ -
spectro/disptechs.c:831:32: warning: unused variable ‘n’ [-Wunused-variable] 831 | double el, dl, n, t; | ^ -
spectro/disptechs.c:831:24: warning: unused variable ‘el’ [-Wunused-variable] 831 | double el, dl, n, t; | ^~ -
spectro/disptechs.c:752:13: warning: unused variable ‘i’ [-Wunused-variable] 752 | int i, j; | ^ -
spectro/disptechs.c:644:13: warning: ‘rgbl2lab’ defined but not used [-Wunused-function] 644 | static void rgbl2lab(double *lab, double *rgbl) { | ^~~~~~~~ -
spectro/rspec.c:192:13: warning: unused variable ‘no’ [-Wunused-variable] 192 | int no; | ^~ -
spectro/rspec.c:399:16: warning: unused variable ‘j’ [-Wunused-variable] 399 | int i, j; | ^ -
spectro/rspec.c:399:13: warning: unused variable ‘i’ [-Wunused-variable] 399 | int i, j; | ^ -
spectro/rspec.c:490:16: warning: unused variable ‘dark’ [-Wunused-variable] 490 | rspec *dark; | ^~~~ -
spectro/rspec.c:532:20: warning: unused variable ‘inf’ [-Wunused-variable] 532 | rspec_inf *inf = raw->inf; | ^~~ -
spectro/rspec.c:781:37: warning: variable ‘rwl’ set but not used [-Wunused-but-set-variable=] 781 | double cwl, rwl; /* center, relative wavelegth */ | ^~~ -
spectro/rspec.c:888:22: warning: unused variable ‘ss’ [-Wunused-variable] 888 | double *xx, *ss; | ^~ -
icc/icc.c:7539:49: warning: ‘k’ may be used uninitialized [-Wmaybe-uninitialized] 7539 | op->printf(op," No. of Microsoft Halftone values = %u: \n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7540 | k+1, ssp->count); | ~~~~~~~~~~~~~~~~ -
spectro/dtp41.c:498:16: warning: unused variable ‘se’ [-Wunused-variable] 498 | int i, se; | ^~ -
spectro/dtp41.c:687:16: warning: unused variable ‘se’ [-Wunused-variable] 687 | int i, se; | ^~ -
spectro/dtp41.c:962:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 962 | if ((*calc & inst_calc_cond_mask) != inst_calc_uop_trans_white) | ^~ -
spectro/dtp41.c:1220:16: warning: unused variable ‘p’ [-Wunused-variable] 1220 | dtp41 *p = (dtp41 *)pp; | ^ -
icc/icc.c:5605:9: warning: ‘strncpy’ specified bound 4 equals destination size [-Wstringop-truncation] 5605 | strncpy(pstr, str, 4); | ^ -
spectro/dtp51.c:865:21: warning: unused variable ‘buf’ [-Wunused-variable] 865 | static char buf[MAX_MES_SIZE]; | ^~~ -
xicc/xlut.c:3069:44: warning: ‘maxd’ may be used uninitialized [-Wmaybe-uninitialized] 3069 | if (maxd < mind) { /* Subtractive */ | ^ -
xicc/xlut.c:3069:44: warning: ‘mind’ may be used uninitialized [-Wmaybe-uninitialized] 3069 | if (maxd < mind) { /* Subtractive */ | ^ -
spectro/dtp20.c:626:20: warning: unused variable ‘se’ [-Wunused-variable] 626 | int i, cs, se; | ^~ -
spectro/dtp20.c:869:13: warning: unused variable ‘se’ [-Wunused-variable] 869 | int se; | ^~ -
spectro/dtp20.c:1172:21: warning: unused variable ‘i’ [-Wunused-variable] 1172 | int i; | ^ -
spectro/dtp20.c:79:18: warning: ‘activate_mode’ declared ‘static’ but never defined [-Wunused-function] 79 | static inst_code activate_mode(dtp20 *p); | ^~~~~~~~~~~~~ -
spectro/i1disp.c:164:30: warning: variable ‘smsec’ set but not used [-Wunused-but-set-variable=] 164 | unsigned int smsec; | ^~~~~ -
spectro/i1disp.c:1375:13: warning: unused variable ‘i’ [-Wunused-variable] 1375 | int i; | ^ -
spectro/i1disp.c:1674:24: warning: unused variable ‘v’ [-Wunused-variable] 1674 | int i, v; | ^ -
spectro/i1disp.c:1674:21: warning: unused variable ‘i’ [-Wunused-variable] 1674 | int i, v; | ^ -
spectro/i1disp.c:2626:19: warning: unused variable ‘ev’ [-Wunused-variable] 2626 | inst_code ev; | ^~ -
spectro/i1pro.c:89:13: warning: unused variable ‘rsize’ [-Wunused-variable] 89 | int rsize, se; | ^~~~~ -
spectro/i1pro.c:712:18: warning: unused variable ‘mmode’ [-Wunused-variable] 712 | i1p_mode mmode = 0; /* Instrument measurement mode */ | ^~~~~ -
spectro/i1pro.c:896:27: warning: unused variable ‘rv’ [-Wunused-variable] 896 | inst_code rv; | ^~ -
spectro/i1pro_imp.h:541:19: warning: ‘i1pro_set_log_data’ declared ‘static’ but never defined [-Wunused-function] 541 | static i1pro_code i1pro_set_log_data(i1pro *p); | ^~~~~~~~~~~~~~~~~~ -
spectro/i1pro_imp.h:1011:1: warning: ‘i1pro_readmeasurement’ declared ‘static’ but never defined [-Wunused-function] 1011 | i1pro_readmeasurement( | ^~~~~~~~~~~~~~~~~~~~~ -
spectro/i1pro_imp.h:1086:1: warning: ‘i1pro2_delayed_trigger’ declared ‘static’ but never defined [-Wunused-function] 1086 | i1pro2_delayed_trigger(void *pp); | ^~~~~~~~~~~~~~~~~~~~~~ -
spectro/i1pro_imp.h:1107:1: warning: ‘i1pro2_stop_ruler’ declared ‘static’ but never defined [-Wunused-function] 1107 | i1pro2_stop_ruler(void *pp, int parm); | ^~~~~~~~~~~~~~~~~ -
spectro/i1pro_imp.h:1112:1: warning: ‘i1pro2_indLEDseq’ declared ‘static’ but never defined [-Wunused-function] 1112 | i1pro2_indLEDseq(void *pp, unsigned char *buf, int size); | ^~~~~~~~~~~~~~~~ -
spectro/i1pro_imp.h:1116:1: warning: ‘i1pro2_indLEDoff’ declared ‘static’ but never defined [-Wunused-function] 1116 | i1pro2_indLEDoff(void *pp); | ^~~~~~~~~~~~~~~~ -
spectro/i1d3.c:1054:3: warning: label ‘aio_done’ defined but not used [-Wunused-label] 1054 | aio_done:; | ^~~~~~~~ -
spectro/i1d3.c:1185:17: warning: unused variable ‘bins’ [-Wunused-variable] 1185 | double *bins[3]; /* PBPMS sample bins */ | ^~~~ -
spectro/i1d3.c:1184:13: warning: unused variable ‘nbins’ [-Wunused-variable] 1184 | int nbins; | ^~~~~ -
spectro/i1d3.c:1173:40: warning: unused variable ‘eutime’ [-Wunused-variable] 1173 | double sutime, putime, cutime, eutime; | ^~~~~~ -
spectro/i1d3.c:1701:13: warning: unused variable ‘mul’ [-Wunused-variable] 1701 | int mul; | ^~~ -
spectro/i1d3.c:2056:45: warning: unused variable ‘n’ [-Wunused-variable] 2056 | int n; | ^ -
spectro/i1d3.c:2096:56: warning: unused variable ‘tt’ [-Wunused-variable] 2096 | double tt; | ^~ -
spectro/i1d3.c:1726:16: warning: unused variable ‘k’ [-Wunused-variable] 1726 | int i, k; | ^ -
spectro/i1d3.c:2174:16: warning: unused variable ‘k’ [-Wunused-variable] 2174 | int i, k; | ^ -
spectro/i1d3.c:2888:13: warning: variable ‘nfailed’ set but not used [-Wunused-but-set-variable=] 2888 | int nfailed = 0; | ^~~~~~~ -
spectro/i1d3.c:2932:13: warning: unused variable ‘i’ [-Wunused-variable] 2932 | int i, stat; | ^ -
spectro/i1d3.c:3471:13: warning: unused variable ‘mtachdel’ [-Wunused-variable] 3471 | int mtachdel; | ^~~~~~~~ -
spectro/i1d3.c:3469:19: warning: unused variable ‘k’ [-Wunused-variable] 3469 | int i, j, k; | ^ -
spectro/i1d3.c:3469:16: warning: unused variable ‘j’ [-Wunused-variable] 3469 | int i, j, k; | ^ -
spectro/i1d3.c:4016:13: warning: unused variable ‘refrmode’ [-Wunused-variable] 4016 | int refrmode; | ^~~~~~~~ -
spectro/i1d3.c:4108:13: warning: unused variable ‘refrmode’ [-Wunused-variable] 4108 | int refrmode; | ^~~~~~~~ -
spectro/i1d3.c:4296:35: warning: unused variable ‘ev’ [-Wunused-variable] 4296 | inst_code ev = inst_ok; | ^~ -
spectro/i1d3.c:4332:21: warning: unused variable ‘i’ [-Wunused-variable] 4332 | int i; | ^ -
spectro/i1d3.c:4330:27: warning: unused variable ‘rv’ [-Wunused-variable] 4330 | inst_code rv; | ^~ -
spectro/i1d3.c:4254:19: warning: unused variable ‘ev’ [-Wunused-variable] 4254 | inst_code ev; | ^~ -
spectro/i1d3.c:4565:21: warning: unused variable ‘nix’ [-Wunused-variable] 4565 | int nix; | ^~~ -
spectro/i1d3.c:87:18: warning: ‘i1d3_check_unlock’ declared ‘static’ but never defined [-Wunused-function] 87 | static inst_code i1d3_check_unlock(i1d3 *p); | ^~~~~~~~~~~~~~~~~ -
spectro/i1d3.c:422:1: warning: ‘i1d3_get_info’ defined but not used [-Wunused-function] 422 | i1d3_get_info( | ^~~~~~~~~~~~~ -
spectro/i1d3.c:401:12: warning: ‘buf2int’ defined but not used [-Wunused-function] 401 | static int buf2int(unsigned char *buf) { | ^~~~~~~ -
spectro/i1pro_imp.c:500:13: warning: unused variable ‘len’ [-Wunused-variable] 500 | int len = 8192; | ^~~ -
spectro/i1pro_imp.c:1670:14: warning: argument 5 of type ‘char[200]’ with mismatched bound [-Warray-parameter=] 1670 | char id[CALIDLEN] /* Condition identifier (ie. white reference ID) */ | ~~~~~^~~~~~~~~~~~ -
spectro/i1pro_imp.c:1746:33: warning: unused variable ‘abswav’ [-Wunused-variable] 1746 | double *abswav; | ^~~~~~ -
spectro/i1pro_imp.c:2739:22: warning: unused variable ‘mm’ [-Wunused-variable] 2739 | int i, j, k, mm; | ^~ -
spectro/i1pro_imp.c:2738:22: warning: unused variable ‘s’ [-Wunused-variable] 2738 | i1pro_state *s = &m->ms[m->mmode]; | ^ -
spectro/i1pro_imp.c:2997:37: warning: unused variable ‘cerr’ [-Wunused-variable] 2997 | int cerr; | ^~~~ -
spectro/i1pro_imp.c:3897:36: warning: unused variable ‘mul’ [-Wunused-variable] 3897 | int split, mul, niia; | ^~~ -
spectro/i1pro_imp.c:3392:16: warning: variable ‘peakh’ set but not used [-Wunused-but-set-variable=] 3392 | double peakh[MAXPKS]; /* Peak heighheight */ | ^~~~~ -
spectro/i1pro_imp.c:4961:22: warning: unused variable ‘s’ [-Wunused-variable] 4961 | i1pro_state *s = &m->ms[m->mmode]; | ^ -
spectro/i1pro_imp.c:5099:13: warning: unused variable ‘rv’ [-Wunused-variable] 5099 | int rv; | ^~ -
spectro/i1pro_imp.c:5315:22: warning: unused variable ‘s’ [-Wunused-variable] 5315 | i1pro_state *s = &m->ms[m->mmode]; | ^ -
spectro/i1pro_imp.c:5472:13: warning: unused variable ‘rv’ [-Wunused-variable] 5472 | int rv = 0; | ^~ -
spectro/i1pro_imp.c:5470:22: warning: unused variable ‘s’ [-Wunused-variable] 5470 | i1pro_state *s = &m->ms[m->mmode]; | ^ -
spectro/i1pro_imp.c:5791:13: warning: unused variable ‘rv’ [-Wunused-variable] 5791 | int rv = 0; | ^~ -
spectro/i1pro_imp.c:5787:22: warning: unused variable ‘s’ [-Wunused-variable] 5787 | i1pro_state *s = &m->ms[m->mmode]; | ^ -
spectro/i1pro_imp.c:5838:13: warning: unused variable ‘rv’ [-Wunused-variable] 5838 | int rv = 0; | ^~ -
spectro/i1pro_imp.c:5835:22: warning: unused variable ‘s’ [-Wunused-variable] 5835 | i1pro_state *s = &m->ms[m->mmode]; | ^ -
spectro/i1pro_imp.c:6419:16: warning: unused variable ‘fval’ [-Wunused-variable] 6419 | double fval; | ^~~~ -
spectro/i1pro_imp.c:6416:19: warning: unused variable ‘k’ [-Wunused-variable] 6416 | int i, j, k; | ^ -
spectro/i1pro_imp.c:6416:16: warning: unused variable ‘j’ [-Wunused-variable] 6416 | int i, j, k; | ^ -
spectro/i1pro_imp.c:6416:13: warning: unused variable ‘i’ [-Wunused-variable] 6416 | int i, j, k; | ^ -
spectro/i1pro_imp.c:6463:16: warning: unused variable ‘avlastv’ [-Wunused-variable] 6463 | double avlastv = 0.0; | ^~~~~~~ -
spectro/i1pro_imp.c:6462:19: warning: unused variable ‘k’ [-Wunused-variable] 6462 | int i, j, k; | ^ -
spectro/i1pro_imp.c:6462:13: warning: unused variable ‘i’ [-Wunused-variable] 6462 | int i, j, k; | ^ -
spectro/i1pro_imp.c:7588:21: warning: variable ‘sample’ set but not used [-Wunused-but-set-variable=] 7588 | int sample = 0; | ^~~~~~ -
spectro/i1pro_imp.c:7428:22: warning: unused variable ‘pix’ [-Wunused-variable] 7428 | int i, j, k, pix; | ^~~ -
spectro/i1pro_imp.c:8237:51: warning: unused variable ‘refnm’ [-Wunused-variable] 8237 | double raw, wlnm, wlraw1, refnm; | ^~~~~ -
spectro/i1pro_imp.c:8087:13: warning: variable ‘roff’ set but not used [-Wunused-but-set-variable=] 8087 | int roff, moff; /* Base index */ | ^~~~ -
spectro/i1pro_imp.c:9244:21: warning: unused variable ‘ncp’ [-Wunused-variable] 9244 | int ncp = 0; /* Number of shape points */ | ^~~ -
spectro/i1pro_imp.c:9243:26: warning: unused variable ‘fshape’ [-Wunused-variable] 9243 | i1pro_fs fshape[100 * 16]; /* Existing filter shape */ | ^~~~~~ -
spectro/i1pro_imp.c:10049:21: warning: unused variable ‘hr’ [-Wunused-variable]
-
spectro/i1pro_imp.c:9231:16: warning: unused variable ‘twidth’ [-Wunused-variable] 9231 | double twidth = HIGHRES_WIDTH; | ^~~~~~ -
spectro/i1pro_imp.c:10351:13: warning: unused variable ‘i’ [-Wunused-variable]
-
spectro/i1pro_imp.c:10370:13: warning: unused variable ‘i’ [-Wunused-variable]
-
spectro/i1pro_imp.c:10388:20: warning: unused variable ‘ev’ [-Wunused-variable]
-
spectro/i1pro_imp.c:10537:20: warning: unused variable ‘ev’ [-Wunused-variable]
-
spectro/i1pro_imp.c:10616:22: warning: unused variable ‘s’ [-Wunused-variable]
-
spectro/i1pro_imp.c:10960:20: warning: unused variable ‘ev’ [-Wunused-variable]
-
spectro/i1pro_imp.c:11139:13: warning: variable ‘nfailed’ set but not used [-Wunused-but-set-variable=]
-
spectro/i1pro_imp.c:11303:13: warning: unused variable ‘i’ [-Wunused-variable]
-
spectro/i1pro_imp.c:11301:13: warning: unused variable ‘len’ [-Wunused-variable]
-
spectro/i1pro_imp.c:11300:23: warning: unused variable ‘pbuf’ [-Wunused-variable]
-
spectro/i1pro_imp.c:11299:13: warning: unused variable ‘rwbytes’ [-Wunused-variable]
-
spectro/i1pro_imp.c:11549:17: warning: unused variable ‘rv’ [-Wunused-variable]
-
spectro/i1pro_imp.c:12151:17: warning: unused variable ‘rv’ [-Wunused-variable]
-
spectro/i1pro_imp.c:12269:19: warning: unused variable ‘m’ [-Wunused-variable]
-
spectro/i1pro_imp.c:12322:19: warning: unused variable ‘m’ [-Wunused-variable]
-
spectro/i1pro_imp.c:12872:16: warning: unused variable ‘p’ [-Wunused-variable]
-
spectro/i1pro_imp.c:12900:16: warning: unused variable ‘p’ [-Wunused-variable]
-
spectro/dtp20.c:976:31: warning: ‘%03d’ directive writing between 3 and 11 bytes into a region of size 10 [-Wformat-overflow=] 976 | sprintf(cmd, "%03d01GM\r",p->savix); | ^~~~ -
spectro/i1pro_imp.c:13454:16: warning: unused variable ‘n’ [-Wunused-variable]
-
spectro/i1pro_imp.c:12362:1: warning: ‘i1pro2_indLEDoff’ defined but not used [-Wunused-function]
-
spectro/i1pro_imp.c:12267:1: warning: ‘i1pro2_stop_ruler’ defined but not used [-Wunused-function]
-
spectro/i1pro_imp.c:8946:15: warning: ‘lanczos2’ defined but not used [-Wunused-function] 8946 | static double lanczos2(double wi, double x) { | ^~~~~~~~ -
spectro/i1pro_imp.c:8925:15: warning: ‘lin_fshape’ defined but not used [-Wunused-function] 8925 | static double lin_fshape(i1pro_fs *fsh, int n, double x) { | ^~~~~~~~~~ -
spectro/i1pro_imp.c:4130:19: warning: ‘i1pro_set_log_data’ defined but not used [-Wunused-function] 4130 | static i1pro_code i1pro_set_log_data(i1pro *p) { | ^~~~~~~~~~~~~~~~~~ -
spectro/i1pro_imp.c:342:15: warning: ‘wav_lerp_cv’ defined but not used [-Wunused-function] 342 | static double wav_lerp_cv(i1proimp *m, int hires, double *ary, double wl, double cv) { | ^~~~~~~~~~~ -
spectro/i1pro3.c:85:13: warning: unused variable ‘rsize’ [-Wunused-variable] 85 | int rsize, se; | ^~~~~ -
spectro/i1pro3.c:680:19: warning: unused variable ‘mmode’ [-Wunused-variable] 680 | i1p3_mode mmode = 0; /* Instrument measurement mode */ | ^~~~~ -
spectro/i1pro3.c:957:27: warning: unused variable ‘rv’ [-Wunused-variable] 957 | inst_code rv; | ^~ -
spectro/i1pro3_imp.h:1139:15: warning: ‘i1pro3_raw2wav’ declared ‘static’ but never defined [-Wunused-function] 1139 | static double i1pro3_raw2wav(i1pro3 *p, int refl, double raw); | ^~~~~~~~~~~~~~ -
spectro/i1pro3_imp.h:1142:15: warning: ‘inv_raw2wav’ declared ‘static’ but never defined [-Wunused-function] 1142 | static double inv_raw2wav(double wl_cal[128], double inv); | ^~~~~~~~~~~ -
spectro/i1pro3_imp.h:1146:20: warning: ‘i1pro3_zebra_proc’ declared ‘static’ but never defined [-Wunused-function] 1146 | static i1pro3_code i1pro3_zebra_proc( | ^~~~~~~~~~~~~~~~~ -
spectro/i1pro3_imp.h:1402:1: warning: ‘i1pro3_gathermeasurement’ declared ‘static’ but never defined [-Wunused-function] 1402 | i1pro3_gathermeasurement( | ^~~~~~~~~~~~~~~~~~~~~~~~ -
spectro/i1pro3_imp.h:1418:1: warning: ‘i1pro3_gatherzebra’ declared ‘static’ but never defined [-Wunused-function] 1418 | i1pro3_gatherzebra( | ^~~~~~~~~~~~~~~~~~ -
spectro/i1pro3_imp.h:1458:12: warning: ‘i1pro3_indLEDseq’ declared ‘static’ but never defined [-Wunused-function] 1458 | static int i1pro3_indLEDseq(void *pp, unsigned char *buf, int size); | ^~~~~~~~~~~~~~~~ -
spectro/i1pro3_imp.h:1461:12: warning: ‘i1pro3_indLEDoff’ declared ‘static’ but never defined [-Wunused-function] 1461 | static int i1pro3_indLEDoff(void *pp); | ^~~~~~~~~~~~~~~~ -
spectro/dtp20.c:520:35: warning: ‘01TS’ directive writing 5 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 520 | sprintf(cmd, "%03d01TS\r",six); | ^~~~~~ -
spectro/i1pro3_imp.c:446:29: warning: unused variable ‘ev’ [-Wunused-variable] 446 | i1pro3_code ev; | ^~ -
spectro/i1pro3_imp.c:651:24: warning: unused variable ‘j’ [-Wunused-variable] 651 | int i, j; | ^ -
spectro/i1pro3_imp.c:1149:14: warning: argument 5 of type ‘char[200]’ with mismatched bound [-Warray-parameter=] 1149 | char id[CALIDLEN] /* Condition identifier (ie. white reference ID) */ | ~~~~~^~~~~~~~~~~~ -
spectro/i1pro3_imp.c:1210:33: warning: unused variable ‘abswav’ [-Wunused-variable] 1210 | double *abswav; | ^~~~~~ -
spectro/i1pro3_imp.c:1209:32: warning: unused variable ‘optscale’ [-Wunused-variable] 1209 | double optscale; | ^~~~~~~~ -
spectro/i1pro3_imp.c:1282:35: warning: unused variable ‘k’ [-Wunused-variable] 1282 | int i, j, k; | ^ -
spectro/i1pro3_imp.c:1280:29: warning: unused variable ‘refinst’ [-Wunused-variable] 1280 | int refinst = 0; | ^~~~~~~ -
spectro/i1pro3_imp.c:1397:35: warning: unused variable ‘k’ [-Wunused-variable] 1397 | int i, j, k; | ^ -
spectro/i1pro3_imp.c:1397:32: warning: unused variable ‘j’ [-Wunused-variable] 1397 | int i, j, k; | ^ -
spectro/i1pro3_imp.c:1396:29: warning: unused variable ‘refinst’ [-Wunused-variable] 1396 | int refinst = 0; | ^~~~~~~ -
spectro/i1pro3_imp.c:1158:16: warning: unused variable ‘k’ [-Wunused-variable] 1158 | int i, k; | ^ -
spectro/i1pro3_imp.c:1157:13: warning: unused variable ‘nummeas’ [-Wunused-variable] 1157 | int nummeas = 0; | ^~~~~~~ -
spectro/i1pro3_imp.c:1598:22: warning: unused variable ‘mm’ [-Wunused-variable] 1598 | int i, j, k, mm; | ^~ -
spectro/i1pro3_imp.c:1597:13: warning: unused variable ‘refinst’ [-Wunused-variable] 1597 | int refinst = 0; | ^~~~~~~ -
spectro/i1pro3_imp.c:1596:23: warning: unused variable ‘s’ [-Wunused-variable] 1596 | i1pro3_state *s = &m->ms[m->mmode]; | ^ -
spectro/i1pro3_imp.c:1830:37: warning: unused variable ‘cerr’ [-Wunused-variable] 1830 | int cerr; | ^~~~ -
spectro/i1pro3_imp.c:2600:36: warning: unused variable ‘mul’ [-Wunused-variable] 2600 | int split, mul, niia; | ^~~ -
spectro/i1pro3_imp.c:2094:16: warning: variable ‘peakh’ set but not used [-Wunused-but-set-variable=] 2094 | double peakh[MAXPKS]; /* Peak heighheight */ | ^~~~~ -
spectro/i1pro3_imp.c:2896:13: warning: unused variable ‘i’ [-Wunused-variable] 2896 | int i; | ^ -
spectro/i1pro3_imp.c:2968:16: warning: unused variable ‘j’ [-Wunused-variable] 2968 | int i, j; | ^ -
spectro/i1pro3_imp.c:2968:13: warning: unused variable ‘i’ [-Wunused-variable] 2968 | int i, j; | ^ -
spectro/i1pro3_imp.c:3115:26: warning: unused variable ‘sx’ [-Wunused-variable] 3115 | int i, j, k, cx, sx; | ^~ -
spectro/i1pro3_imp.c:3115:22: warning: unused variable ‘cx’ [-Wunused-variable] 3115 | int i, j, k, cx, sx; | ^~ -
spectro/i1pro3_imp.c:3115:19: warning: unused variable ‘k’ [-Wunused-variable] 3115 | int i, j, k, cx, sx; | ^ -
spectro/i1pro3_imp.c:3114:16: warning: unused variable ‘twidth’ [-Wunused-variable] 3114 | double twidth = HIGHRES_WIDTH; | ^~~~~~ -
spectro/i1pro3_imp.c:3113:13: warning: unused variable ‘refl’ [-Wunused-variable] 3113 | int refl; | ^~~~ -
spectro/i1pro3_imp.c:3492:32: warning: unused variable ‘tv’ [-Wunused-variable] 3492 | double tv = 0.0; | ^~ -
spectro/i1pro3_imp.c:3599:36: warning: unused variable ‘er’ [-Wunused-variable] 3599 | double wl, er; | ^~ -
spectro/i1pro3_imp.c:3937:23: warning: unused variable ‘s’ [-Wunused-variable] 3937 | i1pro3_state *s = &m->ms[m->mmode]; | ^ -
spectro/i1pro3_imp.c:4412:23: warning: unused variable ‘s’ [-Wunused-variable] 4412 | i1pro3_state *s = &m->ms[m->mmode]; | ^ -
spectro/i1pro3_imp.c:4681:23: warning: unused variable ‘s’ [-Wunused-variable] 4681 | i1pro3_state *s = &m->ms[m->mmode]; | ^ -
spectro/i1pro3_imp.c:4712:13: warning: unused variable ‘i’ [-Wunused-variable] 4712 | int i; | ^ -
spectro/i1pro3_imp.c:4731:13: warning: unused variable ‘i’ [-Wunused-variable] 4731 | int i; | ^ -
spectro/i1pro3_imp.c:4749:21: warning: unused variable ‘ev’ [-Wunused-variable] 4749 | i1pro3_code ev = I1PRO3_OK; | ^~ -
spectro/i1pro3_imp.c:4941:13: warning: variable ‘nfailed’ set but not used [-Wunused-but-set-variable=] 4941 | int nfailed = 0; | ^~~~~~~ -
spectro/i1pro3_imp.c:5426:17: warning: unused variable ‘rv’ [-Wunused-variable] 5426 | int se, rv = I1PRO3_OK; | ^~ -
spectro/i1pro3_imp.c:5708:13: warning: unused variable ‘ameas’ [-Wunused-variable] 5708 | int ameas = 0; /* actual measurements */ | ^~~~~ -
spectro/i1pro3_imp.c:6024:13: warning: unused variable ‘se’ [-Wunused-variable] 6024 | int se, rv = I1PRO3_OK; | ^~ -
spectro/i1pro3_imp.c:6023:23: warning: unused variable ‘pbuf’ [-Wunused-variable] 6023 | unsigned char pbuf[8]; /* 8 bytes to write */ | ^~~~ -
spectro/i1pro3_imp.c:6213:13: warning: unused variable ‘rv’ [-Wunused-variable] 6213 | int rv = I1PRO3_OK; | ^~ -
spectro/i1pro3_imp.c:7124:17: warning: unused variable ‘i’ [-Wunused-variable] 7124 | int ix, i; | ^ -
spectro/i1pro3_imp.c:7545:17: warning: unused variable ‘raw_wlmeas’ [-Wunused-variable] 7545 | double *raw_wlmeas, maxval; | ^~~~~~~~~~ -
spectro/i1pro3_imp.c:7540:23: warning: unused variable ‘s’ [-Wunused-variable] 7540 | i1pro3_state *s = &m->ms[m->mmode]; | ^ -
spectro/i1pro3_imp.c:8978:13: warning: unused variable ‘i’ [-Wunused-variable] 8978 | int i; | ^ -
spectro/i1pro3_imp.c:9097:41: warning: unused variable ‘m2’ [-Wunused-variable] 9097 | double *m0 = NULL, *m1 = NULL, *m2 = NULL; | ^~ -
spectro/i1pro3_imp.c:9097:29: warning: unused variable ‘m1’ [-Wunused-variable] 9097 | double *m0 = NULL, *m1 = NULL, *m2 = NULL; | ^~ -
spectro/i1pro3_imp.c:9097:17: warning: unused variable ‘m0’ [-Wunused-variable] 9097 | double *m0 = NULL, *m1 = NULL, *m2 = NULL; | ^~ -
spectro/i1pro3_imp.c:9579:13: warning: unused variable ‘i’ [-Wunused-variable] 9579 | int i; | ^ -
spectro/i1pro3_imp.c:10697:24: warning: unused variable ‘cons’ [-Wunused-variable]
-
spectro/i1pro3_imp.c:10696:24: warning: unused variable ‘avgoverth’ [-Wunused-variable]
-
spectro/i1pro3_imp.c:10695:24: warning: unused variable ‘minavg’ [-Wunused-variable]
-
spectro/i1pro3_imp.c:10694:24: warning: unused variable ‘maxavg’ [-Wunused-variable]
-
spectro/i1pro3_imp.c:10018:16: warning: unused variable ‘white_avg’ [-Wunused-variable]
-
spectro/i1pro3_imp.c:10016:16: warning: unused variable ‘highest’ [-Wunused-variable]
-
spectro/munki.c:735:17: warning: unused variable ‘mmode’ [-Wunused-variable] 735 | mk_mode mmode = 0; | ^~~~~ -
spectro/munki.c:752:19: warning: unused variable ‘cap’ [-Wunused-variable] 752 | inst_mode cap = p->cap; | ^~~ -
spectro/munki.c:1015:27: warning: unused variable ‘rv’ [-Wunused-variable] 1015 | inst_code rv; | ^~ -
spectro/munki_imp.h:644:1: warning: ‘munki_trigger_one_measure’ declared ‘static’ but never defined [-Wunused-function] 644 | munki_trigger_one_measure( | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
spectro/munki_imp.h:958:1: warning: ‘munki_readmeasurement’ declared ‘static’ but never defined [-Wunused-function] 958 | munki_readmeasurement( | ^~~~~~~~~~~~~~~~~~~~~ -
spectro/i1pro3_imp.c:11170:21: warning: unused variable ‘ev’ [-Wunused-variable]
-
spectro/i1pro3_imp.c:11254:13: warning: unused variable ‘i’ [-Wunused-variable]
-
spectro/i1pro3_imp.c:11417:21: warning: unused variable ‘ev’ [-Wunused-variable]
-
spectro/i1pro3_imp.c:11459:13: warning: unused variable ‘i’ [-Wunused-variable]
-
spectro/i1pro3_imp.c:11454:23: warning: unused variable ‘s’ [-Wunused-variable]
-
spectro/i1pro3_imp.c:11706:21: warning: variable ‘sample’ set but not used [-Wunused-but-set-variable=]
-
spectro/i1pro3_imp.c:11547:22: warning: unused variable ‘pix’ [-Wunused-variable]
-
spectro/i1pro3_imp.c:11844:13: warning: variable ‘maxi’ set but not used [-Wunused-but-set-variable=]
-
spectro/i1pro3_imp.c:11893:13: warning: variable ‘maxi’ set but not used [-Wunused-but-set-variable=]
-
spectro/i1pro3_imp.c:11973:13: warning: variable ‘maxi’ set but not used [-Wunused-but-set-variable=]
-
spectro/i1pro3_imp.c:12027:13: warning: variable ‘maxi’ set but not used [-Wunused-but-set-variable=]
-
spectro/i1pro3_imp.c:12311:20: warning: unused variable ‘m’ [-Wunused-variable]
-
xicc/xicc.c:2757:16: warning: ‘devchan’ may be used uninitialized [-Wmaybe-uninitialized] 2757 | int i, devchan; | ^~~~~~~ -
spectro/munki_imp.c:1012:14: warning: argument 5 of type ‘char[200]’ with mismatched bound [-Warray-parameter=] 1012 | char id[CALIDLEN] /* Condition identifier (ie. white reference ID) */ | ~~~~~^~~~~~~~~~~~ -
spectro/munki_imp.c:1823:13: warning: unused variable ‘isdeb’ [-Wunused-variable] 1823 | int isdeb; | ^~~~~ -
spectro/munki_imp.c:1817:16: warning: unused variable ‘ucalf’ [-Wunused-variable] 1817 | double ucalf = 1.0; /* usec_time calibration factor */ | ^~~~~ -
spectro/munki_imp.c:1813:22: warning: unused variable ‘mm’ [-Wunused-variable] 1813 | int i, j, k, mm; | ^~ -
spectro/munki_imp.c:1812:22: warning: unused variable ‘s’ [-Wunused-variable] 1812 | munki_state *s = &m->ms[m->mmode]; | ^ -
spectro/munki_imp.c:2080:37: warning: unused variable ‘cerr’ [-Wunused-variable] 2080 | int cerr; | ^~~~ -
spectro/i1pro3_imp.c:3273:13: warning: ‘linear_upsample’ defined but not used [-Wunused-function] 3273 | static void linear_upsample(i1pro3 *p, double *hi, double *lo, int clip, char *debug) { | ^~~~~~~~~~~~~~~ -
spectro/i1pro3_imp.c:2712:13: warning: ‘update_chsum’ defined but not used [-Wunused-function] 2712 | static void update_chsum(i1pnonv *x, unsigned char *p, int nn) { | ^~~~~~~~~~~~ -
spectro/munki_imp.c:3000:36: warning: unused variable ‘mul’ [-Wunused-variable] 3000 | int split, mul, niia; | ^~~ -
spectro/munki_imp.c:2494:16: warning: variable ‘peakh’ set but not used [-Wunused-but-set-variable=] 2494 | double peakh[MAXPKS]; /* Peak heighheight */ | ^~~~~ -
spectro/munki_imp.c:4623:16: warning: unused variable ‘satthresh’ [-Wunused-variable] 4623 | double satthresh; /* Saturation threshold */ | ^~~~~~~~~ -
spectro/munki_imp.c:4685:13: warning: unused variable ‘rv’ [-Wunused-variable] 4685 | int rv = 0; | ^~ -
spectro/munki_imp.c:4682:22: warning: unused variable ‘s’ [-Wunused-variable] 4682 | munki_state *s = &m->ms[m->mmode]; | ^ -
spectro/hcfr.c:90:21: warning: unused variable ‘ec’ [-Wunused-variable] 90 | int ec; | ^~ -
spectro/hcfr.c:87:13: warning: unused variable ‘rv’ [-Wunused-variable] 87 | int rv, se; | ^~ -
spectro/hcfr.c:104:13: warning: unused variable ‘rwbytes’ [-Wunused-variable] 104 | int rwbytes; /* Data bytes read or written */ | ^~~~~~~ -
spectro/hcfr.c:125:19: warning: unused variable ‘ev’ [-Wunused-variable] 125 | inst_code ev = inst_ok; | ^~ -
spectro/hcfr.c:366:17: warning: unused variable ‘i’ [-Wunused-variable] 366 | int bi, i, se; | ^ -
spectro/hcfr.c:366:13: warning: unused variable ‘bi’ [-Wunused-variable] 366 | int bi, i, se; | ^~ -
spectro/hcfr.c:365:14: warning: unused variable ‘etime’ [-Wunused-variable] 365 | long etime; | ^~~~~ -
spectro/hcfr.c:364:13: warning: unused variable ‘rsize’ [-Wunused-variable] 364 | int rsize; | ^~~~~ -
spectro/hcfr.c:408:21: warning: unused variable ‘buf’ [-Wunused-variable] 408 | static char buf[MAX_MES_SIZE]; | ^~~ -
spectro/munki_imp.c:5004:16: warning: unused variable ‘off’ [-Wunused-variable] 5004 | double off[] = { 0.7, 0.0, 0.6, -0.9, -0.8, -0.5 }; | ^~~ -
spectro/munki_imp.c:5002:16: warning: unused variable ‘pos’ [-Wunused-variable] 5002 | int pos[] = { 0, 20, 56, 62, 75, 127 }; | ^~~ -
spectro/munki_imp.c:4997:16: warning: variable ‘rawmax’ set but not used [-Wunused-but-set-variable=] 4997 | double rawmax, maxval = -1e38; | ^~~~~~ -
spectro/munki_imp.c:6235:21: warning: variable ‘sample’ set but not used [-Wunused-but-set-variable=] 6235 | int sample = 0; | ^~~~~~ -
spectro/hcfr.c:603:15: warning: unused variable ‘p’ [-Wunused-variable] 603 | hcfr *p = (hcfr *)pp; | ^ -
spectro/hcfr.c:651:15: warning: unused variable ‘p’ [-Wunused-variable] 651 | hcfr *p = (hcfr *)pp; | ^ -
spectro/hcfr.c:915:19: warning: unused variable ‘ev’ [-Wunused-variable] 915 | inst_code ev = inst_ok; | ^~ -
spectro/hcfr.c:120:1: warning: ‘hcfr_flush’ defined but not used [-Wunused-function] 120 | hcfr_flush( | ^~~~~~~~~~ -
spectro/munki_imp.c:7514:33: warning: unused variable ‘jj’ [-Wunused-variable] 7514 | int ii, jj; | ^~ -
spectro/munki_imp.c:6600:13: warning: unused variable ‘ncp’ [-Wunused-variable] 6600 | int ncp = 0; /* Number of shape points */ | ^~~ -
spectro/munki_imp.c:6599:18: warning: unused variable ‘fshape’ [-Wunused-variable] 6599 | munki_fs fshape[40 * 16]; /* Existing filter shape */ | ^~~~~~ -
spectro/munki_imp.c:8038:20: warning: unused variable ‘ev’ [-Wunused-variable] 8038 | munki_code ev = MUNKI_OK; | ^~ -
spectro/munki_imp.c:8177:22: warning: unused variable ‘s’ [-Wunused-variable] 8177 | munki_state *s = &m->ms[m->mmode]; | ^ -
spectro/munki_imp.c:8264:20: warning: unused variable ‘ev’ [-Wunused-variable] 8264 | munki_code ev = MUNKI_OK; | ^~ -
spectro/munki_imp.c:8465:13: warning: variable ‘nfailed’ set but not used [-Wunused-but-set-variable=] 8465 | int nfailed = 0; | ^~~~~~~ -
spectro/munki_imp.c:8687:14: warning: argument 2 of type ‘char[100]’ with mismatched bound [-Warray-parameter=] 8687 | char vstring[100] | ~~~~~^~~~~~~~~~~~ -
spectro/munki_imp.c:6527:15: warning: ‘lin_fshape’ defined but not used [-Wunused-function] 6527 | static double lin_fshape(munki_fs *fsh, int n, double x) { | ^~~~~~~~~~ -
spectro/munki_imp.c:449:13: warning: ‘short2buf’ defined but not used [-Wunused-function] 449 | static void short2buf(unsigned char *buf, int inv) { | ^~~~~~~~~ -
spectro/hcfr.c:234:9: warning: ‘strncpy’ output may be truncated copying 3 bytes from a string of length 493 [-Wstringop-truncation] 234 | strncpy(vbuf, bp, 3); div = (double)atoi(vbuf); bp += 3; | ^ -
spectro/hcfr.c:236:9: warning: ‘strncpy’ output may be truncated copying 3 bytes from a string of length 490 [-Wstringop-truncation] 236 | strncpy(vbuf, bp, 3); mul = (double)atoi(vbuf); bp += 3; | ^ -
spectro/hcfr.c:242:17: warning: ‘strncpy’ output may be truncated copying 3 bytes from a string of length 487 [-Wstringop-truncation] 242 | strncpy(vbuf, bp, 3); den = atoi(vbuf); bp += 3; | ^ -
spectro/spyd2.c:1631:13: warning: unused variable ‘i’ [-Wunused-variable] 1631 | int i; | ^ -
spectro/spyd2.c:2841:17: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 2841 | for (j = 0; j < 41; j++) | ^~~ -
spectro/spyd2.c:1432:21: warning: ‘spyd4_crc32’ defined but not used [-Wunused-function] 1432 | static unsigned int spyd4_crc32(unsigned char *data, int len) { | ^~~~~~~~~~~ -
spectro/spyd2.c:1268:1: warning: ‘spyd2_ReadRegister’ defined but not used [-Wunused-function] 1268 | spyd2_ReadRegister( | ^~~~~~~~~~~~~~~~~~ -
spectro/spyd2.c:1185:1: warning: ‘spyd2_ReadTempConfig’ defined but not used [-Wunused-function] 1185 | spyd2_ReadTempConfig( | ^~~~~~~~~~~~~~~~~~~~ -
spectro/spyd2.c:160:12: warning: ‘buf2short’ defined but not used [-Wunused-function] 160 | static int buf2short(unsigned char *buf) { | ^~~~~~~~~ -
spectro/i1d3.c:487:9: warning: ‘strncpy’ output may be truncated copying 31 bytes from a string of length 61 [-Wstringop-truncation] 487 | strncpy((char *)rv, (char *)fromdev + 2, 31); | ^ -
spectro/i1d3.c:533:9: warning: ‘strncpy’ output may be truncated copying 31 bytes from a string of length 61 [-Wstringop-truncation] 533 | strncpy((char *)rv, (char *)fromdev + 2, 31); | ^ -
spectro/i1d3.c:616:9: warning: ‘strncpy’ output may be truncated copying 31 bytes from a string of length 61 [-Wstringop-truncation] 616 | strncpy((char *)rv, (char *)fromdev + 2, 31); | ^ -
spectro/spydX.c:490:13: warning: unused variable ‘i’ [-Wunused-variable] 490 | int i; | ^ -
spectro/spydX.c:579:39: warning: unused variable ‘amb’ [-Wunused-variable] 579 | double cpl, lux1, lux2, tlux, amb; | ^~~ -
spectro/spydX.c:724:13: warning: unused variable ‘i’ [-Wunused-variable] 724 | int i; | ^ -
spectro/spydX.c:723:13: warning: unused variable ‘stat’ [-Wunused-variable] 723 | int stat; | ^~~~ -
spectro/spydX.c:950:13: warning: unused variable ‘ec’ [-Wunused-variable] 950 | int ec; | ^~ -
spectro/spydX.c:1103:16: warning: unused variable ‘p’ [-Wunused-variable] 1103 | spydX *p = (spydX *)pp; | ^ -
spectro/spydX.c:1414:19: warning: unused variable ‘ev’ [-Wunused-variable] 1414 | inst_code ev = inst_ok; | ^~ -
spectro/spydX.c:1496:13: warning: unused variable ‘i’ [-Wunused-variable] 1496 | int i; | ^ -
spectro/spydX.c:1541:16: warning: unused variable ‘j’ [-Wunused-variable] 1541 | int i, j; | ^ -
spectro/spydX.c:1541:13: warning: unused variable ‘i’ [-Wunused-variable] 1541 | int i, j; | ^ -
spectro/spydX.c:1616:13: warning: unused variable ‘rv’ [-Wunused-variable] 1616 | int rv; | ^~ -
spectro/spydX.c:1614:13: warning: unused variable ‘ev’ [-Wunused-variable] 1614 | int ev = SPYDX_OK; | ^~ -
spectro/spydX2.c:493:22: warning: unused variable ‘ci’ [-Wunused-variable] 493 | SpX2calinfo *ci = &p->cinfo[p->ix]; | ^~ -
spectro/spydX2.c:546:13: warning: unused variable ‘i’ [-Wunused-variable] 546 | int i; | ^ -
spectro/spydX2.c:654:39: warning: unused variable ‘amb’ [-Wunused-variable] 654 | double cpl, lux1, lux2, tlux, amb; | ^~~ -
spectro/spydX2.c:799:13: warning: unused variable ‘i’ [-Wunused-variable] 799 | int i; | ^ -
spectro/spydX2.c:798:13: warning: unused variable ‘stat’ [-Wunused-variable] 798 | int stat; | ^~~~ -
spectro/spydX2.c:1031:13: warning: unused variable ‘ec’ [-Wunused-variable] 1031 | int ec; | ^~ -
spectro/spydX2.c:1191:17: warning: unused variable ‘p’ [-Wunused-variable] 1191 | spydX2 *p = (spydX2 *)pp; | ^ -
spectro/spydX2.c:1614:19: warning: unused variable ‘ev’ [-Wunused-variable] 1614 | inst_code ev = inst_ok; | ^~ -
spectro/spydX2.c:1705:13: warning: unused variable ‘i’ [-Wunused-variable] 1705 | int i; | ^ -
spectro/spydX2.c:1750:16: warning: unused variable ‘j’ [-Wunused-variable] 1750 | int i, j; | ^ -
spectro/spydX2.c:1750:13: warning: unused variable ‘i’ [-Wunused-variable] 1750 | int i, j; | ^ -
spectro/spydX2.c:1825:13: warning: unused variable ‘rv’ [-Wunused-variable] 1825 | int rv; | ^~ -
spectro/spydX2.c:1823:13: warning: unused variable ‘ev’ [-Wunused-variable] 1823 | int ev = SPYDX2_OK; | ^~ -
spectro/i1pro3_imp.c:5776:9: warning: ‘se’ may be used uninitialized [-Wmaybe-uninitialized] 5776 | a1logd(p->log,2,"i1pro3_gatherzebra: read %d bytes ICOM err 0x%x (%d msec)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5777 | asize, se, msec_time()-stime); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
spectro/huey.c:173:13: warning: unused variable ‘i’ [-Wunused-variable] 173 | int i; | ^ -
spectro/huey.c:307:13: warning: unused variable ‘rsize’ [-Wunused-variable] 307 | int rsize; | ^~~~~ -
spectro/huey.c:415:13: warning: unused variable ‘rsize’ [-Wunused-variable] 415 | int rsize; | ^~~~~ -
spectro/huey.c:413:13: warning: unused variable ‘cval’ [-Wunused-variable] 413 | int cval; | ^~~~ -
spectro/huey.c:482:13: warning: unused variable ‘rsize’ [-Wunused-variable] 482 | int rsize; | ^~~~~ -
spectro/huey.c:502:13: warning: unused variable ‘rsize’ [-Wunused-variable] 502 | int rsize; | ^~~~~ -
spectro/huey.c:523:13: warning: unused variable ‘i’ [-Wunused-variable] 523 | int i; | ^ -
spectro/huey.c:562:13: warning: unused variable ‘rsize’ [-Wunused-variable] 562 | int rsize; | ^~~~~ -
spectro/huey.c:559:13: warning: unused variable ‘i’ [-Wunused-variable] 559 | int i; | ^ -
spectro/huey.c:602:13: warning: unused variable ‘rsize’ [-Wunused-variable] 602 | int rsize; | ^~~~~ -
spectro/huey.c:599:13: warning: unused variable ‘i’ [-Wunused-variable] 599 | int i; | ^ -
spectro/huey.c:649:16: warning: unused variable ‘j’ [-Wunused-variable] 649 | int i, j; | ^ -
spectro/huey.c:755:13: warning: unused variable ‘rsize’ [-Wunused-variable] 755 | int rsize; | ^~~~~ -
spectro/huey.c:752:13: warning: unused variable ‘i’ [-Wunused-variable] 752 | int i; | ^ -
spectro/huey.c:807:13: warning: unused variable ‘i’ [-Wunused-variable] 807 | int i; | ^ -
spectro/huey.c:880:16: warning: unused variable ‘ver’ [-Wunused-variable] 880 | double ver; | ^~~ -
spectro/huey.c:879:13: warning: unused variable ‘vv’ [-Wunused-variable] 879 | int vv; | ^~ -
spectro/huey.c:877:13: warning: unused variable ‘rsize’ [-Wunused-variable] 877 | int rsize; | ^~~~~ -
spectro/huey.c:1017:13: warning: unused variable ‘i’ [-Wunused-variable] 1017 | int i; | ^ -
spectro/huey.c:1052:24: warning: unused variable ‘rv’ [-Wunused-variable] 1052 | int bi, i, se, rv; | ^~ -
spectro/huey.c:1052:17: warning: unused variable ‘i’ [-Wunused-variable] 1052 | int bi, i, se, rv; | ^ -
spectro/huey.c:1052:13: warning: unused variable ‘bi’ [-Wunused-variable] 1052 | int bi, i, se, rv; | ^~ -
spectro/huey.c:1051:14: warning: unused variable ‘etime’ [-Wunused-variable] 1051 | long etime; | ^~~~~ -
spectro/huey.c:1050:13: warning: unused variable ‘rsize’ [-Wunused-variable] 1050 | int rsize; | ^~~~~ -
spectro/huey.c:1440:15: warning: unused variable ‘p’ [-Wunused-variable] 1440 | huey *p = (huey *)pp; | ^ -
spectro/huey.c:1704:19: warning: unused variable ‘ev’ [-Wunused-variable] 1704 | inst_code ev = inst_ok; | ^~ -
spectro/huey.c:594:1: warning: ‘huey_take_raw_measurement_3’ defined but not used [-Wunused-function] 594 | huey_take_raw_measurement_3( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -
spectro/huey.c:497:1: warning: ‘huey_wr_int_time’ defined but not used [-Wunused-function] 497 | huey_wr_int_time( | ^~~~~~~~~~~~~~~~ -
spectro/huey.c:460:1: warning: ‘huey_wrreg_float’ defined but not used [-Wunused-function] 460 | huey_wrreg_float( | ^~~~~~~~~~~~~~~~ -
spectro/huey.c:330:1: warning: ‘huey_rdreg_short’ defined but not used [-Wunused-function] 330 | huey_rdreg_short( | ^~~~~~~~~~~~~~~~ -
spectro/i1pro3_imp.c:3916:22: warning: ‘lhalf’ may be used uninitialized [-Wmaybe-uninitialized] 3916 | raw = (127.0 - raw)/127.0; | ~~~~~~~^~~~~~ -
spectro/i1pro3_imp.c:3916:22: warning: ‘rhalf’ may be used uninitialized [-Wmaybe-uninitialized] 3916 | raw = (127.0 - raw)/127.0; | ~~~~~~~^~~~~~ -
spectro/colorhug.c:160:13: warning: unused variable ‘i’ [-Wunused-variable] 160 | int i; | ^ -
spectro/colorhug.c:341:13: warning: unused variable ‘i’ [-Wunused-variable] 341 | int i; | ^ -
spectro/colorhug.c:590:13: warning: unused variable ‘i’ [-Wunused-variable] 590 | int i; | ^ -
spectro/colorhug.c:864:19: warning: unused variable ‘p’ [-Wunused-variable] 864 | colorhug *p = (colorhug *)pp; | ^ -
spectro/colorhug.c:1169:19: warning: unused variable ‘ev’ [-Wunused-variable] 1169 | inst_code ev = inst_ok; | ^~ -
spectro/colorhug.c:1228:13: warning: unused variable ‘i’ [-Wunused-variable] 1228 | int i; | ^ -
spectro/colorhug.c:321:21: warning: ‘buf2ushort_le’ defined but not used [-Wunused-function] 321 | static unsigned int buf2ushort_le(unsigned char *buf) { | ^~~~~~~~~~~~~ -
spectro/colorhug.c:287:13: warning: ‘ushort2buf_le’ defined but not used [-Wunused-function] 287 | static void ushort2buf_le(unsigned char *buf, unsigned int inv) { | ^~~~~~~~~~~~~ -
spectro/colorhug.c:273:13: warning: ‘uint2buf_le’ defined but not used [-Wunused-function] 273 | static void uint2buf_le(unsigned char *buf, unsigned int inv) { | ^~~~~~~~~~~ -
spectro/colorhug.c:265:13: warning: ‘int2buf_le’ defined but not used [-Wunused-function] 265 | static void int2buf_le(unsigned char *buf, int inv) { | ^~~~~~~~~~ -
spectro/i1pro3_imp.c:5035:17: warning: ‘strncpy’ output may be truncated copying between 0 and 49 bytes from a string of length 56 [-Wstringop-truncation] 5035 | strncpy(str, (char *)&pbuf[6], strl); | ^ -
spectro/ex1.c:165:19: warning: unused variable ‘ev’ [-Wunused-variable] 165 | inst_code ev = inst_ok; | ^~ -
spectro/ex1.c:162:18: warning: unused variable ‘dtype’ [-Wunused-variable] 162 | instType dtype = pp->dtype; | ^~~~~ -
spectro/ex1.c:485:13: warning: unused variable ‘pos’ [-Wunused-variable] 485 | int pos = -1; | ^~~ -
spectro/ex1.c:764:24: warning: unused variable ‘raw’ [-Wunused-variable] 764 | rspec *raw; | ^~~ -
spectro/ex1.c:763:27: warning: unused variable ‘k’ [-Wunused-variable] 763 | int i, j, k; | ^ -
spectro/ex1.c:763:24: warning: unused variable ‘j’ [-Wunused-variable] 763 | int i, j, k; | ^ -
spectro/ex1.c:763:21: warning: unused variable ‘i’ [-Wunused-variable] 763 | int i, j, k; | ^ -
spectro/ex1.c:1072:14: warning: unused variable ‘p’ [-Wunused-variable] 1072 | ex1 *p = (ex1 *)pp; | ^ -
spectro/ex1.c:1102:19: warning: unused variable ‘ev’ [-Wunused-variable] 1102 | inst_code ev; | ^~ -
spectro/ex1.c:1101:14: warning: unused variable ‘p’ [-Wunused-variable] 1101 | ex1 *p = (ex1 *)pp; | ^ -
spectro/ex1.c:1151:13: warning: unused variable ‘refrmode’ [-Wunused-variable] 1151 | int refrmode; | ^~~~~~~~ -
spectro/ex1.c:1182:19: warning: unused variable ‘ev’ [-Wunused-variable] 1182 | inst_code ev = inst_ok; | ^~ -
spectro/ex1.c:1271:13: warning: unused variable ‘i’ [-Wunused-variable] 1271 | int i; | ^ -
spectro/ex1.c:1317:16: warning: unused variable ‘j’ [-Wunused-variable] 1317 | int i, j; | ^ -
spectro/ex1.c:1317:13: warning: unused variable ‘i’ [-Wunused-variable] 1317 | int i, j; | ^ -
spectro/ex1.c:1391:13: warning: unused variable ‘rv’ [-Wunused-variable] 1391 | int rv; | ^~ -
spectro/ex1.c:1389:13: warning: unused variable ‘ev’ [-Wunused-variable] 1389 | int ev = EX1_OK; | ^~ -
spectro/hidio.c:1080:57: warning: ‘/*’ within comment [-Wcomment] 1080 | 9, /* Bulk or Interrupt transfer ??? - or wbuf[0] ?? */
-
spectro/ex1.c:1620:22: warning: variable ‘regarding’ set but not used [-Wunused-but-set-variable=] 1620 | unsigned int regarding = 0; | ^~~~~~~~~ -
spectro/ex1.c:1619:22: warning: unused variable ‘tlc’ [-Wunused-variable] 1619 | unsigned int tlc = 0; /* Top level message category */ | ^~~ -
spectro/ex1.c:1618:22: warning: variable ‘mestype’ set but not used [-Wunused-but-set-variable=] 1618 | unsigned int mestype = 0; | ^~~~~~~ -
spectro/ex1.c:2584:13: warning: variable ‘stime’ set but not used [-Wunused-but-set-variable=] 2584 | int stime; | ^~~~~ -
spectro/ex1.c:2473:12: warning: ‘ex1_set_strobe_period’ defined but not used [-Wunused-function] 2473 | static int ex1_set_strobe_period(ex1 *p, double *qstbper, double stbper) { | ^~~~~~~~~~~~~~~~~~~~~ -
spectro/usbio_lx.c:114:40: warning: unused variable ‘inface’ [-Wunused-variable] 114 | unsigned int ninfaces, inface, nep; | ^~~~~~ -
spectro/usbio_lx.c:114:30: warning: variable ‘ninfaces’ set but not used [-Wunused-but-set-variable=] 114 | unsigned int ninfaces, inface, nep; | ^~~~~~~~ -
spectro/usbio_lx.c:234:18: warning: unused variable ‘pid’ [-Wunused-variable] 234 | int vid, pid; | ^~~ -
spectro/usbio_lx.c:234:13: warning: unused variable ‘vid’ [-Wunused-variable] 234 | int vid, pid; | ^~~ -
spectro/usbio_lx.c:369:31: warning: unused variable ‘buf’ [-Wunused-variable] 369 | unsigned char buf[8+IUSB_DESC_TYPE_DEVICE_SIZE]; | ^~~ -
spectro/usbio_lx.c:368:37: warning: unused variable ‘urb’ [-Wunused-variable] 368 | struct usbdevfs_urb urb; | ^~~ -
spectro/usbio_lx.c:427:13: warning: unused variable ‘rv’ [-Wunused-variable] 427 | int rv, tries = 0; | ^~ -
spectro/usbio_lx.c:643:16: warning: variable ‘rv’ set but not used [-Wunused-but-set-variable=] 643 | int i, rv = ICOM_OK; | ^~ -
spectro/usbio.c:332:13: warning: variable ‘rv’ set but not used [-Wunused-but-set-variable=] 332 | int rv = 0; | ^~ -
spectro/usbio.c:548:21: warning: unused variable ‘c’ [-Wunused-variable] 548 | int c, rv; | ^ -
spectro/i1pro_imp.c:7019:21: warning: ‘lead_avg’ may be used uninitialized [-Wmaybe-uninitialized] 7019 | if (lead_avg/trail_avg < 0.7 || trail_avg/lead_avg < 0.7) { | ~~~~~~~~^~~~~~~~~~ -
spectro/i1pro_imp.c:7019:21: warning: ‘trail_avg’ may be used uninitialized [-Wmaybe-uninitialized] 7019 | if (lead_avg/trail_avg < 0.7 || trail_avg/lead_avg < 0.7) { | ~~~~~~~~^~~~~~~~~~ -
spectro/i1pro_imp.c:7206:17: warning: ‘fpat’ may be used uninitialized [-Wmaybe-uninitialized] 7206 | a1logd(p->log,6,"Got %d patches out of potential %d, want %d:\n",fpat, npat, tnpatch); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
spectro/specbos.c:221:15: warning: unused variable ‘cp’ [-Wunused-variable] 221 | char *cp, *tc = "\r\006\025"; /* Return, Ack or Nak */ | ^~ -
spectro/specbos.c:220:13: warning: unused variable ‘rv’ [-Wunused-variable] 220 | int rv, se; | ^~ -
spectro/specbos.c:241:18: warning: unused variable ‘dtype’ [-Wunused-variable] 241 | instType dtype = pp->dtype; | ^~~~~ -
spectro/specbos.c:531:13: warning: variable ‘nfailed’ set but not used [-Wunused-but-set-variable=] 531 | int nfailed = 0; | ^~~~~~~ -
spectro/specbos.c:1339:35: warning: unused variable ‘xsize’ [-Wunused-variable] 1339 | int ii,i, xsize; | ^~~~~ -
spectro/specbos.c:1475:32: warning: unused variable ‘vv’ [-Wunused-variable] 1475 | double vv; | ^~ -
spectro/specbos.c:1489:39: warning: unused variable ‘k’ [-Wunused-variable] 1489 | int i, ii, j, k; | ^ -
spectro/specbos.c:1699:14: warning: unused variable ‘buf’ [-Wunused-variable] 1699 | char buf[MAX_MES_SIZE]; | ^~~ -
spectro/specbos.c:1736:16: warning: unused variable ‘pval’ [-Wunused-variable] 1736 | double pval; | ^~~~ -
spectro/specbos.c:1735:13: warning: unused variable ‘mul’ [-Wunused-variable] 1735 | int mul; | ^~~ -
spectro/specbos.c:1869:21: warning: unused variable ‘i’ [-Wunused-variable] 1869 | int i; | ^ -
spectro/specbos.c:2481:19: warning: unused variable ‘rv’ [-Wunused-variable] 2481 | inst_code rv = inst_ok; | ^~ -
spectro/specbos.c:214:1: warning: ‘specbos_readresp’ defined but not used [-Wunused-function] 214 | specbos_readresp( | ^~~~~~~~~~~~~~~~ -
spectro/kleink10.c:362:15: warning: unused variable ‘cp’ [-Wunused-variable] 362 | char *cp; | ^~ -
spectro/kleink10.c:360:18: warning: unused variable ‘dtype’ [-Wunused-variable] 360 | instType dtype = pp->dtype; | ^~~~~ -
spectro/kleink10.c:470:13: warning: unused variable ‘se’ [-Wunused-variable] 470 | int se; | ^~ -
spectro/kleink10.c:467:14: warning: unused variable ‘mes’ [-Wunused-variable] 467 | char mes[100]; | ^~~ -
spectro/kleink10.c:599:13: warning: unused variable ‘tt’ [-Wunused-variable] 599 | int tt; | ^~ -
spectro/kleink10.c:598:28: warning: unused variable ‘r3’ [-Wunused-variable] 598 | int t, r0, r1, r2, r3; | ^~ -
spectro/kleink10.c:598:24: warning: unused variable ‘r2’ [-Wunused-variable] 598 | int t, r0, r1, r2, r3; | ^~ -
spectro/kleink10.c:598:20: warning: unused variable ‘r1’ [-Wunused-variable] 598 | int t, r0, r1, r2, r3; | ^~ -
spectro/kleink10.c:598:16: warning: unused variable ‘r0’ [-Wunused-variable] 598 | int t, r0, r1, r2, r3; | ^~ -
spectro/kleink10.c:598:13: warning: unused variable ‘t’ [-Wunused-variable] 598 | int t, r0, r1, r2, r3; | ^ -
spectro/kleink10.c:730:13: warning: unused variable ‘se’ [-Wunused-variable] 730 | int se; | ^~ -
spectro/kleink10.c:1025:21: warning: unused variable ‘se’ [-Wunused-variable] 1025 | int se; | ^~ -
spectro/kleink10.c:1489:16: warning: variable ‘peakh’ set but not used [-Wunused-but-set-variable=] 1489 | double peakh[MAXPKS]; /* Peak heighheight */ | ^~~~~ -
spectro/kleink10.c:1476:16: warning: variable ‘maxt’ set but not used [-Wunused-but-set-variable=] 1476 | double maxt; /* Time range */ | ^~~~ -
spectro/kleink10.c:1467:22: warning: unused variable ‘mm’ [-Wunused-variable] 1467 | int i, j, k, mm; | ^~ -
spectro/kleink10.c:1918:14: warning: unused variable ‘buf’ [-Wunused-variable] 1918 | char buf[MAX_MES_SIZE]; | ^~~ -
spectro/kleink10.c:1965:40: warning: unused variable ‘eutime’ [-Wunused-variable] 1965 | double sutime, putime, cutime, eutime; | ^~~~~~ -
spectro/kleink10.c:1965:24: warning: variable ‘putime’ set but not used [-Wunused-but-set-variable=] 1965 | double sutime, putime, cutime, eutime; | ^~~~~~ -
spectro/kleink10.c:1965:16: warning: unused variable ‘sutime’ [-Wunused-variable] 1965 | double sutime, putime, cutime, eutime; | ^~~~~~ -
spectro/kleink10.c:1964:19: warning: unused variable ‘k’ [-Wunused-variable] 1964 | int i, j, k; | ^ -
spectro/kleink10.c:1964:16: warning: unused variable ‘j’ [-Wunused-variable] 1964 | int i, j, k; | ^ -
spectro/kleink10.c:2151:19: warning: unused variable ‘ev’ [-Wunused-variable] 2151 | inst_code ev; | ^~ -
spectro/kleink10.c:2242:17: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 2242 | for (i = 0; i < 6; i++) | ^~~ -
spectro/kleink10.c:2272:19: warning: unused variable ‘p’ [-Wunused-variable] 2272 | kleink10 *p = (kleink10 *)pp; | ^ -
spectro/kleink10.c:2354:19: warning: unused variable ‘p’ [-Wunused-variable] 2354 | kleink10 *p = (kleink10 *)pp; | ^ -
spectro/kleink10.c:2491:19: warning: unused variable ‘p’ [-Wunused-variable] 2491 | kleink10 *p = (kleink10 *)pp; | ^ -
spectro/kleink10.c:2548:13: warning: unused variable ‘refrmode’ [-Wunused-variable] 2548 | int refrmode; | ^~~~~~~~ -
spectro/kleink10.c:2800:30: warning: unused variable ‘lstate’ [-Wunused-variable] 2800 | int *pstate, lstate = 0; | ^~~~~~ -
spectro/kleink10.c:2781:13: warning: unused variable ‘se’ [-Wunused-variable] 2781 | int se; | ^~ -
spectro/smcube.c:207:18: warning: unused variable ‘dtype’ [-Wunused-variable] 207 | instType dtype = pp->dtype; | ^~~~~ -
spectro/smcube.c:306:13: warning: variable ‘nfailed’ set but not used [-Wunused-but-set-variable=] 306 | int nfailed = 0; | ^~~~~~~ -
spectro/smcube.c:365:19: warning: unused variable ‘rv’ [-Wunused-variable] 365 | inst_code rv = inst_ok; | ^~ -
spectro/smcube.c:386:13: warning: unused variable ‘ver’ [-Wunused-variable] 386 | int ver; | ^~~ -
spectro/smcube.c:385:19: warning: unused variable ‘ev’ [-Wunused-variable] 385 | inst_code ev = inst_ok; | ^~ -
spectro/smcube.c:384:14: warning: unused variable ‘mes’ [-Wunused-variable] 384 | char mes[100]; | ^~~ -
spectro/smcube.c:473:29: warning: unused variable ‘cerr’ [-Wunused-variable] 473 | int cerr; | ^~~~ -
spectro/smcube.c:451:13: warning: unused variable ‘ec’ [-Wunused-variable] 451 | int ec; | ^~ -
spectro/smcube.c:877:17: warning: unused variable ‘p’ [-Wunused-variable] 877 | smcube *p = (smcube *)pp; | ^ -
spectro/smcube.c:928:13: warning: unused variable ‘refrmode’ [-Wunused-variable] 928 | int refrmode; | ^~~~~~~~ -
spectro/smcube.c:988:19: warning: unused variable ‘rv’ [-Wunused-variable] 988 | inst_code rv = inst_ok; | ^~ -
spectro/smcube.c:987:17: warning: unused variable ‘p’ [-Wunused-variable] 987 | smcube *p = (smcube *)pp; | ^ -
spectro/smcube.c:1002:13: warning: unused variable ‘refrmode’ [-Wunused-variable] 1002 | int refrmode; | ^~~~~~~~ -
spectro/smcube.c:1001:19: warning: unused variable ‘rv’ [-Wunused-variable] 1001 | inst_code rv; | ^~ -
spectro/smcube.c:1114:25: warning: unused variable ‘args’ [-Wunused-variable] 1114 | va_list args; | ^~~~ -
spectro/smcube.c:1070:19: warning: unused variable ‘ev’ [-Wunused-variable] 1070 | inst_code ev = inst_ok; | ^~ -
spectro/smcube.c:1184:13: warning: unused variable ‘se’ [-Wunused-variable] 1184 | int se; | ^~ -
spectro/smcube.c:1219:19: warning: unused variable ‘ev’ [-Wunused-variable] 1219 | inst_code ev = inst_ok; | ^~ -
spectro/smcube.c:1265:13: warning: unused variable ‘itime’ [-Wunused-variable] 1265 | int itime; | ^~~~~ -
spectro/smcube.c:1313:19: warning: unused variable ‘ev’ [-Wunused-variable] 1313 | inst_code ev = inst_ok; | ^~ -
spectro/smcube.c:1371:13: warning: unused variable ‘itime’ [-Wunused-variable] 1371 | int itime; | ^~~~~ -
spectro/smcube.c:1417:13: warning: unused variable ‘itime’ [-Wunused-variable] 1417 | int itime; | ^~~~~ -
spectro/smcube.c:1460:13: warning: unused variable ‘itime’ [-Wunused-variable] 1460 | int itime; | ^~~~~ -
spectro/smcube.c:1519:13: warning: unused variable ‘itime’ [-Wunused-variable] 1519 | int itime; | ^~~~~ -
spectro/smcube.c:1568:13: warning: unused variable ‘itime’ [-Wunused-variable] 1568 | int itime; | ^~~~~ -
spectro/smcube.c:1616:13: warning: unused variable ‘itime’ [-Wunused-variable] 1616 | int itime; | ^~~~~ -
spectro/smcube.c:1747:16: warning: unused variable ‘j’ [-Wunused-variable] 1747 | int i, j; | ^ -
spectro/smcube.c:1855:16: warning: unused variable ‘j’ [-Wunused-variable] 1855 | int i, j; | ^ -
spectro/smcube.c:2033:13: warning: unused variable ‘i’ [-Wunused-variable] 2033 | int i; | ^ -
spectro/smcube.c:2091:16: warning: unused variable ‘j’ [-Wunused-variable] 2091 | int i, j; | ^ -
spectro/smcube.c:2091:13: warning: unused variable ‘i’ [-Wunused-variable] 2091 | int i, j; | ^ -
spectro/smcube.c:2194:13: warning: unused variable ‘rv’ [-Wunused-variable] 2194 | int rv; | ^~ -
spectro/smcube.c:2192:13: warning: unused variable ‘ev’ [-Wunused-variable] 2192 | int ev = SMCUBE_OK; | ^~ -
spectro/smcube.c:140:18: warning: ‘smcube_white’ declared ‘static’ but never defined [-Wunused-function] 140 | static inst_code smcube_white(smcube *p, int ctype); | ^~~~~~~~~~~~ -
spectro/smcube.c:1502:1: warning: ‘smcube_dump_cal’ defined but not used [-Wunused-function] 1502 | smcube_dump_cal(smcube *p) { | ^~~~~~~~~~~~~~~ -
spectro/smcube.c:1415:18: warning: ‘smcube_get_version’ defined but not used [-Wunused-function] 1415 | static inst_code smcube_get_version(smcube *p, int *val) { | ^~~~~~~~~~~~~~~~~~ -
spectro/smcube.c:1181:1: warning: ‘smcube_ping’ defined but not used [-Wunused-function] 1181 | smcube_ping(smcube *p) { | ^~~~~~~~~~~ -
spectro/i1pro3_imp.c:5681:9: warning: ‘se’ may be used uninitialized [-Wmaybe-uninitialized] 5681 | a1logd(p->log,2,"i1pro3_gathermeasurement: read %d readings %d bytes, irrc 0x%x ICOM err 0x%x (%d msec)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5682 | ameas, asize, irrc, se, msec_time()-stime); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
spectro/munki_imp.c:5715:21: warning: ‘lead_avg’ may be used uninitialized [-Wmaybe-uninitialized] 5715 | if (lead_avg/trail_avg < 0.7 || trail_avg/lead_avg < 0.7) { | ~~~~~~~~^~~~~~~~~~ -
spectro/munki_imp.c:5715:21: warning: ‘trail_avg’ may be used uninitialized [-Wmaybe-uninitialized] 5715 | if (lead_avg/trail_avg < 0.7 || trail_avg/lead_avg < 0.7) { | ~~~~~~~~^~~~~~~~~~ -
spectro/munki_imp.c:5903:17: warning: ‘fpat’ may be used uninitialized [-Wmaybe-uninitialized] 5903 | a1logd(p->log,6,"Got %d patches out of potential %d, want %d:\n",fpat, npat, tnpatch); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
spectro/usbio_lx.c:180:66: warning: ‘ifaceno’ may be used uninitialized [-Wmaybe-uninitialized] 180 | usbd->EPINFO(ad).ifaceno = ifaceno; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
spectro/i1pro_imp.c:8149:16: warning: ‘lhalf’ may be used uninitialized [-Wmaybe-uninitialized] 8149 | fwhm = i1pro_raw2wav_uncal(p, lhalf) - i1pro_raw2wav_uncal(p, rhalf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
spectro/i1pro_imp.c:8149:48: warning: ‘rhalf’ may be used uninitialized [-Wmaybe-uninitialized] 8149 | fwhm = i1pro_raw2wav_uncal(p, lhalf) - i1pro_raw2wav_uncal(p, rhalf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
spectro/kleink10.c:238:34: warning: ‘rv’ may be used uninitialized [-Wmaybe-uninitialized] 238 | if ((xec & ec_c) && rv == K10_OK && strncmp(cmd, out, 2) != 0) { -
spectro/dtp92.c:677:14: warning: unused variable ‘buf2’ [-Wunused-variable] 677 | char buf2[MAX_RD_SIZE]; | ^~~~ -
spectro/dtp92.c:882:14: warning: unused variable ‘buf2’ [-Wunused-variable] 882 | char buf2[MAX_RD_SIZE]; | ^~~~ -
spectro/dtp92.c:1377:19: warning: unused variable ‘ev’ [-Wunused-variable] 1377 | inst_code ev = inst_ok; | ^~ -
spectro/dtp92.c:1376:14: warning: unused variable ‘buf’ [-Wunused-variable] 1376 | char buf[MAX_MES_SIZE]; | ^~~ -
spectro/i1pro_imp.c:9384:34: warning: ‘y1’ may be used uninitialized [-Wmaybe-uninitialized] 9384 | xn = (y3 - y1)/den; | ~~~~^~~~~ -
spectro/i1pro_imp.c:9383:39: warning: ‘y2’ may be used uninitialized [-Wmaybe-uninitialized] 9383 | yn = (y2 * y3 - y1 * y4)/den; | ~~~~~~~~~^~~~~~~~~~ -
spectro/i1pro_imp.c:9383:39: warning: ‘y3’ may be used uninitialized [-Wmaybe-uninitialized] 9383 | yn = (y2 * y3 - y1 * y4)/den; | ~~~~~~~~~^~~~~~~~~~ -
spectro/i1pro_imp.c:9383:44: warning: ‘y4’ may be used uninitialized [-Wmaybe-uninitialized] 9383 | yn = (y2 * y3 - y1 * y4)/den; | ~~~^~~~ -
spectro/dispsup.c:99:33: warning: unused variable ‘ev’ [-Wunused-variable] 99 | inst_code rv = inst_ok, ev; | ^~ -
spectro/dispsup.c:99:19: warning: unused variable ‘rv’ [-Wunused-variable] 99 | inst_code rv = inst_ok, ev; | ^~ -
spectro/dispsup.c:253:23: warning: unused variable ‘calt’ [-Wunused-variable] 253 | inst_cal_type calt = inst_calt_needed; | ^~~~ -
spectro/dispsup.c:249:13: warning: unused variable ‘c’ [-Wunused-variable] 249 | int c; | ^ -
spectro/dispsup.c:247:18: warning: variable ‘itype’ set but not used [-Wunused-but-set-variable=] 247 | instType itype = instUnknown; | ^~~~~ -
spectro/dispsup.c:499:27: warning: unused variable ‘ev’ [-Wunused-variable] 499 | inst_code ev; | ^~ -
spectro/dispsup.c:558:21: warning: unused variable ‘tc’ [-Wunused-variable] 558 | col tc; | ^~ -
spectro/dispsup.c:577:21: warning: unused variable ‘tc’ [-Wunused-variable] 577 | col tc; | ^~ -
spectro/dispsup.c:479:13: warning: unused variable ‘cal_type’ [-Wunused-variable] 479 | int cal_type; | ^~~~~~~~ -
spectro/dispsup.c:1066:32: warning: unused variable ‘we’ [-Wunused-variable] 1066 | double we; /* Interpolation weight of eairlier value */ | ^~ -
spectro/dispsup.c:1457:20: warning: unused variable ‘drift’ [-Wunused-variable] 1457 | static int drift = 0; /* Drift white offset multiplier */ | ^~~~~ -
spectro/dispsup.c:1947:23: warning: unused variable ‘fp’ [-Wunused-variable] 1947 | FILE *fp; | ^~ -
spectro/dispsup.c:1946:23: warning: unused variable ‘cmd’ [-Wunused-variable] 1946 | char *cmd; | ^~~ -
spectro/dispsup.c:1945:21: warning: unused variable ‘rv’ [-Wunused-variable] 1945 | int rv; | ^~ -
spectro/dispsup.c:1941:45: warning: unused variable ‘ep’ [-Wunused-variable] 1941 | char buf[200], *bp = NULL, *ep = NULL; | ^~ -
spectro/dispsup.c:1911:17: warning: pointer ‘cmd_193’ may be used after ‘free’ [-Wuse-after-free] 1911 | a1logv(p->log, 2, "Read XYZ %f %f %f from '%s'\n", cols[patch].XYZ[0], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1912 | cols[patch].XYZ[1],cols[patch].XYZ[2], cmd); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
spectro/dispwin.c:762:50: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘XID’ {aka ‘long unsigned int’} [-Wformat=] 762 | debugrr2((errout,"XRRGetOutputPrimary returned XID %x\n",primary)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | XID {aka long unsigned int} -
spectro/dispwin.c:944:47: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] 944 | if (k > 0 & outi0 != NULL) { | ~~^~~ -
spectro/dispwin.c:1022:69: warning: pointer targets in passing argument 11 of ‘XRRGetOutputProperty’ differ in signedness [-Wpointer-sign] 1022 | &ret_type, &ret_format, &ret_len, &ret_togo, &atomv) == Success | ^~~~~~~~ | | | long int * -
spectro/dispwin.c:1022:79: warning: pointer targets in passing argument 12 of ‘XRRGetOutputProperty’ differ in signedness [-Wpointer-sign] 1022 | &ret_type, &ret_format, &ret_len, &ret_togo, &atomv) == Success | ^~~~~~~~~ | | | long int * -
spectro/dispwin.c:698:21: warning: variable ‘defsix’ set but not used [-Wunused-but-set-variable=] 698 | int defsix; /* Default Screen index */ | ^~~~~~ -
spectro/dispwin.c:1187:69: warning: pointer targets in passing argument 10 of ‘XGetWindowProperty’ differ in signedness [-Wpointer-sign] 1187 | &ret_type, &ret_format, &ret_len, &ret_togo, &atomv) == Success | ^~~~~~~~ | | | long int * -
spectro/dispwin.c:1187:79: warning: pointer targets in passing argument 11 of ‘XGetWindowProperty’ differ in signedness [-Wpointer-sign] 1187 | &ret_type, &ret_format, &ret_len, &ret_togo, &atomv) == Success | ^~~~~~~~~ | | | long int * -
spectro/dispwin.c:1056:27: warning: label ‘next_screen’ defined but not used [-Wunused-label] 1056 | next_screen:; | ^~~~~~~~~~~ -
spectro/dispwin.c:648:13: warning: unused variable ‘defsix’ [-Wunused-variable] 648 | int defsix = 0; /* default screen index */ | ^~~~~~ -
spectro/dispwin.c:1576:41: warning: too many arguments for format [-Wformat-extra-args] 1576 | debugr2((errout,"XF86VidModeGetGammaRampSize number of entries %d inconsistent with previous value\n",nent,p->nent)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
spectro/dispwin.c:2549:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2549 | if (p->myuscreen == 0) | ^ -
spectro/dispwin.c:3017:32: warning: unused variable ‘atomv’ [-Wunused-variable] 3017 | unsigned char *atomv; | ^~~~~ -
spectro/dispwin.c:3016:38: warning: unused variable ‘bread’ [-Wunused-variable] 3016 | unsigned long psize, bread; | ^~~~~ -
spectro/dispwin.c:3016:31: warning: unused variable ‘psize’ [-Wunused-variable] 3016 | unsigned long psize, bread; | ^~~~~ -
spectro/dispwin.c:3015:23: warning: unused variable ‘fp’ [-Wunused-variable] 3015 | FILE *fp; | ^~ -
spectro/dispwin.c:3587:54: warning: pointer targets in passing argument 11 of ‘XRRGetOutputProperty’ differ in signedness [-Wpointer-sign] 3587 | &ret_type, &ret_format, &ret_len, &ret_togo, &atomv) != Success || ret_len == 0) { | ^~~~~~~~ | | | long int * -
spectro/dispwin.c:3587:64: warning: pointer targets in passing argument 12 of ‘XRRGetOutputProperty’ differ in signedness [-Wpointer-sign] 3587 | &ret_type, &ret_format, &ret_len, &ret_togo, &atomv) != Success || ret_len == 0) { | ^~~~~~~~~ | | | long int * -
spectro/dispwin.c:3606:54: warning: pointer targets in passing argument 10 of ‘XGetWindowProperty’ differ in signedness [-Wpointer-sign] 3606 | &ret_type, &ret_format, &ret_len, &ret_togo, &atomv) != Success || ret_len == 0) { | ^~~~~~~~ | | | long int * -
spectro/dispwin.c:3606:64: warning: pointer targets in passing argument 11 of ‘XGetWindowProperty’ differ in signedness [-Wpointer-sign] 3606 | &ret_type, &ret_format, &ret_len, &ret_togo, &atomv) != Success || ret_len == 0) { | ^~~~~~~~~ | | | long int * -
spectro/dispwin.c:3757:13: warning: variable ‘rv’ set but not used [-Wunused-but-set-variable=] 3757 | int rv = 0; | ^~ -
spectro/dispwin.c:4073:20: warning: unused variable ‘kf’ [-Wunused-variable] 4073 | double kr, kf; | ^~ -
spectro/dispwin.c:4073:16: warning: unused variable ‘kr’ [-Wunused-variable] 4073 | double kr, kf; | ^~ -
spectro/dispwin.c:5441:49: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 5441 | debugr2((errout,"new_dispwin: Default Visual red mask 0x%x is not %d bits\n",vinfo->red_mask,p->fdepth)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | | | long unsigned int -
spectro/dispwin.c:5454:49: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 5454 | debugr2((errout,"new_dispwin: Default Visual green mask 0x%x is not %d bits\n",vinfo->red_mask,p->fdepth)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | | | long unsigned int -
spectro/dispwin.c:5467:49: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 5467 | debugr2((errout,"new_dispwin: Default Visual blue mask 0x%x is not %d bits\n",vinfo->red_mask,p->fdepth)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | | | long unsigned int -
spectro/dispwin.c:5709:41: warning: pointer targets in passing argument 7 of ‘XChangeProperty’ differ in signedness [-Wpointer-sign] 5709 | (char *)(&xid), /* Data is Root Window XID */ | ^~~~~~~~~~~~~~ | | | char * -
spectro/dispwin.c:5716:88: warning: pointer targets in passing argument 7 of ‘XChangeProperty’ differ in signedness [-Wpointer-sign] 5716 | XA_CARDINAL, 32, PropModeReplace, (char *)(&opaque), 1); | ^~~~~~~~~~~~~~~~~ | | | char * -
spectro/dispwin.c:5720:88: warning: pointer targets in passing argument 7 of ‘XChangeProperty’ differ in signedness [-Wpointer-sign] 5720 | XA_CARDINAL, 32, PropModeReplace, (char *)(&opaque), 1); | ^~~~~~~~~~~~~~~~~ | | | char * -
spectro/dispwin.c:5760:43: warning: unused variable ‘minv’ [-Wunused-variable] 5760 | int majv, minv; | ^~~~ -
spectro/dispwin.c:5760:37: warning: unused variable ‘majv’ [-Wunused-variable] 5760 | int majv, minv; | ^~~~ -
spectro/dispwin.c:6184:37: warning: unused variable ‘scrnres’ [-Wunused-variable] 6184 | XRRScreenResources *scrnres; | ^~~~~~~ -
spectro/dispwin.c:6141:15: warning: unused variable ‘dname’ [-Wunused-variable] 6141 | char *dname; | ^~~~~ -
spectro/webwin.c:58:6: warning: unused variable ‘src_addr’ [-Wunused-variable] 58 | char src_addr[20]; | ^~~~~~~~ -
spectro/webwin.c:223:20: warning: unused variable ‘kf’ [-Wunused-variable] 223 | double kr, kf; | ^~ -
spectro/webwin.c:223:16: warning: unused variable ‘kr’ [-Wunused-variable] 223 | double kr, kf; | ^~ -
spectro/webwin.c:333:15: warning: unused variable ‘url’ [-Wunused-variable] 333 | char *url; | ^~~ -
spectro/webwin.c:329:15: warning: unused variable ‘cp’ [-Wunused-variable] 329 | char *cp; | ^~ -
spectro/dispwin.c:3182:25: warning: ignoring return value of ‘setegid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3182 | setegid(getgid()); | ^~~~~~~~~~~~~~~~~ -
spectro/dispwin.c:3183:25: warning: ignoring return value of ‘seteuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3183 | seteuid(getuid()); | ^~~~~~~~~~~~~~~~~ -
spectro/dispwin.c:3683:17: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3683 | system("xscreensaver -nosplash 2>/dev/null >/dev/null&"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
spectro/dispwin.c:3692:17: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3692 | system("dcop kdesktop KScreensaverIface enable true 2>&1 >/dev/null"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
spectro/dispwin.c:5783:41: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 5783 | system("xscreensaver-command -exit 2>/dev/null >/dev/null"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
spectro/dispwin.c:5800:49: warning: ignoring return value of ‘freopen’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 5800 | freopen("/dev/null", "r", stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
spectro/dispwin.c:5801:49: warning: ignoring return value of ‘freopen’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 5801 | freopen("/dev/null", "a", stdout); /* Hide output */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
spectro/dispwin.c:5802:49: warning: ignoring return value of ‘freopen’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 5802 | freopen("/dev/null", "a", stderr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
spectro/dispwin.c:5821:41: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 5821 | system("dcop kdesktop KScreensaverIface enable false 2>&1 >/dev/null"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
spectro/dispwin.c:2469:13: warning: ‘dispwin_dump_ramdac’ defined but not used [-Wunused-function] 2469 | static void dispwin_dump_ramdac(FILE *fp, ramdac *r) { | ^~~~~~~~~~~~~~~~~~~ -
spectro/mongoose.c:4174:29: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 4174 | if (ifAddrStruct != NULL) | ^~