[Bf-blender-cvs] [b205cb369a8] blender2.8: Silence warning (potentially misused twidth)
Dalai Felinto
noreply at git.blender.org
Tue Nov 27 00:55:03 CET 2018
Commit: b205cb369a8f114b5a4ff1f3d9690a0a60ffcd14
Author: Dalai Felinto
Date: Mon Nov 26 21:54:29 2018 -0200
Branches: blender2.8
https://developer.blender.org/rBb205cb369a8f114b5a4ff1f3d9690a0a60ffcd14
Silence warning (potentially misused twidth)
===================================================================
M source/blender/blenkernel/intern/font.c
===================================================================
diff --git a/source/blender/blenkernel/intern/font.c b/source/blender/blenkernel/intern/font.c
index 9c24cc436c6..5aa0207cd88 100644
--- a/source/blender/blenkernel/intern/font.c
+++ b/source/blender/blenkernel/intern/font.c
@@ -690,7 +690,7 @@ static bool vfont_to_curve(Object *ob, Curve *cu, int mode,
struct CharTrans *chartransdata = NULL, *ct;
struct TempLineInfo *lineinfo;
float *f, xof, yof, xtrax, linedist;
- float twidth, maxlen = 0;
+ float twidth = 0, maxlen = 0;
int i, slen, j;
int curbox;
int selstart, selend;
More information about the Bf-blender-cvs
mailing list