mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 15:14:50 +00:00
unused_variables
warning when building with filesystem_watcher
feature disabled (#7938)
This commit is contained in:
parent
e77eb003ec
commit
520e413c21
1 changed files with 1 additions and 0 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue