Cleanup: remove unnecessary comments

This commit is contained in:
Campbell Barton 2020-10-10 21:38:20 +11:00
parent 2abfcebb0e
commit 3fe98a473c
4 changed files with 1 additions and 9 deletions

View File

@ -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) {

View File

@ -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*/

View File

@ -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;

View File

@ -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));