Skip to content

Commit

Permalink
unused_variables warning when building with filesystem_watcher fe…
Browse files Browse the repository at this point in the history
…ature disabled (bevyengine#7938)
  • Loading branch information
sarkahn authored and Shfty committed Mar 19, 2023
1 parent f2940b9 commit e165c95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/bevy_asset/src/io/file_asset_io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ impl AssetIo for FileAssetIo {
to_watch: &Path,
to_reload: Option<PathBuf>,
) -> Result<(), AssetIoError> {
#![allow(unused_variables)]
#[cfg(feature = "filesystem_watcher")]
{
let to_reload = to_reload.unwrap_or_else(|| to_watch.to_owned());
Expand Down

0 comments on commit e165c95

Please sign in to comment.