Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-09-04 07:24:22 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-09-04 07:40:03 +0300
commit3e63c604e395f00d2ee81fa48ab1bad29c95a4e7 (patch)
treed54f49fe39e668e38505b83107aa6f7d5de76e3f /source/blender/editors/space_text
parentef629e0d504ea6b53cf490f0f084d5a0b587bf6b (diff)
Partial revert of warning cleanup
These warnings are false-positives
Diffstat (limited to 'source/blender/editors/space_text')
-rw-r--r--source/blender/editors/space_text/text_draw.c2
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 8ca74fac727..462b619f497 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 = 0, amount = 0;
+ int columns, size, n, w = 0, padding, amount = 0;
const char *in = NULL;
for (n = flatten_string(st, &fs, str), str = fs.buf; n > 0; n--) {