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:
authorDan Eicher <dan@eu.phorio.us>2012-12-30 02:06:44 +0400
committerDan Eicher <dan@eu.phorio.us>2012-12-30 02:06:44 +0400
commit1fd05207256c13ea9a7c10db2ac6afc9334586dd (patch)
tree93c9c1809502cf8f8331e0bc15bfd8fc602cb2a4 /source/blender/editors/space_text
parent76fd28c25d07a6acb746be09a0eda4201fce892f (diff)
Infinite loop caused by using an uninitialized variable in a compairison statement
Diffstat (limited to 'source/blender/editors/space_text')
-rw-r--r--source/blender/editors/space_text/text_format_osl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_text/text_format_osl.c b/source/blender/editors/space_text/text_format_osl.c
index 2d536ca1109..9d5dc5bea1a 100644
--- a/source/blender/editors/space_text/text_format_osl.c
+++ b/source/blender/editors/space_text/text_format_osl.c
@@ -81,7 +81,7 @@ static int txtfmt_osl_find_builtinfunc(const char *string)
static int txtfmt_osl_find_reserved(const char *string)
{
- int i, len;
+ int i = 0, len;
/* list is from...
* XXX - link to docs!
*/