Commit: 53ed7ec7f2edc51cbc601da19dc2a0c679b960de
Author: Aaron Carlisle
Date:   Tue Dec 28 20:58:50 2021 -0500
Branches: master
https://developer.blender.org/rB53ed7ec7f2edc51cbc601da19dc2a0c679b960de

Cleanup: clang-tidy

- modernize-deprecated-headers
- modernize-redundant-void-arg

Missed in rB11ac276caaa6e6d42176452526af97cf972abb5f

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

M       source/blender/editors/render/render_ops.cc
M       source/blender/editors/render/render_preview.cc
M       source/blender/editors/render/render_shading.cc

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

diff --git a/source/blender/editors/render/render_ops.cc 
b/source/blender/editors/render/render_ops.cc
index a59c762d20d..0f10d186e6e 100644
--- a/source/blender/editors/render/render_ops.cc
+++ b/source/blender/editors/render/render_ops.cc
@@ -21,7 +21,7 @@
  * \ingroup edrend
  */
 
-#include <stdlib.h>
+#include <cstdlib>
 
 #include "BLI_utildefines.h"
 
@@ -33,7 +33,7 @@
 
 /***************************** render ***********************************/
 
-void ED_operatortypes_render(void)
+void ED_operatortypes_render()
 {
   WM_operatortype_append(OBJECT_OT_material_slot_add);
   WM_operatortype_append(OBJECT_OT_material_slot_remove);
diff --git a/source/blender/editors/render/render_preview.cc 
b/source/blender/editors/render/render_preview.cc
index 2b9dcdcacae..a26103b65e1 100644
--- a/source/blender/editors/render/render_preview.cc
+++ b/source/blender/editors/render/render_preview.cc
@@ -193,7 +193,7 @@ static Main *load_main_from_memory(const void *blend, int 
blend_size)
 }
 #endif
 
-void ED_preview_ensure_dbase(void)
+void ED_preview_ensure_dbase()
 {
 #ifndef WITH_HEADLESS
   static bool base_initialized = false;
@@ -218,7 +218,7 @@ static bool preview_method_is_render(const 
ePreviewRenderMethod pr_method)
   return ELEM(pr_method, PR_ICON_RENDER, PR_BUTS_RENDER);
 }
 
-void ED_preview_free_dbase(void)
+void ED_preview_free_dbase()
 {
   if (G_pr_main) {
     BKE_main_free(G_pr_main);
@@ -1900,7 +1900,7 @@ struct PreviewRestartQueueEntry {
 
 static ListBase /* #PreviewRestartQueueEntry */ G_restart_previews_queue;
 
-void ED_preview_restart_queue_free(void)
+void ED_preview_restart_queue_free()
 {
   BLI_freelistN(&G_restart_previews_queue);
 }
diff --git a/source/blender/editors/render/render_shading.cc 
b/source/blender/editors/render/render_shading.cc
index e1b4c58fb14..992bba420c1 100644
--- a/source/blender/editors/render/render_shading.cc
+++ b/source/blender/editors/render/render_shading.cc
@@ -2394,7 +2394,7 @@ void MATERIAL_OT_paste(wmOperatorType *ot)
 static short mtexcopied = 0; /* must be reset on file load */
 static MTex mtexcopybuf;
 
-void ED_render_clear_mtex_copybuf(void)
+void ED_render_clear_mtex_copybuf()
 { /* use for file reload */
   mtexcopied = 0;
 }

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to