[vlc-commits] text_renderer: freetype: remove unused stack var

Francois Cartegnie git at videolan.org
Wed Jan 15 18:10:25 CET 2020


vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Jan 15 18:09:04 2020 +0100| [f1a0af6008b5e1cce1b6ab2c9354fb603fc1de4e] | committer: Francois Cartegnie

text_renderer: freetype: remove unused stack var

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=f1a0af6008b5e1cce1b6ab2c9354fb603fc1de4e
---

 modules/text_renderer/freetype/freetype.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/text_renderer/freetype/freetype.c b/modules/text_renderer/freetype/freetype.c
index a22d33c8bd..c330e25226 100644
--- a/modules/text_renderer/freetype/freetype.c
+++ b/modules/text_renderer/freetype/freetype.c
@@ -737,8 +737,6 @@ static inline void RenderBackground( subpicture_region_t *p_region,
                                      void (*ExtractComponents)( uint32_t, uint8_t *, uint8_t *, uint8_t * ),
                                      void (*BlendPixel)(picture_t *, int, int, int, int, int, int, int) )
 {
-    FT_BBox prevbox;
-
     for( const line_desc_t *p_line = p_line_head; p_line != NULL; p_line = p_line->p_next )
     {
         FT_Vector offset = GetAlignedOffset( p_line, p_textbbox, p_region->i_text_align );



More information about the vlc-commits mailing list