code cleanup: warn undefined compiler defines.

This commit is contained in:
Campbell Barton
2013-06-08 05:24:55 +00:00
parent d25c46642f
commit c423e3ed8f
3 changed files with 7 additions and 3 deletions

View File

@@ -52,8 +52,10 @@
#include "ONL_opennl.h"
#if 0
#define MOD_LAPLACIANSMOOTH_MAX_EDGE_PERCENTAGE 1.8f
#define MOD_LAPLACIANSMOOTH_MIN_EDGE_PERCENTAGE 0.02f
#endif
struct BLaplacianSystem {
float *eweights; /* Length weights per Edge */

View File

@@ -272,8 +272,10 @@ static void dm_get_bounds(DerivedMesh *dm, float *sx, float *sy, float *ox, floa
#ifdef WITH_OCEANSIM
#ifdef _OPENMP
#define OMP_MIN_RES 18
#endif
static DerivedMesh *generate_ocean_geometry(OceanModifierData *omd)
{
DerivedMesh *result;

View File

@@ -60,12 +60,12 @@
/* XXX, could be better implemented... this is for endian issues */
#ifdef __BIG_ENDIAN__
# define RCOMP 3
//# define RCOMP 3
# define GCOMP 2
# define BCOMP 1
# define ACOMP 0
#else
# define RCOMP 0
//# define RCOMP 0
# define GCOMP 1
# define BCOMP 2
# define ACOMP 3