[Bf-blender-cvs] [5fb85ef] master: Fix strict compiler warning in generated C++ RNA

Sergey Sharybin noreply at git.blender.org
Tue Dec 20 12:29:47 CET 2016


Commit: 5fb85ef2c2465a4192e60c8c671904c143ecc6c9
Author: Sergey Sharybin
Date:   Tue Dec 20 10:23:55 2016 +0100
Branches: master
https://developer.blender.org/rB5fb85ef2c2465a4192e60c8c671904c143ecc6c9

Fix strict compiler warning in generated C++ RNA

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

M	source/blender/makesrna/intern/makesrna.c

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

diff --git a/source/blender/makesrna/intern/makesrna.c b/source/blender/makesrna/intern/makesrna.c
index d557697..4552c77 100644
--- a/source/blender/makesrna/intern/makesrna.c
+++ b/source/blender/makesrna/intern/makesrna.c
@@ -3765,7 +3765,7 @@ static const char *cpp_classes = ""
 "\n"
 "private:\n"
 "	const CollectionIterator<T, Tbegin, Tnext, Tend>& operator = "
-"(const CollectionIterator<T, Tbegin, Tnext, Tend>& copy) {}\n"
+"(const CollectionIterator<T, Tbegin, Tnext, Tend>& /*copy*/) {}\n"
 ""
 "	CollectionPropertyIterator iter;\n"
 "	T t;\n"




More information about the Bf-blender-cvs mailing list