Misc warnings

- Removed/Commented some unused vars
- CValue::GetPropertyText() could return a temp reference to a variable on the stack, option wasnt used anywhere so removed.
- KX_ConstraintWrapper::GetConstraintId allows args but ignored them
- KX_ConstraintWrapper::PySetParam didnt return NULL on an error (messing up pythons exceptions).
- BLI_natstrcmp didnt return 0 when the while loop exited
This commit is contained in:
2009-05-26 10:44:14 +00:00
parent ca4d741ce9
commit e93d1ba8e7
16 changed files with 19 additions and 30 deletions

View File

@@ -288,10 +288,7 @@ void GPC_RenderTools::RenderText2D(RAS_TEXT_RENDER_MODE mode,
int height)
{
STR_String tmpstr(text);
int lines;
char* s = tmpstr.Ptr();
char* p;
// Save and change OpenGL settings
int texture2D;