From e93d1ba8e775a481e9a719355b12d4523cabcae1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 26 May 2009 10:44:14 +0000 Subject: 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 --- source/blender/blenlib/intern/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenlib') diff --git a/source/blender/blenlib/intern/util.c b/source/blender/blenlib/intern/util.c index 842ebc4c0a9..e202d91f0e6 100644 --- a/source/blender/blenlib/intern/util.c +++ b/source/blender/blenlib/intern/util.c @@ -2030,7 +2030,7 @@ int BLI_natstrcmp(const char *s1, const char *s2) d1++; d2++; } - + return 0; } -- cgit v1.2.3