mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
many warnings cleaned up
This commit is contained in:
@@ -37,7 +37,7 @@ use std::collections::HashMap;
|
||||
use crate::BarcodeFormat;
|
||||
|
||||
use super::{
|
||||
ExpandedProductParsedRXingResult, ExpandedProductParsedResult, ParsedClientResult, ResultParser,
|
||||
ExpandedProductParsedRXingResult, ParsedClientResult, ResultParser,
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -70,7 +70,7 @@ pub fn parse(theRXingResult: &crate::RXingResult) -> Option<super::ParsedClientR
|
||||
// is 'true' or 'false':
|
||||
let mut hidden = false;
|
||||
let mut phase2Method = ResultParser::matchSinglePrefixedField("PH2:", &rawText, ';', false);
|
||||
let hValue = if let Some(hv) =
|
||||
let _hValue = if let Some(hv) =
|
||||
ResultParser::matchSinglePrefixedField("H:", &rawText, ';', false)
|
||||
{
|
||||
// If PH2 was specified separately, or if the value is clearly boolean, interpret it as 'hidden'
|
||||
|
||||
Reference in New Issue
Block a user