From c870c46aa33fbcafae16cf21def7054c2f76277d Mon Sep 17 00:00:00 2001 From: Serg Tereshchenko Date: Wed, 7 Jul 2021 13:47:29 +0300 Subject: [PATCH] chore(renderer/fonts): Fix unused variable warning --- src/renderer/fonts/caching_shaper.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/fonts/caching_shaper.rs b/src/renderer/fonts/caching_shaper.rs index 9b54a09..df36e45 100644 --- a/src/renderer/fonts/caching_shaper.rs +++ b/src/renderer/fonts/caching_shaper.rs @@ -252,7 +252,7 @@ impl CachingShaper { pub fn shape(&mut self, cells: &[String], bold: bool, italic: bool) -> Vec { let current_size = self.current_size(); - let (glyph_width, glyph_height) = self.font_base_dimensions(); + let (glyph_width, _glyph_height) = self.font_base_dimensions(); let mut resulting_blobs = Vec::new();