[Bf-blender-cvs] [af7af488d48] master: Cleanup: Animation, fix uninitialised variable in Euler filter code

Sybren A. Stüvel noreply at git.blender.org
Thu Nov 19 13:02:21 CET 2020


Commit: af7af488d483852ac97e4450c33800612bfc6d6a
Author: Sybren A. Stüvel
Date:   Thu Nov 19 13:02:13 2020 +0100
Branches: master
https://developer.blender.org/rBaf7af488d483852ac97e4450c33800612bfc6d6a

Cleanup: Animation, fix uninitialised variable in Euler filter code

No functional changes.

===================================================================

M	source/blender/editors/space_graph/graph_edit.c

===================================================================

diff --git a/source/blender/editors/space_graph/graph_edit.c b/source/blender/editors/space_graph/graph_edit.c
index bf76d4a632a..09440ee7d98 100644
--- a/source/blender/editors/space_graph/graph_edit.c
+++ b/source/blender/editors/space_graph/graph_edit.c
@@ -2615,7 +2615,7 @@ static ListBase /*tEulerFilter*/ euler_filter_group_channels(
     const ListBase /*bAnimListElem*/ *anim_data, ReportList *reports, int *r_num_groups)
 {
   ListBase euler_groups = {NULL, NULL};
-  tEulerFilter *euf;
+  tEulerFilter *euf = NULL;
   *r_num_groups = 0;
 
   LISTBASE_FOREACH (bAnimListElem *, ale, anim_data) {



More information about the Bf-blender-cvs mailing list