From a35de34eb78aba5e08938066c0ecdcb05f677a8f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 13 Jun 2020 12:50:19 +1000 Subject: [PATCH] Cleanup: clang-format, unused variable --- source/blender/makesdna/DNA_cloth_types.h | 3 ++- source/blender/makesrna/intern/rna_ID.c | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blender/makesdna/DNA_cloth_types.h b/source/blender/makesdna/DNA_cloth_types.h index 2b66bb771e1..9d9ee711339 100644 --- a/source/blender/makesdna/DNA_cloth_types.h +++ b/source/blender/makesdna/DNA_cloth_types.h @@ -109,7 +109,8 @@ typedef struct ClothSimSettings { pressure=( (current_volume/target_volume) - 1 + uniform_pressure_force) * pressure_factor */ float pressure_factor; - /* Density of the fluid inside or outside the object for use in the hydrostatic pressure gradient. */ + /* Density of the fluid inside or outside the object for use in the hydrostatic pressure + * gradient. */ float fluid_density; short vgroup_pressure; char _pad7[6]; diff --git a/source/blender/makesrna/intern/rna_ID.c b/source/blender/makesrna/intern/rna_ID.c index bc4ba6dd387..97536e31003 100644 --- a/source/blender/makesrna/intern/rna_ID.c +++ b/source/blender/makesrna/intern/rna_ID.c @@ -1421,7 +1421,6 @@ static void rna_def_ID_override_library_property(BlenderRNA *brna) static void rna_def_ID_override_library(BlenderRNA *brna) { StructRNA *srna; - PropertyRNA *prop; srna = RNA_def_struct(brna, "IDOverrideLibrary", NULL); RNA_def_struct_ui_text(