[Bf-blender-cvs] [3e6609a0dcb] master: Cleanup: silence unused parameter warnings
Germano Cavalcante
noreply at git.blender.org
Sat May 15 19:14:34 CEST 2021
Commit: 3e6609a0dcb064489d91f685583392d8a73219b9
Author: Germano Cavalcante
Date: Sat May 15 14:13:22 2021 -0300
Branches: master
https://developer.blender.org/rB3e6609a0dcb064489d91f685583392d8a73219b9
Cleanup: silence unused parameter warnings
Introduced in rB48fa029dd11b.
===================================================================
M source/blender/python/gpu/gpu_py_platform.c
===================================================================
diff --git a/source/blender/python/gpu/gpu_py_platform.c b/source/blender/python/gpu/gpu_py_platform.c
index 5247646fcb6..e49ad18dfd8 100644
--- a/source/blender/python/gpu/gpu_py_platform.c
+++ b/source/blender/python/gpu/gpu_py_platform.c
@@ -33,17 +33,17 @@
/** \name Functions
* \{ */
-static PyObject *pygpu_platform_vendor_get(PyObject *UNUSED(self), PyObject *value)
+static PyObject *pygpu_platform_vendor_get(PyObject *UNUSED(self))
{
return PyUnicode_FromString(GPU_platform_vendor());
}
-static PyObject *pygpu_platform_renderer_get(PyObject *UNUSED(self), PyObject *value)
+static PyObject *pygpu_platform_renderer_get(PyObject *UNUSED(self))
{
return PyUnicode_FromString(GPU_platform_renderer());
}
-static PyObject *pygpu_platform_version_get(PyObject *UNUSED(self), PyObject *value)
+static PyObject *pygpu_platform_version_get(PyObject *UNUSED(self))
{
return PyUnicode_FromString(GPU_platform_version());
}
More information about the Bf-blender-cvs
mailing list