From f4c1ee3bbd1d548ce9c0c4cf15e9bd867adca421 Mon Sep 17 00:00:00 2001 From: Corey Richardson Date: Sun, 24 Sep 2017 08:36:02 -0400 Subject: Remove now-dead code --- src/synth/noise.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/synth/noise.rs b/src/synth/noise.rs index 28a6b60..f241beb 100644 --- a/src/synth/noise.rs +++ b/src/synth/noise.rs @@ -29,11 +29,6 @@ pub struct NoiseFactory; impl GeneratorFactory for NoiseFactory { fn new(&self, params: &mut FactoryParameters) -> Result { - let mut seed: [u32; 4] = ::rand::random(); - for i in seed.iter_mut() { - *i = ::rand::random() - } - Ok(Box::new(Noise { rng: XorShiftRng::from_seed(::rand::random()), buf: SampleBuffer::new(params.env.default_buffer_size), -- cgit v1.2.3-70-g09d2