Silence warning (potentially misused twidth)

This commit is contained in:
Dalai Felinto 2018-11-26 21:54:29 -02:00
parent 8e65e38649
commit b205cb369a
Notes: blender-bot 2023-02-14 04:56:37 +01:00
Referenced by issue #58103, Crash when going from edit to sculpt mode while having vertices selected.
1 changed files with 1 additions and 1 deletions

View File

@ -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;