freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft-devel] tt_size_ready_bytecode stub is unnecessary


From: Graham Asher
Subject: [ft-devel] tt_size_ready_bytecode stub is unnecessary
Date: Thu, 24 May 2007 16:27:41 +0100

Here's another compiler warning we can get rid of: the stub version of
tt_size_ready_bytecode in ttobjs.c cshould be deleted because the function
is called only if TT_USE_BYTECODE_INTERPRETER is defined. This gives the
warning:

s:\src\freetype-2.3.4\src\truetype\truetype.c(37) : warning C4505:
'tt_size_ready_bytecode' : unreferenced local function has been removed
        s:\src\freetype-2.3.4\src\truetype\ttobjs.h(432) : see declaration
of 'tt_size_ready_bytecode'

from Microsoft Visual C++ when compiling with TT_USE_BYTECODE_INTERPRETER
not defined.

I enclose a patched version of ttobjs.c.

Best regards,

Graham Asher

Attachment: ttobjs.c
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]