summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2014-04-22 23:49:29 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2014-05-13 08:27:36 -0700
commitc1ccb7d4eb34c99178ace3956768abfb4cf866fd (patch)
treeabce97d86497e457fe78fd968f91653c8aaf7070
parente9a07053d2b5aa55634c2bb2fd080fae77020e3c (diff)
Clean up warnings when src/fc is built with -DDEBUG
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> (cherry picked from commit 77902e1422315963364fcba3736ff9b5b0f32d47)
-rw-r--r--src/fc/fserve.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/fc/fserve.c b/src/fc/fserve.c
index fc44d19..92f90b2 100644
--- a/src/fc/fserve.c
+++ b/src/fc/fserve.c
@@ -1111,7 +1111,7 @@ fs_read_extent_info(FontPathElementPtr fpe, FSBlockDataPtr blockrec)
}
#ifdef DEBUG
-static char *fs_open_states[] = {
+static const char *fs_open_states[] = {
"OPEN_REPLY ",
"INFO_REPLY ",
"EXTENT_REPLY",
@@ -1381,7 +1381,6 @@ fs_wakeup(FontPathElementPtr fpe, unsigned long *mask)
{
FSBlockDataPtr blockrec;
FSBlockedFontPtr bfont;
- FSBlockedListPtr blist;
static CARD32 lastState;
static FSBlockDataPtr lastBlock;
@@ -1405,7 +1404,6 @@ fs_wakeup(FontPathElementPtr fpe, unsigned long *mask)
"<freed>");
break;
case FS_LIST_FONTS:
- blist = (FSBlockedListPtr) blockrec->data;
fprintf (stderr, " Blocked list errcode %d sequence %d\n",
blockrec->errcode, blockrec->sequenceNumber);
break;