diff --git a/src/main.rs b/src/main.rs
index 94501cd..d67f5c8 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -452,7 +452,7 @@ struct DecompiledContext{
 }
 
 fn generate_decompiled_context<R:Read+Seek>(mut input:R)->AResult<DecompiledContext>{
-	let mut dom=load_dom(&mut input)?;
+	let dom=load_dom(&mut input)?;
 
 	let mut tree_refs=std::collections::HashMap::new();
 	tree_refs.insert(dom.root_ref(),TreeNode::new(