Removed a few compiler warnings

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4723 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
DarkWyrm
2003-09-17 12:41:33 +00:00
parent 0b5a9522ae
commit af7ed6dda5
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -368,7 +368,7 @@ void AccelerantDriver::DrawString(const char *string, int32 length, BPoint pt, L
FT_Face face; FT_Face face;
FT_GlyphSlot slot; FT_GlyphSlot slot;
FT_Matrix rmatrix,smatrix; FT_Matrix rmatrix,smatrix;
FT_UInt glyph_index, previous=0; FT_UInt glyph_index=0, previous=0;
FT_Vector pen,delta,space,nonspace; FT_Vector pen,delta,space,nonspace;
int16 error=0; int16 error=0;
int32 strlength,i; int32 strlength,i;
@@ -2494,7 +2494,7 @@ float AccelerantDriver::StringWidth(const char *string, int32 length, LayerData
FT_Face face; FT_Face face;
FT_GlyphSlot slot; FT_GlyphSlot slot;
FT_UInt glyph_index, previous=0; FT_UInt glyph_index=0, previous=0;
FT_Vector pen,delta; FT_Vector pen,delta;
int16 error=0; int16 error=0;
int32 strlength,i; int32 strlength,i;
+2 -2
View File
@@ -1517,7 +1517,7 @@ float BitmapDriver::StringWidth(const char *string, int32 length, LayerData *d)
FT_Face face; FT_Face face;
FT_GlyphSlot slot; FT_GlyphSlot slot;
FT_UInt glyph_index, previous=0; FT_UInt glyph_index=0, previous=0;
FT_Vector pen,delta; FT_Vector pen,delta;
int16 error=0; int16 error=0;
int32 strlength,i; int32 strlength,i;
@@ -1665,7 +1665,7 @@ void BitmapDriver::DrawString(const char *string, int32 length, BPoint pt, Layer
FT_Face face; FT_Face face;
FT_GlyphSlot slot; FT_GlyphSlot slot;
FT_Matrix rmatrix,smatrix; FT_Matrix rmatrix,smatrix;
FT_UInt glyph_index, previous=0; FT_UInt glyph_index=0, previous=0;
FT_Vector pen,delta,space,nonspace; FT_Vector pen,delta,space,nonspace;
int16 error=0; int16 error=0;
int32 strlength,i; int32 strlength,i;
+2 -2
View File
@@ -908,7 +908,7 @@ float ScreenDriver::StringWidth(const char *string, int32 length, LayerData *d)
FT_Face face; FT_Face face;
FT_GlyphSlot slot; FT_GlyphSlot slot;
FT_UInt glyph_index, previous=0; FT_UInt glyph_index=0, previous=0;
FT_Vector pen,delta; FT_Vector pen,delta;
int16 error=0; int16 error=0;
int32 strlength,i; int32 strlength,i;
@@ -1025,7 +1025,7 @@ void ScreenDriver::DrawString(const char *string, int32 length, BPoint pt, Layer
FT_Face face; FT_Face face;
FT_GlyphSlot slot; FT_GlyphSlot slot;
FT_Matrix rmatrix,smatrix; FT_Matrix rmatrix,smatrix;
FT_UInt glyph_index, previous=0; FT_UInt glyph_index=0, previous=0;
FT_Vector pen,delta,space,nonspace; FT_Vector pen,delta,space,nonspace;
int16 error=0; int16 error=0;
int32 strlength,i; int32 strlength,i;
+2 -2
View File
@@ -1222,7 +1222,7 @@ float ViewDriver::StringWidth(const char *string, int32 length, LayerData *d)
FT_Face face; FT_Face face;
FT_GlyphSlot slot; FT_GlyphSlot slot;
FT_UInt glyph_index, previous=0; FT_UInt glyph_index=0, previous=0;
FT_Vector pen,delta; FT_Vector pen,delta;
int16 error=0; int16 error=0;
int32 strlength,i; int32 strlength,i;
@@ -1339,7 +1339,7 @@ void ViewDriver::DrawString(const char *string, int32 length, BPoint pt, LayerDa
FT_Face face; FT_Face face;
FT_GlyphSlot slot; FT_GlyphSlot slot;
FT_Matrix rmatrix,smatrix; FT_Matrix rmatrix,smatrix;
FT_UInt glyph_index, previous=0; FT_UInt glyph_index=0, previous=0;
FT_Vector pen,delta,space,nonspace; FT_Vector pen,delta,space,nonspace;
int16 error=0; int16 error=0;
int32 strlength,i; int32 strlength,i;