fixed unused var warning

This commit is contained in:
Shaun Savage 2018-06-28 16:09:35 +00:00
parent e81f26e39d
commit 7fcb920bd7

View file

@ -96,7 +96,7 @@ pub fn parse_fetches(lines: Vec<u8>) -> ZeroCopyResult<Vec<Fetch>> {
AttributeValue::Uid(uid) => fetch.uid = Some(uid), AttributeValue::Uid(uid) => fetch.uid = Some(uid),
AttributeValue::Rfc822(rfc) => fetch.rfc822 = rfc, AttributeValue::Rfc822(rfc) => fetch.rfc822 = rfc,
AttributeValue::Rfc822Header(rfc) => fetch.rfc822_header = rfc, AttributeValue::Rfc822Header(rfc) => fetch.rfc822_header = rfc,
AttributeValue::BodySection {section, index, data} => fetch.email = data, AttributeValue::BodySection {section: _, index: _, data} => fetch.email = data,
_ => {} _ => {}
} }
} }