From: Ben Pfaff Date: Thu, 16 Oct 2025 14:35:04 +0000 (-0700) Subject: work X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=249904f12c2442e1ace4b95845a61863dbf3979e;p=pspp work --- diff --git a/rust/pspp/src/output/spv/light.rs b/rust/pspp/src/output/spv/light.rs index 4f36e639c0..22442b1cd1 100644 --- a/rust/pspp/src/output/spv/light.rs +++ b/rust/pspp/src/output/spv/light.rs @@ -934,9 +934,10 @@ fn parse_show() -> BinResult> { 1 => Ok(Some(Show::Value)), 2 => Ok(Some(Show::Label)), 3 => Ok(Some(Show::Both)), - _ => Err(binrw::Error::NoVariantMatch { - pos: reader.stream_position()? - 1, - }), + _ => { + // XXX warn about invalid value + Ok(None) + } } }