Cleanup: various non-functional changes for C++ (python, windowmanager)

- Remove redundant void, struct.
- Use function style casts.
This commit is contained in:
Campbell Barton
2023-07-21 10:59:54 +10:00
parent ae5682fa10
commit b29a4cdcfc
87 changed files with 491 additions and 500 deletions

View File

@@ -36,7 +36,7 @@ PyObject *bpy_intern_str_self;
PyObject *bpy_intern_str_depsgraph;
PyObject *bpy_intern_str_unregister;
void bpy_intern_string_init(void)
void bpy_intern_string_init()
{
uint i = 0;
@@ -69,7 +69,7 @@ void bpy_intern_string_init(void)
BLI_assert(i == ARRAY_SIZE(bpy_intern_str_arr));
}
void bpy_intern_string_exit(void)
void bpy_intern_string_exit()
{
uint i = ARRAY_SIZE(bpy_intern_str_arr);
while (i--) {