From 9d46408fa41c0122b77e9140d77e23ca05812161 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Tue, 30 Jan 2024 19:23:40 -0500 Subject: [PATCH] delete unused variables --- src/fix_deform.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/fix_deform.cpp b/src/fix_deform.cpp index 8e9b489979..cf4a1242c0 100644 --- a/src/fix_deform.cpp +++ b/src/fix_deform.cpp @@ -741,8 +741,6 @@ void FixDeform::apply_strain() // for other styles, target is linear value between start and stop values if (triclinic) { - double *h = domain->h; - for (int i = 3; i < 6; i++) { if (set[i].style == NONE) { if (i == 5) set[i].tilt_target = domain->xy; @@ -775,8 +773,6 @@ void FixDeform::apply_strain() void FixDeform::apply_volume() { - double e1, e2; - for (int i = 0; i < 3; i++) { if (set[i].style != VOLUME) continue;