diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2015-09-04 02:04:37 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2015-09-04 02:04:37 +0300 |
commit | ef629e0d504ea6b53cf490f0f084d5a0b587bf6b (patch) | |
tree | fbd9a87c2164176762811fdc9375b01bbca3ff41 /source/blender/editors/space_text | |
parent | c3fef001ee926fc183255b623f56da9fc5fcbb73 (diff) |
Quiet warnings
We had too many warnings lately... was awaiting that someone would kill them - didn't happen -> goes to my commit ratio! :P
Diffstat (limited to 'source/blender/editors/space_text')
-rw-r--r-- | source/blender/editors/space_text/text_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_text/text_draw.c b/source/blender/editors/space_text/text_draw.c index 462b619f497..8ca74fac727 100644 --- a/source/blender/editors/space_text/text_draw.c +++ b/source/blender/editors/space_text/text_draw.c @@ -453,7 +453,7 @@ static void text_draw(SpaceText *st, char *str, int cshift, int maxwidth, int x, { const bool use_syntax = (st->showsyntax && format); FlattenString fs; - int columns, size, n, w = 0, padding, amount = 0; + int columns, size, n, w = 0, padding = 0, amount = 0; const char *in = NULL; for (n = flatten_string(st, &fs, str), str = fs.buf; n > 0; n--) { |