From d836e24357b81496c61f3cc9195ba36758523578 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sat, 15 Mar 2025 15:18:40 +0100 Subject: more abstraction around unityfs to read multiple files from a single reader --- exporter/src/bin/json.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exporter/src/bin/json.rs') diff --git a/exporter/src/bin/json.rs b/exporter/src/bin/json.rs index dd83de6..e03642b 100644 --- a/exporter/src/bin/json.rs +++ b/exporter/src/bin/json.rs @@ -8,7 +8,7 @@ use unity_tools::{serialized_file::SerializedFile, unityfs::UnityFS}; fn main() -> anyhow::Result<()> { env_logger::init_from_env("LOG"); let file = BufReader::new(File::open(args().nth(1).unwrap())?); - let mut fs = UnityFS::open(file)?; + let fs = UnityFS::open(file)?; let filter = args().nth(2); let pretty = var("PRETTY").is_ok(); -- cgit v1.2.3-70-g09d2