aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2019-03-11 10:35:35 +0100
committerAnton Khirnov <anton@khirnov.net>2019-03-11 10:35:35 +0100
commit880dc969a222b7f99005a3cbb84a2aab4a8f76a7 (patch)
treec04b1f0a047727bed1599ce2ad22b6ff34db3a03
parent8a139859d22012436be404388fd611fb6126bc7f (diff)
ell_grid_solve: remove unused variable
-rw-r--r--ell_grid_solve.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ell_grid_solve.c b/ell_grid_solve.c
index cc2d7e4..cbb7d68 100644
--- a/ell_grid_solve.c
+++ b/ell_grid_solve.c
@@ -153,8 +153,6 @@ static void boundaries_apply_falloff(double *dst, const ptrdiff_t dst_stride[2],
const double *src, ptrdiff_t src_stride,
size_t boundary_size, EGSContext *ctx)
{
- EGSInternal *priv = ctx->priv;
-
for (ptrdiff_t bnd_layer = 1; bnd_layer <= ctx->fd_stencil; bnd_layer++)
for (ptrdiff_t bnd_idx = -(ptrdiff_t)ctx->fd_stencil; bnd_idx < (ptrdiff_t)(boundary_size + ctx->fd_stencil); bnd_idx++) {
const double x = ctx->step[0] * (ctx->domain_size[0] - 1 + bnd_layer - ctx->fd_stencil);