summaryrefslogtreecommitdiff
path: root/src
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-04-23 00:20:05 -0700
commit77902e1422315963364fcba3736ff9b5b0f32d47 (patch)
tree7c620e82902626dcac23d106504926966be0065d /src
parentf75f7bde4cedc36d5ca1289988b3daebb80528d2 (diff)
Clean up warnings when src/fc is built with -DDEBUG
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src')
-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 be1c89f..3ca3912 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;