From d355347e8eb4297092043514b712c5801255d8b2 Mon Sep 17 00:00:00 2001 From: davidjohnlong <59730407+davidjohnlong@users.noreply.github.com> Date: Thu, 12 Mar 2020 08:10:49 +0000 Subject: [PATCH] Remove unnecessary variable in src/source.cpp Co-Authored-By: Paul Romano --- src/source.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/source.cpp b/src/source.cpp index 9f97c829e..e659f31f3 100644 --- a/src/source.cpp +++ b/src/source.cpp @@ -385,8 +385,7 @@ void close_custom_source_library() //Sample source particle from custom library Particle::Bank sample_custom_source_library(uint64_t* seed) { - Particle::Bank site = model::sample_source(*seed); - return site; + return model::sample_source(*seed); } // fill the source bank from the external source