diff --git a/src/mesh/voronoi/voronoi_gradients_lsf.c b/src/mesh/voronoi/voronoi_gradients_lsf.c index f85729d86ff28c40edbd8f7bb935e741df7ccd28..4323ab0a6dee4427ed70e19334dd9266b863c1a9 100644 --- a/src/mesh/voronoi/voronoi_gradients_lsf.c +++ b/src/mesh/voronoi/voronoi_gradients_lsf.c @@ -469,10 +469,6 @@ void compute_divergences() MyFloat *BOther, B[3]; struct grad_data *GradOther; #endif /* #ifdef MHD */ -#if defined(EVALPOTENTIAL) - SphP[i].PotentialPeak = 1; /* starts off true */ - double PotenOther; -#endif /* #if defined(EVALPOTENTIAL) */ int q = SphP[i].first_connection; while(q >= 0) @@ -538,9 +534,6 @@ void compute_divergences() GradOther = &SphP[particle].Grad; BOther = SphP[particle].B; #endif /* #ifdef MHD */ -#if defined(EVALPOTENTIAL) - PotenOther = P[particle].Potential; -#endif /* #if defined(EVALPOTENTIAL) */ } else { @@ -552,9 +545,6 @@ void compute_divergences() GradOther = &GradExch[particle]; BOther = PrimExch[particle].B; #endif /* #ifdef MHD */ -#if defined(EVALPOTENTIAL) - PotenOther = PrimExch[particle].Potential; -#endif /* #if defined(EVALPOTENTIAL) */ } #ifdef MHD