[Bf-blender-cvs] [ddd48cc] gooseberry: Cleanup: warnings
Campbell Barton
noreply at git.blender.org
Thu May 7 16:22:51 CEST 2015
Commit: ddd48cc78880c0c0324afb3be85a96937ff02870
Author: Campbell Barton
Date: Fri May 8 00:22:30 2015 +1000
Branches: gooseberry
https://developer.blender.org/rBddd48cc78880c0c0324afb3be85a96937ff02870
Cleanup: warnings
===================================================================
M source/blender/bmesh/intern/bmesh_strands_conv.c
M source/blender/editors/interface/interface_handlers.c
M source/blender/editors/space_graph/graph_buttons.c
===================================================================
diff --git a/source/blender/bmesh/intern/bmesh_strands_conv.c b/source/blender/bmesh/intern/bmesh_strands_conv.c
index f72d573..9e87a18 100644
--- a/source/blender/bmesh/intern/bmesh_strands_conv.c
+++ b/source/blender/bmesh/intern/bmesh_strands_conv.c
@@ -1124,7 +1124,7 @@ static void make_particle_hair(BMesh *bm, BMVert *root, Object *ob, ParticleSyst
void BM_strands_bm_to_psys(BMesh *bm, Object *ob, ParticleSystem *psys, struct DerivedMesh *emitter_dm, struct BVHTreeFromMesh *emitter_bvhtree)
{
ParticleData *particles, *oldparticles;
- int ototpart, ototkey, ntotpart;
+ int ototpart /*, ototkey*/, ntotpart;
BMVert *root;
BMIter iter;
@@ -1132,7 +1132,7 @@ void BM_strands_bm_to_psys(BMesh *bm, Object *ob, ParticleSystem *psys, struct D
int p;
ototpart = psys->totpart;
- ototkey = BM_strands_count_psys_keys(psys);
+ // ototkey = BM_strands_count_psys_keys(psys);
ntotpart = BM_strands_count(bm);
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c
index e0a1d4d..3f91e9f 100644
--- a/source/blender/editors/interface/interface_handlers.c
+++ b/source/blender/editors/interface/interface_handlers.c
@@ -6311,7 +6311,7 @@ static bool ui_but_menu(bContext *C, uiBut *but)
{ /* Docs */
char buf[512];
- PointerRNA ptr_props;
+ // PointerRNA ptr_props;
if (UI_but_online_manual_id(but, buf, sizeof(buf))) {
uiItemO(layout, CTX_IFACE_(BLF_I18NCONTEXT_OPERATOR_DEFAULT, "Online Manual"),
diff --git a/source/blender/editors/space_graph/graph_buttons.c b/source/blender/editors/space_graph/graph_buttons.c
index 02542ee..c1e3d85 100644
--- a/source/blender/editors/space_graph/graph_buttons.c
+++ b/source/blender/editors/space_graph/graph_buttons.c
@@ -930,12 +930,12 @@ static void graph_panel_modifiers(const bContext *C, Panel *pa)
/* ******************* Others ************************ */
/* Graph Editor Backdrop Settings */
-static void graph_panel_backdrop(const bContext *C, Panel *UNUSED(pa))
+static void UNUSED_FUNCTION(graph_panel_backdrop)(const bContext *C, Panel *UNUSED(pa))
{
bScreen *sc = CTX_wm_screen(C);
SpaceIpo *sipo = CTX_wm_space_graph(C);
PointerRNA spaceptr;
- uiLayout *col;
+ // uiLayout *col;
/* get RNA pointers for use when creating the UI elements */
RNA_pointer_create(&sc->id, &RNA_SpaceGraphEditor, sipo, &spaceptr);
More information about the Bf-blender-cvs
mailing list