Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Carlisle <carlisle.b3d@gmail.com>2021-12-08 08:31:20 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2021-12-08 08:31:20 +0300
commitc1279768a77d093e1747f4954c9c0a959feefdf0 (patch)
tree1def9c880322764b4fe090677dfb66cab0c380d9 /intern/opensubdiv
parentcbcd74de226778a9da980c8c6081793452dd5cbc (diff)
Cleanup: Clang-Tidy modernize-redundant-void-arg
Diffstat (limited to 'intern/opensubdiv')
-rw-r--r--intern/opensubdiv/internal/base/opensubdiv_capi.cc8
-rw-r--r--intern/opensubdiv/stub/opensubdiv_stub.cc8
2 files changed, 8 insertions, 8 deletions
diff --git a/intern/opensubdiv/internal/base/opensubdiv_capi.cc b/intern/opensubdiv/internal/base/opensubdiv_capi.cc
index 430acfd4497..85f8120c76b 100644
--- a/intern/opensubdiv/internal/base/opensubdiv_capi.cc
+++ b/intern/opensubdiv/internal/base/opensubdiv_capi.cc
@@ -33,17 +33,17 @@ using blender::opensubdiv::GLSLTransformFeedbackDeviceContext;
using blender::opensubdiv::OpenCLDeviceContext;
using blender::opensubdiv::OpenMPDeviceContext;
-void openSubdiv_init(void)
+void openSubdiv_init()
{
// Ensure all OpenGL strings are cached.
openSubdiv_getAvailableEvaluators();
}
-void openSubdiv_cleanup(void)
+void openSubdiv_cleanup()
{
}
-int openSubdiv_getAvailableEvaluators(void)
+int openSubdiv_getAvailableEvaluators()
{
int flags = OPENSUBDIV_EVALUATOR_CPU;
@@ -70,7 +70,7 @@ int openSubdiv_getAvailableEvaluators(void)
return flags;
}
-int openSubdiv_getVersionHex(void)
+int openSubdiv_getVersionHex()
{
#if defined(OPENSUBDIV_VERSION_NUMBER)
return OPENSUBDIV_VERSION_NUMBER;
diff --git a/intern/opensubdiv/stub/opensubdiv_stub.cc b/intern/opensubdiv/stub/opensubdiv_stub.cc
index 8c0b204d41a..24bdcbc79ff 100644
--- a/intern/opensubdiv/stub/opensubdiv_stub.cc
+++ b/intern/opensubdiv/stub/opensubdiv_stub.cc
@@ -20,20 +20,20 @@
#include <cstddef>
-void openSubdiv_init(void)
+void openSubdiv_init()
{
}
-void openSubdiv_cleanup(void)
+void openSubdiv_cleanup()
{
}
-int openSubdiv_getAvailableEvaluators(void)
+int openSubdiv_getAvailableEvaluators()
{
return 0;
}
-int openSubdiv_getVersionHex(void)
+int openSubdiv_getVersionHex()
{
return 0;
}