Skip to content

Commit

Permalink
Allow unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Alice Cecile committed Jan 9, 2024
1 parent 43e7d05 commit be2c42d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/bevy_internal/src/default_plugins.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ impl PluginGroup for DefaultPlugins {
struct IgnoreAmbiguitiesPlugin;

impl Plugin for IgnoreAmbiguitiesPlugin {
#[allow(unused_variables)] // Variables are used depending on enabled features
fn build(&self, app: &mut bevy_app::App) {
// bevy_ui owns the Transform and cannot be animated
#[cfg(all(feature = "bevy_animation", feature = "bevy_ui"))]
Expand Down

0 comments on commit be2c42d

Please sign in to comment.