From b60183c448f620bc96ebd6bec950592cd3239e61 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Fri, 9 Sep 2022 08:14:15 -0500 Subject: [PATCH] Remove unused variables. --- src/lib.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 4154dad..908590e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -194,7 +194,6 @@ fn update_listener( fn add_source_handle( context: Res, mut query: Query<( - Entity, &mut Source, Option<&PannerStrategy>, Option<&GlobalTransform>, @@ -202,7 +201,7 @@ fn add_source_handle( Option<&ScalarPan>, )>, ) { - for (entity, mut source, panner_strategy, transform, angular_pan, scalar_pan) in &mut query { + for (mut source, panner_strategy, transform, angular_pan, scalar_pan) in &mut query { if source.handle.is_none() { let panner_strategy = panner_strategy.cloned().unwrap_or_default(); let handle: syz::Source = if let Some(transform) = transform { @@ -357,7 +356,6 @@ fn change_panner_strategy( fn update_source_properties( context: Res, mut query: Query<( - Entity, &mut Source, Option<&DistanceModel>, Option<&DistanceRef>, @@ -371,7 +369,6 @@ fn update_source_properties( )>, ) { for ( - entity, mut source, distance_model, distance_ref,