summaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2009-12-20 17:56:22 +0100
committerWerner Lemberg <wl@gnu.org>2009-12-20 17:56:22 +0100
commitf4fe5a4a7f71aba25fc8db2612684c55244c5ec2 (patch)
tree606f34031548420af42da0b57e2aa2f5adf010e2 /src/base
parent7bdc1d598d02f2fe87caaec68737added4965707 (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.c2
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 */