Remove unused variable reference
This commit is contained in:
parent
91765a7a15
commit
37f1b301b5
@ -31,8 +31,7 @@ where
|
|||||||
| Some('L')
|
| Some('L')
|
||||||
| Some('M')
|
| Some('M')
|
||||||
| Some('N') => crate::Domain::Integer,
|
| Some('N') => crate::Domain::Integer,
|
||||||
// TODO: improve error handling
|
Some(_) => return Err(
|
||||||
Some(other) => return Err(
|
|
||||||
crate::Error::new_variable_name_not_allowed(variable.declaration.name.clone())),
|
crate::Error::new_variable_name_not_allowed(variable.declaration.name.clone())),
|
||||||
None => unreachable!(),
|
None => unreachable!(),
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user