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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user