Fixed warnings.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6651 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-02-19 07:40:06 +00:00
parent 0a6895778a
commit 1815b1b00d
2 changed files with 15 additions and 13 deletions
@@ -376,7 +376,7 @@ set_bits_test_data gray1_test_data4_set = {
set_bits_test_data &gray1_test_data4_final = gray1_test_data4_set; set_bits_test_data &gray1_test_data4_final = gray1_test_data4_set;
#if 0
// dump_bitmap // dump_bitmap
static static
void void
@@ -395,6 +395,7 @@ dump_bitmap(const BBitmap *bitmap)
printf("\n"); printf("\n");
} }
} }
#endif
// test_set_bits // test_set_bits
static 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 This file contains the implementation of the dummy BPolygon
class which allows the tests to grab the set of points from class which allows the tests to grab the set of points from
BPolygon's private members. This is the only way to effectively BPolygon's private members. This is the only way to effectively
test BPolygon. test BPolygon.
*/
*/
#include "DummyPolygon.h" #include "DummyPolygon.h"
@@ -15,15 +14,17 @@
DummyPolygon::DummyPolygon() DummyPolygon::DummyPolygon()
{ {
throw "You cannot create a DummyPolygon, just cast existing BPolygon's to it!"; throw "You cannot create a DummyPolygon, just cast existing BPolygon's to it!";
} }
DummyPolygon::~DummyPolygon() DummyPolygon::~DummyPolygon()
{ {
} }
const BPoint *DummyPolygon::GetPoints(void) const BPoint *
DummyPolygon::GetPoints(void)
{ {
return(fPts); return fPts;
} }