Remove unnecessary variable in src/source.cpp

Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
davidjohnlong 2020-03-12 08:10:49 +00:00 committed by GitHub
parent c5aee746e8
commit d355347e8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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