comment unused vars

This commit is contained in:
Campbell Barton
2012-06-14 11:05:15 +00:00
parent 17d5ac0abf
commit a57c8a37a1
4 changed files with 7 additions and 7 deletions

View File

@@ -810,9 +810,9 @@ int PLX_antialias_buffer(float *buf, int buf_x, int buf_y) {
buf[i] *= 0.5f; buf[i] *= 0.5f;
} }
#endif #endif
buf_x = buf_x; (void)buf_x;
buf_y = buf_y; (void)buf_y;
buf[0] = buf[0]; (void)buf;
return 1; return 1;
#else #else
/*XXX - TODO: THIS IS NOT FINAL CODE - IT DOES NOT WORK - DO NOT ENABLE IT */ /*XXX - TODO: THIS IS NOT FINAL CODE - IT DOES NOT WORK - DO NOT ENABLE IT */

View File

@@ -51,7 +51,7 @@ public:
virtual void NextFrame(); virtual void NextFrame();
virtual void HookEscape(); virtual void HookEscape();
private: private:
short m_exit_key; /* short m_exit_key; */ /* UNUSED */
#ifdef WITH_CXX_GUARDEDALLOC #ifdef WITH_CXX_GUARDEDALLOC

View File

@@ -57,14 +57,14 @@ private:
float canvascoord[4]; float canvascoord[4];
float textureoffsets[18]; float textureoffsets[18];
float view[4]; /* float view[4]; */ /* UNUSED */
/* texname[0] contains render to texture, texname[1] contains depth texture, texname[2] contains luminance texture*/ /* texname[0] contains render to texture, texname[1] contains depth texture, texname[2] contains luminance texture*/
unsigned int texname[3]; unsigned int texname[3];
int texturewidth; int texturewidth;
int textureheight; int textureheight;
int canvaswidth; int canvaswidth;
int canvasheight; int canvasheight;
int numberoffilters; /* int numberoffilters; */ /* UNUSED */
/* bit 0: enable/disable depth texture /* bit 0: enable/disable depth texture
* bit 1: enable/disable luminance texture*/ * bit 1: enable/disable luminance texture*/
short texflag[MAX_RENDER_PASS]; short texflag[MAX_RENDER_PASS];

View File

@@ -57,7 +57,7 @@ class RAS_Deformer;
class RAS_MeshObject class RAS_MeshObject
{ {
private: private:
unsigned int m_debugcolor; /* unsigned int m_debugcolor; */ /* UNUSED */
bool m_bModified; bool m_bModified;
bool m_bMeshModified; bool m_bMeshModified;