diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-04-19 19:07:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-04-19 19:07:06 +0300 |
commit | d03024f6b33043c03371efeb04641f4cfcf7cc40 (patch) | |
tree | 32f332af92ebec45c0aadc78d7f75d6a3675b2c1 /source | |
parent | 51b796ff1528c52cc8b4079fab1003671652a4d9 (diff) |
Cleanup: warnings
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesrna/intern/rna_layer.c | 1 | ||||
-rw-r--r-- | source/blender/modifiers/intern/MOD_uvproject.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_layer.c b/source/blender/makesrna/intern/rna_layer.c index da58c36dc12..8755f29c0f6 100644 --- a/source/blender/makesrna/intern/rna_layer.c +++ b/source/blender/makesrna/intern/rna_layer.c @@ -1666,7 +1666,6 @@ static void rna_def_layer_collection_engine_settings_clay(BlenderRNA *brna) static void rna_def_layer_collection_engine_settings_workbench(BlenderRNA *brna) { StructRNA *srna; - PropertyRNA *prop; srna = RNA_def_struct(brna, "LayerCollectionEngineSettingsWorkbench", "LayerCollectionSettings"); RNA_def_struct_ui_text(srna, "Collections Workbench Engine Settings", "Workbench specific settings for this collection"); diff --git a/source/blender/modifiers/intern/MOD_uvproject.c b/source/blender/modifiers/intern/MOD_uvproject.c index cdad0a46dde..fba0663571e 100644 --- a/source/blender/modifiers/intern/MOD_uvproject.c +++ b/source/blender/modifiers/intern/MOD_uvproject.c @@ -71,8 +71,8 @@ static void copyData(ModifierData *md, ModifierData *target) { #if 0 UVProjectModifierData *umd = (UVProjectModifierData *) md; -#endif UVProjectModifierData *tumd = (UVProjectModifierData *) target; +#endif modifier_copyData_generic(md, target); } @@ -100,7 +100,9 @@ static void foreachObjectLink(ModifierData *md, Object *ob, static void foreachIDLink(ModifierData *md, Object *ob, IDWalkFunc walk, void *userData) { +#if 0 UVProjectModifierData *umd = (UVProjectModifierData *) md; +#endif foreachObjectLink(md, ob, (ObjectWalkFunc)walk, userData); } |