forked from minhngoc25a/freetype2
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.
This commit is contained in:
parent
7bdc1d598d
commit
f4fe5a4a7f
|
@ -1,3 +1,12 @@
|
||||||
|
2009-12-20 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
2009-12-18 Werner Lemberg <wl@gnu.org>
|
2009-12-18 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
Fix Savannah bug #28320.
|
Fix Savannah bug #28320.
|
||||||
|
|
|
@ -989,7 +989,7 @@
|
||||||
#else /* !FT_DEBUG_MEMORY */
|
#else /* !FT_DEBUG_MEMORY */
|
||||||
|
|
||||||
/* ANSI C doesn't like empty source files */
|
/* 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 */
|
#endif /* !FT_DEBUG_MEMORY */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue