try to fix build warning on gcc 8.3

parent abbd95c2
......@@ -3,7 +3,7 @@
void rinterpolate_interpolate(
const struct rinterpolate_table_t * const table,
const rinterpolate_float_t * RESTRICT const x,
const rinterpolate_float_t * RESTRICT const x MAYBE_UNUSED,
rinterpolate_float_t * RESTRICT const r)
{
rinterpolate_float_t u,v;
......@@ -17,7 +17,7 @@ void rinterpolate_interpolate(
prefetch(hypertable->data,0);
prefetch(hypertable->f,0);
{
rinterpolate_float_t * int_table = hypertable->data;
rinterpolate_float_t * int_table_n = int_table + table->n;
......@@ -33,7 +33,7 @@ void rinterpolate_interpolate(
#ifdef RINTERPOLATE_USE_POINTER_ARITHMETIC
v = *(hypertable->f+n);
#else
v = hypertable->f[n];
v = hypertable->f[n];
#endif
if(likely(v>TINY))
......@@ -54,7 +54,7 @@ void rinterpolate_interpolate(
}
else
{
/*
/*
* intermediate cases : the most common, so the most
* optimized!
*/
......@@ -62,7 +62,7 @@ void rinterpolate_interpolate(
rinterpolate_counter_t i;
#ifdef RINTERPOLATE_USE_POINTER_ARITHMETIC
/*
* pointer-based version, with two increments instead of adds,
* pointer-based version, with two increments instead of adds,
* might be faster?
*/
rinterpolate_float_t *p_kmax;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment