[Bf-blender-cvs] [3fe98a473cc] master: Cleanup: remove unnecessary comments

Campbell Barton noreply at git.blender.org
Sat Oct 10 13:08:08 CEST 2020


Commit: 3fe98a473ccb610c3832783cd8be8498d7e557e8
Author: Campbell Barton
Date:   Sat Oct 10 21:38:20 2020 +1100
Branches: master
https://developer.blender.org/rB3fe98a473ccb610c3832783cd8be8498d7e557e8

Cleanup: remove unnecessary comments

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

M	source/blender/blenlib/intern/math_rotation.c
M	source/blender/blenloader/intern/readfile.c
M	source/blender/makesdna/DNA_brush_types.h
M	source/blender/modifiers/intern/MOD_wave.c

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

diff --git a/source/blender/blenlib/intern/math_rotation.c b/source/blender/blenlib/intern/math_rotation.c
index c7cd1901164..c8e84cee0a0 100644
--- a/source/blender/blenlib/intern/math_rotation.c
+++ b/source/blender/blenlib/intern/math_rotation.c
@@ -2344,7 +2344,6 @@ BLI_INLINE int _axis_signed(const int axis)
 bool mat3_from_axis_conversion(
     int src_forward, int src_up, int dst_forward, int dst_up, float r_mat[3][3])
 {
-  // from functools import reduce
   int value;
 
   if (src_forward == dst_forward && src_up == dst_up) {
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index ccf4e08b5b7..5623f8e5eea 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -5221,9 +5221,6 @@ static void direct_link_area(BlendDataReader *reader, ScrArea *area)
       BLO_read_list(reader, &sconsole->scrollback);
       BLO_read_list(reader, &sconsole->history);
 
-      // for (cl= sconsole->scrollback.first; cl; cl= cl->next)
-      //  cl->line= newdataadr(fd, cl->line);
-
       /* comma expressions, (e.g. expr1, expr2, expr3) evaluate each expression,
        * from left to right.  the right-most expression sets the result of the comma
        * expression as a whole*/
diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h
index 07186425c3f..3acdbbb79fa 100644
--- a/source/blender/makesdna/DNA_brush_types.h
+++ b/source/blender/makesdna/DNA_brush_types.h
@@ -27,10 +27,6 @@
 #include "DNA_curve_types.h"
 #include "DNA_texture_types.h" /* for MTex */
 
-//#ifndef MAX_MTEX // XXX Not used?
-//#define MAX_MTEX  18
-//#endif
-
 struct CurveMapping;
 struct Image;
 struct MTex;
diff --git a/source/blender/modifiers/intern/MOD_wave.c b/source/blender/modifiers/intern/MOD_wave.c
index 6a963b4c043..4c8b511f19a 100644
--- a/source/blender/modifiers/intern/MOD_wave.c
+++ b/source/blender/modifiers/intern/MOD_wave.c
@@ -62,7 +62,7 @@
 
 static void initData(ModifierData *md)
 {
-  WaveModifierData *wmd = (WaveModifierData *)md;  // whadya know, moved here from Iraq
+  WaveModifierData *wmd = (WaveModifierData *)md;
 
   BLI_assert(MEMCMP_STRUCT_AFTER_IS_ZERO(wmd, modifier));



More information about the Bf-blender-cvs mailing list