[Bf-blender-cvs] [a2f7997] master: Freestyle: Fix compilation error with strict compiler flags

Sergey Sharybin noreply at git.blender.org
Mon Jul 13 15:27:41 CEST 2015


Commit: a2f7997e0584f4fb08166965df5c73819ce69f69
Author: Sergey Sharybin
Date:   Mon Jul 13 15:24:19 2015 +0200
Branches: master
https://developer.blender.org/rBa2f7997e0584f4fb08166965df5c73819ce69f69

Freestyle: Fix compilation error with strict compiler flags

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

M	source/blender/freestyle/intern/python/BPy_FrsNoise.cpp

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

diff --git a/source/blender/freestyle/intern/python/BPy_FrsNoise.cpp b/source/blender/freestyle/intern/python/BPy_FrsNoise.cpp
index 21a5cea..3f29d98 100644
--- a/source/blender/freestyle/intern/python/BPy_FrsNoise.cpp
+++ b/source/blender/freestyle/intern/python/BPy_FrsNoise.cpp
@@ -103,7 +103,7 @@ PyDoc_STRVAR(FrsNoise_turbulence1_doc,
 "   :return: A noise value.\n"
 "   :rtype: float");
 
-static PyObject *FrsNoise_drand(BPy_FrsNoise *self, PyObject *args, PyObject *kwds)
+static PyObject *FrsNoise_drand(BPy_FrsNoise * /*self*/, PyObject *args, PyObject *kwds)
 {
 	static const char *kwlist[] = {"seed", NULL};
 	long seed = 0;




More information about the Bf-blender-cvs mailing list