diff options
author | Suzuki, Toshiya (鈴木俊哉) <mpsuzuki@hiroshima-u.ac.jp> | 2007-06-19 03:27:05 +0000 |
---|---|---|
committer | Suzuki, Toshiya (鈴木俊哉) <mpsuzuki@hiroshima-u.ac.jp> | 2007-06-19 03:27:05 +0000 |
commit | 7893501c3ead6a8c2e401d8e7de52796937679b9 (patch) | |
tree | 5781fc5799314f2e0bdc3b1f826bacdd51cb595a /builds/mac | |
parent | bb2510daeccea934eedf49844ac62104bf1c57b4 (diff) | |
download | freetype2-7893501c3ead6a8c2e401d8e7de52796937679b9.tar.gz |
* fix compiler warnings of src/base/ftmac.c, drop unnecessary part for Mac OS X.
Diffstat (limited to 'builds/mac')
-rw-r--r-- | builds/mac/ftmac.c | 33 |
1 files changed, 28 insertions, 5 deletions
diff --git a/builds/mac/ftmac.c b/builds/mac/ftmac.c index 45365dc5b..445ff9a4e 100644 --- a/builds/mac/ftmac.c +++ b/builds/mac/ftmac.c @@ -153,6 +153,10 @@ FSSpec* pathSpec, FT_Long* face_index ) { + FT_UNUSED( fontName ); + FT_UNUSED( pathSpec ); + FT_UNUSED( face_index ); + return FT_Err_Unimplemented_Feature; } @@ -323,6 +327,11 @@ UInt32 maxPathSize, FT_Long* face_index ) { + FT_UNUSED( fontName ); + FT_UNUSED( path ); + FT_UNUSED( maxPathSize ); + FT_UNUSED( face_index ); + return FT_Err_Unimplemented_Feature; } @@ -358,6 +367,10 @@ FSSpec* pathSpec, FT_Long* face_index ) { + FT_UNUSED( fontName ); + FT_UNUSED( pathSpec ); + FT_UNUSED( face_index ); + return FT_Err_Unimplemented_Feature; } @@ -778,10 +791,10 @@ static FT_Error - lookup_lwfn_by_fond( const UInt8* path_fond, - const StringPtr base_lwfn, - UInt8* path_lwfn, - int path_size ) + lookup_lwfn_by_fond( const UInt8* path_fond, + ConstStr255Param base_lwfn, + UInt8* path_lwfn, + int path_size ) { #if HAVE_FSREF @@ -806,7 +819,7 @@ if ( ft_strlen( (char *)path_lwfn ) + 1 + base_lwfn[0] > path_size ) return FT_Err_Invalid_Argument; - /* now we have absolute dirname in lookup_path */ + /* now we have absolute dirname in path_lwfn */ if ( path_lwfn[0] == '/' ) ft_strcat( (char *)path_lwfn, "/" ); else @@ -1450,6 +1463,11 @@ #if !HAVE_FSREF + FT_UNUSED( library ); + FT_UNUSED( ref ); + FT_UNUSED( face_index ); + FT_UNUSED( aface ); + return FT_Err_Unimplemented_Feature; #else @@ -1533,6 +1551,11 @@ #else + FT_UNUSED( library ); + FT_UNUSED( spec ); + FT_UNUSED( face_index ); + FT_UNUSED( aface ); + return FT_Err_Unimplemented_Feature; #endif /* HAVE_FSREF, HAVE_FSSPEC */ |