Remove unused variable reference

This commit is contained in:
Patrick Lühne 2020-05-11 02:45:58 +02:00
parent 91765a7a15
commit 37f1b301b5
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -31,8 +31,7 @@ where
| Some('L')
| Some('M')
| Some('N') => crate::Domain::Integer,
// TODO: improve error handling
Some(other) => return Err(
Some(_) => return Err(
crate::Error::new_variable_name_not_allowed(variable.declaration.name.clone())),
None => unreachable!(),
};