diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-05-24 21:25:11 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-05-24 21:25:11 +0400 |
commit | 9f1a021068bf5d2891aacb49b6d56d6d1f51458c (patch) | |
tree | 6ae42359f264b78b166d0c7b12a36338aa91fc82 /source/blender/editors/space_graph/graph_select.c | |
parent | 15289c60480a31a4064e7132cb208b01cabfdd1b (diff) |
remove some warnings and possible use of un-initialized vars.
Diffstat (limited to 'source/blender/editors/space_graph/graph_select.c')
-rw-r--r-- | source/blender/editors/space_graph/graph_select.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/editors/space_graph/graph_select.c b/source/blender/editors/space_graph/graph_select.c index da7a95cdbf7..76883027df1 100644 --- a/source/blender/editors/space_graph/graph_select.c +++ b/source/blender/editors/space_graph/graph_select.c @@ -1291,15 +1291,11 @@ static void graphkeys_mselect_column (bAnimContext *ac, const int mval[2], short static int graphkeys_clickselect_invoke(bContext *C, wmOperator *op, wmEvent *event) { bAnimContext ac; - ARegion *ar; short selectmode; /* get editor data */ if (ANIM_animdata_get_context(C, &ac) == 0) return OPERATOR_CANCELLED; - - /* get useful pointers from animation context data */ - ar= ac.ar; /* select mode is either replace (deselect all, then add) or add/extend */ if (RNA_boolean_get(op->ptr, "extend")) |