From 57ad6d50f45ed5974d8cecf1ca0ed08ced0975b3 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Tue, 30 Mar 2021 10:35:04 -0400 Subject: [PATCH] silence compiler warnings --- src/KOKKOS/atom_vec_hybrid_kokkos.cpp | 1 - src/USER-REACTION/fix_bond_react.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/src/KOKKOS/atom_vec_hybrid_kokkos.cpp b/src/KOKKOS/atom_vec_hybrid_kokkos.cpp index 907d1d555f..c962ed0c71 100644 --- a/src/KOKKOS/atom_vec_hybrid_kokkos.cpp +++ b/src/KOKKOS/atom_vec_hybrid_kokkos.cpp @@ -1171,7 +1171,6 @@ void AtomVecHybridKokkos::build_styles() allstyles = new char*[nallstyles]; - int n; nallstyles = 0; #define ATOM_CLASS #define AtomStyle(key,Class) \ diff --git a/src/USER-REACTION/fix_bond_react.cpp b/src/USER-REACTION/fix_bond_react.cpp index 17754c8297..2b88a8a264 100644 --- a/src/USER-REACTION/fix_bond_react.cpp +++ b/src/USER-REACTION/fix_bond_react.cpp @@ -682,7 +682,6 @@ it will have the name 'i_limit_tags' and will be intitialized to 0 (not in group void FixBondReact::post_constructor() { - int len; // let's add the limit_tags per-atom property fix std::string cmd = std::string("bond_react_props_internal"); id_fix2 = new char[cmd.size()+1];