diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-28 06:34:55 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-28 06:34:55 +0400 |
commit | ac1cb5ee055840ba3481b8ad490e3be2a6a49cf2 (patch) | |
tree | a24cd7905f6ab5e90d2926b822f9753598198e8f /source/blender/editors/space_graph | |
parent | cf40220e54e32cf52931e461b928f26571fc2f4f (diff) |
- quiet new warnings with gcc 4.6
- use BLI math funcs for normal float/short conversion.
- correct some un-intentional float/double promotions.
Diffstat (limited to 'source/blender/editors/space_graph')
-rw-r--r-- | source/blender/editors/space_graph/graph_buttons.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/editors/space_graph/graph_buttons.c b/source/blender/editors/space_graph/graph_buttons.c index 9f79a959ed5..17e7b1b5b18 100644 --- a/source/blender/editors/space_graph/graph_buttons.c +++ b/source/blender/editors/space_graph/graph_buttons.c @@ -389,7 +389,6 @@ static void graph_panel_driverVar__singleProp(uiLayout *layout, ID *id, DriverVa DriverTarget *dtar= &dvar->targets[0]; PointerRNA dtar_ptr; uiLayout *row, *col; - uiBlock *block; /* initialise RNA pointer to the target */ RNA_pointer_create(id, &RNA_DriverTarget, dtar, &dtar_ptr); @@ -407,9 +406,8 @@ static void graph_panel_driverVar__singleProp(uiLayout *layout, ID *id, DriverVa RNA_id_pointer_create(dtar->id, &root_ptr); col= uiLayoutColumn(layout, 1); - block= uiLayoutGetBlock(col); - /* rna path */ - uiTemplatePathBuilder(col, &dtar_ptr, "data_path", &root_ptr, "Path"); + /* rna path */ + uiTemplatePathBuilder(col, &dtar_ptr, "data_path", &root_ptr, "Path"); } } |