diff options
author | Werner Lemberg <wl@gnu.org> | 2009-12-20 17:56:22 +0100 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2009-12-20 17:56:22 +0100 |
commit | f4fe5a4a7f71aba25fc8db2612684c55244c5ec2 (patch) | |
tree | 606f34031548420af42da0b57e2aa2f5adf010e2 /src/base | |
parent | 7bdc1d598d02f2fe87caaec68737added4965707 (diff) |
Fix compiler warning.
Reported by Sean.
* src/base/ftdbgmem.c [!FT_DEBUG_MEMORY]: ANSI C doesn't like empty
source files; however, some compilers warn about an unused variable
declaration. This is now replaced with a typedef.
Diffstat (limited to 'src/base')
-rw-r--r-- | src/base/ftdbgmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/ftdbgmem.c b/src/base/ftdbgmem.c index 677f2420..160269d1 100644 --- a/src/base/ftdbgmem.c +++ b/src/base/ftdbgmem.c @@ -989,7 +989,7 @@ #else /* !FT_DEBUG_MEMORY */ /* ANSI C doesn't like empty source files */ - static const FT_Byte _debug_mem_dummy = 0; + typedef int _debug_mem_dummy; #endif /* !FT_DEBUG_MEMORY */ |