diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-12-20 02:42:57 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-12-20 02:42:57 +0300 |
commit | 9a9f39e4661163391bb8e3eb782438e425abe684 (patch) | |
tree | e67dc76e18b408a2708dc5b5f7a7b3e89bd552cf /source/blender/python/gpu/gpu_py_shader.c | |
parent | 6ccef2aa7e010c1e5b6986a696dc27ef8826c6c2 (diff) |
Cleanup: remove redundant 'char *' casts
Diffstat (limited to 'source/blender/python/gpu/gpu_py_shader.c')
-rw-r--r-- | source/blender/python/gpu/gpu_py_shader.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/python/gpu/gpu_py_shader.c b/source/blender/python/gpu/gpu_py_shader.c index 87091e311f3..bd52fbb0de5 100644 --- a/source/blender/python/gpu/gpu_py_shader.c +++ b/source/blender/python/gpu/gpu_py_shader.c @@ -578,11 +578,7 @@ static PyObject *bpygpu_shader_program_get(BPyGPUShader *self, void *UNUSED(clos } static PyGetSetDef bpygpu_shader_getseters[] = { - {(char *)"program", - (getter)bpygpu_shader_program_get, - (setter)NULL, - bpygpu_shader_program_doc, - NULL}, + {"program", (getter)bpygpu_shader_program_get, (setter)NULL, bpygpu_shader_program_doc, NULL}, {NULL, NULL, NULL, NULL, NULL} /* Sentinel */ }; |