spline: avoid bogous "might be unused" compiler warning on GCC