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
path: root/source
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-10-19 15:49:23 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-10-19 15:49:23 +0400
commit23101be4d653e726cf93cbb4aadd35e59e2702cd (patch)
treee1c2b6e669a47da7cd7a9888b9806acde2a2ab7a /source
parenta216ce6cf84fdb27011020abc08b4d58aeccf78b (diff)
Fix use of uninitialized variable in node editor.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_node/node_edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/node_edit.c b/source/blender/editors/space_node/node_edit.c
index 13421adf6e6..046ae8b1f5d 100644
--- a/source/blender/editors/space_node/node_edit.c
+++ b/source/blender/editors/space_node/node_edit.c
@@ -583,7 +583,7 @@ void ED_node_texture_default(Tex *tx)
void node_tree_from_ID(ID *id, bNodeTree **ntree, bNodeTree **edittree, int *treetype)
{
- bNode *node;
+ bNode *node= NULL;
short idtype= GS(id->name);
if(idtype == ID_MA) {