[Bf-blender-cvs] [362331f0ff6] master: Cleanup: Remove unused variable

Sergey Sharybin noreply at git.blender.org
Tue Jan 22 12:05:21 CET 2019


Commit: 362331f0ff6a7cc5fb0881884c6943464531109c
Author: Sergey Sharybin
Date:   Tue Jan 22 12:02:35 2019 +0100
Branches: master
https://developer.blender.org/rB362331f0ff6a7cc5fb0881884c6943464531109c

Cleanup: Remove unused variable

===================================================================

M	source/blender/blenfont/intern/blf_font_i18n.c

===================================================================

diff --git a/source/blender/blenfont/intern/blf_font_i18n.c b/source/blender/blenfont/intern/blf_font_i18n.c
index e88accdad6a..89f1ab938a1 100644
--- a/source/blender/blenfont/intern/blf_font_i18n.c
+++ b/source/blender/blenfont/intern/blf_font_i18n.c
@@ -58,7 +58,6 @@ static struct FontBuf unifont_mono_ttf = {"bmonofont-i18n.ttf.gz"};
 static void fontbuf_load(struct FontBuf *fb)
 {
 	const char *fontpath = BKE_appdir_folder_id(BLENDER_DATAFILES, "fonts");
-	uchar *data = NULL;
 	if (fontpath) {
 		char unifont_path[1024];
 		BLI_snprintf(unifont_path, sizeof(unifont_path), "%s/%s", fontpath, fb->filename);



More information about the Bf-blender-cvs mailing list