aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main.rs b/src/main.rs
index eb1e241..9b9c12f 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -253,12 +253,6 @@ fn node_value<'a>(class: &str, data: &'a [u8]) -> IResult<&'a [u8], NodeValue<'a
}
}
-fn nodetype<'a>(data: &'a [u8]) -> IResult<&'a [u8], NodeType> {
- let (rest, nt) = be_u32(data)?;
-
- Ok((rest, NodeType::from(nt)))
-}
-
fn fourcc<'a>(data: &'a [u8]) -> IResult<&'a [u8], &'a str> {
let (rest, tag) = take(4usize)(data)?;
Ok((rest, std::str::from_utf8(tag).unwrap()))