[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Devel] Patch for ftrfork.c (was: Path delimiter characters)
From: |
Detlef Würkner |
Subject: |
[Devel] Patch for ftrfork.c (was: Path delimiter characters) |
Date: |
Mon, 09 Aug 2004 10:20:02 +0200 |
I wrote:
> P.S.: A big SORRY, just noticed that the whole guessing functions
> can easy be deacivated by not defining
> FT_CONFIG_OPTION_GUESSING_EMBEDDED_RFORK
> in ftoption.h so there exists no need to change anything in the
> FreeType2 sources. My apologies.
When not defining FT_CONFIG_OPTION_GUESSING_EMBEDDED_RFORK I get
gcc warnings which disappear with this patch:
--- src/base/ftrfork.c.ori Wed Feb 25 11:58:54 2004
+++ src/base/ftrfork.c Mon Aug 9 08:12:18 2004
@@ -694,20 +694,24 @@
FT_BASE_DEF( void )
FT_Raccess_Guess( FT_Library library,
FT_Stream stream,
char* base_name,
char **new_names,
FT_Long *offsets,
FT_Error *errors )
{
int i;
+ FT_UNUSED( library );
+ FT_UNUSED( stream );
+ FT_UNUSED( base_name );
+
for ( i = 0; i < FT_RACCESS_N_RULES; i++ )
{
new_names[i] = NULL;
offsets[i] = 0;
errors[i] = FT_Err_Unimplemented_Feature;
}
}
Ciao, Detlef
--
_ // address@hidden
\X/ Detlef Wuerkner, Langgoens/Germany