diff options
author | Dan Eicher <dan@eu.phorio.us> | 2012-12-30 02:06:44 +0400 |
---|---|---|
committer | Dan Eicher <dan@eu.phorio.us> | 2012-12-30 02:06:44 +0400 |
commit | 1fd05207256c13ea9a7c10db2ac6afc9334586dd (patch) | |
tree | 93c9c1809502cf8f8331e0bc15bfd8fc602cb2a4 /source/blender/editors/space_text/text_format_osl.c | |
parent | 76fd28c25d07a6acb746be09a0eda4201fce892f (diff) |
Infinite loop caused by using an uninitialized variable in a compairison statement
Diffstat (limited to 'source/blender/editors/space_text/text_format_osl.c')
-rw-r--r-- | source/blender/editors/space_text/text_format_osl.c | 2 |
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! */ |