Skip to content

Commit

Permalink
[validate] Fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Gordon-F committed Oct 4, 2022
1 parent abc4e15 commit c24131e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/valid/function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -863,6 +863,7 @@ impl super::Validator {
fun: &crate::Function,
module: &crate::Module,
mod_info: &ModuleInfo,
#[cfg_attr(not(feature = "validate"), allow(unused))]
entry_point: bool,
) -> Result<FunctionInfo, WithSpan<FunctionError>> {
#[cfg_attr(not(feature = "validate"), allow(unused_mut))]
Expand Down

0 comments on commit c24131e

Please sign in to comment.