aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2020-11-25 14:25:32 +0100
committerHarald Eilertsen <haraldei@anduin.net>2020-11-25 14:25:32 +0100
commit7d2fb776b77e10e64f5fdbf8d36676f13f1832d0 (patch)
treed2e6276451e35c19ab704d092092580983d85529
parent813f84fb7c8106e104aaeea2e680a381de7d4349 (diff)
downloadcbconv-7d2fb776b77e10e64f5fdbf8d36676f13f1832d0.tar.gz
cbconv-7d2fb776b77e10e64f5fdbf8d36676f13f1832d0.tar.bz2
cbconv-7d2fb776b77e10e64f5fdbf8d36676f13f1832d0.zip
Drop no longer needed function.
-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()))