Skip to content

Commit

Permalink
fix unused variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobhellermann committed Jun 18, 2021
1 parent 12cc0a2 commit 480d14c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/front/glsl/variables.rs
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,8 @@ impl Program<'_> {
return Err(ErrorKind::VariableAlreadyDeclared(meta, name.clone()));
}
}
#[cfg(not(feature = "glsl-validate"))]
let _ = meta;

let mut mutable = true;

Expand Down

0 comments on commit 480d14c

Please sign in to comment.