cleanup from gcc -Wextra
This commit is contained in:
parent
2fc61ac9f7
commit
8626fb14ce
@ -179,7 +179,7 @@ NOINLINE B toCells(B x) {
|
||||
}
|
||||
}
|
||||
NOINLINE B toKCells(B x, ur k) {
|
||||
assert(isArr(x) && k<=RNK(x) && k>=0);
|
||||
assert(isArr(x) && k<=RNK(x));
|
||||
usz* xsh = SH(x);
|
||||
usz cam = shProd(xsh, 0, k);
|
||||
|
||||
|
||||
@ -367,7 +367,6 @@ u64 usum(B x) { // doesn't consume; will error on non-integers, or elements <0,
|
||||
f64 c = p[i];
|
||||
if (!q_fu64(c)) expU_f64(c);
|
||||
u64 ci = (u64)c;
|
||||
if (ci<0) goto neg;
|
||||
if (addOn(r,ci)) goto overflow;
|
||||
}
|
||||
} else {
|
||||
|
||||
@ -191,7 +191,7 @@ static B m_ffiFn(NFnDesc* desc, B obj, FC1 c1, FC2 c2, void* wc1, void* wc2) {
|
||||
BQN_EXP BQNV bqn_makeBoundFn1(bqn_boundFn1 f, BQNV obj) { return makeX(m_ffiFn(boundFnDesc, inc(getB(obj)), boundFn_c1, c2_bad, f, NULL)); }
|
||||
BQN_EXP BQNV bqn_makeBoundFn2(bqn_boundFn2 f, BQNV obj) { return makeX(m_ffiFn(boundFnDesc, inc(getB(obj)), c1_bad, boundFn_c2, NULL, f)); }
|
||||
|
||||
const static u8 typeMap[] = {
|
||||
static const u8 typeMap[] = {
|
||||
[el_bit] = elt_unk,
|
||||
[el_B ] = elt_unk,
|
||||
[el_i8 ] = elt_i8, [el_c8 ] = elt_c8,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user