[Bf-blender-cvs] [8c2c49ff9f9] master: Cleanup: redundant struct declarations

Campbell Barton noreply at git.blender.org
Tue Apr 13 13:44:49 CEST 2021


Commit: 8c2c49ff9f992e1d7f507118fdeb7be86975346f
Author: Campbell Barton
Date:   Tue Apr 13 21:43:07 2021 +1000
Branches: master
https://developer.blender.org/rB8c2c49ff9f992e1d7f507118fdeb7be86975346f

Cleanup: redundant struct declarations

===================================================================

M	source/blender/blenkernel/BKE_curve.h
M	source/blender/editors/io/io_gpencil.h
M	source/blender/editors/space_spreadsheet/spreadsheet_draw.hh
M	source/blender/gpencil_modifiers/intern/lineart/MOD_lineart.h
M	source/blender/makesdna/DNA_lineart_types.h
M	source/blender/windowmanager/wm.h

===================================================================

diff --git a/source/blender/blenkernel/BKE_curve.h b/source/blender/blenkernel/BKE_curve.h
index 59922bf934c..21f362c8c7e 100644
--- a/source/blender/blenkernel/BKE_curve.h
+++ b/source/blender/blenkernel/BKE_curve.h
@@ -40,7 +40,6 @@ struct MDeformVert;
 struct Main;
 struct Nurb;
 struct Object;
-struct Path;
 struct TextBox;
 struct rctf;
 
diff --git a/source/blender/editors/io/io_gpencil.h b/source/blender/editors/io/io_gpencil.h
index 98cb8b13310..b347be00412 100644
--- a/source/blender/editors/io/io_gpencil.h
+++ b/source/blender/editors/io/io_gpencil.h
@@ -27,7 +27,6 @@
 struct ARegion;
 struct bContext;
 struct View3D;
-struct wmOperator;
 struct wmOperatorType;
 
 void WM_OT_gpencil_import_svg(struct wmOperatorType *ot);
diff --git a/source/blender/editors/space_spreadsheet/spreadsheet_draw.hh b/source/blender/editors/space_spreadsheet/spreadsheet_draw.hh
index 6828006f4a1..647587ec8b0 100644
--- a/source/blender/editors/space_spreadsheet/spreadsheet_draw.hh
+++ b/source/blender/editors/space_spreadsheet/spreadsheet_draw.hh
@@ -19,7 +19,6 @@
 #include "BLI_vector.hh"
 
 struct uiBlock;
-struct rcti;
 struct bContext;
 struct ARegion;
 
diff --git a/source/blender/gpencil_modifiers/intern/lineart/MOD_lineart.h b/source/blender/gpencil_modifiers/intern/lineart/MOD_lineart.h
index 85cfd1fbcbf..56cd7fa1456 100644
--- a/source/blender/gpencil_modifiers/intern/lineart/MOD_lineart.h
+++ b/source/blender/gpencil_modifiers/intern/lineart/MOD_lineart.h
@@ -543,7 +543,6 @@ LineartBoundingArea *MOD_lineart_get_bounding_area(LineartRenderBuffer *rb, doub
 
 struct bGPDlayer;
 struct bGPDframe;
-struct GpencilModifierData;
 
 void MOD_lineart_gpencil_generate(LineartRenderBuffer *rb,
                                   struct Depsgraph *depsgraph,
diff --git a/source/blender/makesdna/DNA_lineart_types.h b/source/blender/makesdna/DNA_lineart_types.h
index 31e221b74a0..860a6579bf7 100644
--- a/source/blender/makesdna/DNA_lineart_types.h
+++ b/source/blender/makesdna/DNA_lineart_types.h
@@ -35,9 +35,6 @@
 #include "DNA_ID.h"
 #include "DNA_listBase.h"
 
-struct Object;
-struct Material;
-
 /* Notice that we need to have this file although no struct defines.
  * Edge flags and usage flags are used by with scene/object/gpencil modifier bits, and those values
  * needs to stay consistent throughout. */
diff --git a/source/blender/windowmanager/wm.h b/source/blender/windowmanager/wm.h
index 7fddf60eb97..af696ddd8f9 100644
--- a/source/blender/windowmanager/wm.h
+++ b/source/blender/windowmanager/wm.h
@@ -23,7 +23,6 @@
 
 #pragma once
 
-struct ReportList;
 struct wmWindow;
 
 #include "gizmo/wm_gizmo_wmapi.h"



More information about the Bf-blender-cvs mailing list