From f3e4a3473e29432e75bc8d19855ca3e9cff36c35 Mon Sep 17 00:00:00 2001 From: Valentin Date: Thu, 2 Jul 2020 16:34:17 -0400 Subject: Cleanup: Remove useless duplicated lines I spotted a duplicate struct declaration, so I had to check for other duplicated as well There might be some other but i am not confident enough for deleting them this regex search for duplicate ^(.*;)$\n(\1)$ Reviewed By: JacquesLucke Differential Revision: https://developer.blender.org/D8146 --- source/blender/editors/include/ED_armature.h | 1 - source/blender/editors/include/ED_mesh.h | 2 -- source/blender/editors/include/ED_node.h | 2 -- source/blender/editors/include/ED_object.h | 1 - source/blender/editors/include/UI_interface.h | 1 - 5 files changed, 7 deletions(-) (limited to 'source/blender/editors/include') diff --git a/source/blender/editors/include/ED_armature.h b/source/blender/editors/include/ED_armature.h index eef431c40fa..d82c7126cf2 100644 --- a/source/blender/editors/include/ED_armature.h +++ b/source/blender/editors/include/ED_armature.h @@ -34,7 +34,6 @@ struct Depsgraph; struct IDProperty; struct ListBase; struct Main; -struct Main; struct Mesh; struct MeshDeformModifierData; struct Object; diff --git a/source/blender/editors/include/ED_mesh.h b/source/blender/editors/include/ED_mesh.h index 9c49d991182..046eadb2ec3 100644 --- a/source/blender/editors/include/ED_mesh.h +++ b/source/blender/editors/include/ED_mesh.h @@ -47,8 +47,6 @@ struct ReportList; struct Scene; struct UndoType; struct UvMapVert; -struct UvMapVert; -struct UvVertMap; struct UvVertMap; struct View3D; struct ViewContext; diff --git a/source/blender/editors/include/ED_node.h b/source/blender/editors/include/ED_node.h index 3471f9dcce9..47ccc0788c2 100644 --- a/source/blender/editors/include/ED_node.h +++ b/source/blender/editors/include/ED_node.h @@ -31,7 +31,6 @@ extern "C" { struct ID; struct Main; struct Scene; -struct Scene; struct ScrArea; struct Tex; struct View2D; @@ -40,7 +39,6 @@ struct bNode; struct bNodeSocket; struct bNodeSocketType; struct bNodeTree; -struct bNodeTree; struct bNodeTreeType; struct bNodeType; diff --git a/source/blender/editors/include/ED_object.h b/source/blender/editors/include/ED_object.h index e04d30892d7..10cd6980c90 100644 --- a/source/blender/editors/include/ED_object.h +++ b/source/blender/editors/include/ED_object.h @@ -34,7 +34,6 @@ extern "C" { struct Base; struct Depsgraph; struct EnumPropertyItem; -struct EnumPropertyItem; struct ID; struct Main; struct ModifierData; diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 1cedd4e122f..da3d06230e3 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -65,7 +65,6 @@ struct uiWidgetColors; struct wmDrag; struct wmDropBox; struct wmEvent; -struct wmEvent; struct wmGizmo; struct wmKeyConfig; struct wmKeyMap; -- cgit v1.2.3