big warning hunt commit

lot of casts, added prototypes, missing includes and some true errors
This commit is contained in:
2005-03-09 19:45:59 +00:00
parent 77d44e88e9
commit c78e44cdc5
195 changed files with 739 additions and 391 deletions

View File

@@ -366,9 +366,9 @@ SG_Tree* SG_TreeFactory::MakeTreeUp()
while (num_objects > 2)
{
/* Find the pair of bboxes that produce the smallest combined bbox. */
unsigned int minx, miny;
unsigned int minx = UINT_MAX, miny = UINT_MAX;
MT_Scalar min_volume = FLT_MAX;
SG_Tree *min;
SG_Tree *min = NULL;
//char temp[16];
for( y = 0; y < num_objects; y++)
{