Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6651 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
0a6895778a
commit
1815b1b00d
@ -376,7 +376,7 @@ set_bits_test_data gray1_test_data4_set = {
|
||||
|
||||
set_bits_test_data &gray1_test_data4_final = gray1_test_data4_set;
|
||||
|
||||
|
||||
#if 0
|
||||
// dump_bitmap
|
||||
static
|
||||
void
|
||||
@ -395,6 +395,7 @@ dump_bitmap(const BBitmap *bitmap)
|
||||
printf("\n");
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
// test_set_bits
|
||||
static
|
||||
|
@ -1,12 +1,11 @@
|
||||
/*
|
||||
$Id: DummyPolygon.cpp,v 1.1 2002/11/23 04:42:57 jrand Exp $
|
||||
$Id: DummyPolygon.cpp,v 1.2 2004/02/19 07:40:06 axeld Exp $
|
||||
|
||||
This file contains the implementation of the dummy BPolygon
|
||||
class which allows the tests to grab the set of points from
|
||||
BPolygon's private members. This is the only way to effectively
|
||||
test BPolygon.
|
||||
|
||||
*/
|
||||
*/
|
||||
|
||||
|
||||
#include "DummyPolygon.h"
|
||||
@ -15,15 +14,17 @@
|
||||
DummyPolygon::DummyPolygon()
|
||||
{
|
||||
throw "You cannot create a DummyPolygon, just cast existing BPolygon's to it!";
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
DummyPolygon::~DummyPolygon()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
const BPoint *DummyPolygon::GetPoints(void)
|
||||
}
|
||||
|
||||
|
||||
const BPoint *
|
||||
DummyPolygon::GetPoints(void)
|
||||
{
|
||||
return(fPts);
|
||||
}
|
||||
return fPts;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user