[Bf-blender-cvs] [e72a520a4c6] master: Cleanup: Clang-Tidy readability-redundant-declaration fix

Sybren A. Stüvel noreply at git.blender.org
Fri Sep 4 13:31:17 CEST 2020


Commit: e72a520a4c68ba74e7b71cc3388a19233bfb562b
Author: Sybren A. Stüvel
Date:   Fri Sep 4 13:31:07 2020 +0200
Branches: master
https://developer.blender.org/rBe72a520a4c68ba74e7b71cc3388a19233bfb562b

Cleanup: Clang-Tidy readability-redundant-declaration fix

No functional changes.

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

M	.clang-tidy
M	source/blender/io/collada/DocumentExporter.cpp

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

diff --git a/.clang-tidy b/.clang-tidy
index 8d2abc5897c..8a0f437066c 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -14,7 +14,6 @@ Checks:  >
 
   -readability-inconsistent-declaration-parameter-name,
   -readability-redundant-member-init,
-  -readability-redundant-declaration,
   -readability-qualified-auto,
   -readability-use-anyofallof,
 
diff --git a/source/blender/io/collada/DocumentExporter.cpp b/source/blender/io/collada/DocumentExporter.cpp
index 0578bf45f04..314e4f8116f 100644
--- a/source/blender/io/collada/DocumentExporter.cpp
+++ b/source/blender/io/collada/DocumentExporter.cpp
@@ -106,8 +106,6 @@ extern "C" char build_hash[];
 #include "collada_internal.h"
 #include "collada_utils.h"
 
-extern bool bc_has_object_type(LinkNode *export_set, short obtype);
-
 // can probably go after refactor is complete
 #include "InstanceWriter.h"
 #include "TransformWriter.h"



More information about the Bf-blender-cvs mailing list