From f38e0686d909aa0d2882c197aeff59eeefa17081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Luc=20Peuri=C3=A8re?= Date: Sat, 4 Jun 2005 16:22:50 +0000 Subject: new round of warning fixes. we are now down to 24 with Xcode on blender alone with the following flags : -Wall -Wno-char-subscripts -Wno-missing-braces. the only one still worrying me is in rand.c line 57 : rand.c:57: integer constant is too large for "long" type but i have no clue about how correct cross-compiler and 32/64 bits friendly see also my mail to commiter list for signed/unsigned issues --- source/blender/blenkernel/intern/mball.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenkernel/intern/mball.c') diff --git a/source/blender/blenkernel/intern/mball.c b/source/blender/blenkernel/intern/mball.c index c3e6801d957..35dfe5d2dfd 100644 --- a/source/blender/blenkernel/intern/mball.c +++ b/source/blender/blenkernel/intern/mball.c @@ -1446,7 +1446,7 @@ float init_meta(Object *ob) /* return totsize */ MetaBall *mb; MetaElem *ml; float size, totsize, (*mat)[4] = NULL, (*imat)[4] = NULL, obinv[4][4], vec[3]; - float temp1[4][4], temp2[4][4], temp3[4][4], max=0.0; + float temp1[4][4], temp2[4][4], temp3[4][4]; //max=0.0; int a, obnr; char obname[32]; -- cgit v1.2.3