From 13a5ae9fb953c8a8eb3ec801781a499521c211f3 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 20 Aug 2014 16:03:02 -0400 Subject: [PATCH] Fix compiler warnings --- src/fcxml.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/fcxml.c b/src/fcxml.c index d471569..c39028e 100644 --- a/src/fcxml.c +++ b/src/fcxml.c @@ -82,6 +82,7 @@ FcRuleDestroy (FcRule *rule) case FcRuleEdit: FcEditDestroy (rule->u.edit); break; + case FcRuleUnknown: default: break; } @@ -612,6 +613,7 @@ FcTypeName (FcType type) return "langset"; case FcTypeRange: return "range"; + case FcTypeUnknown: default: return "unknown"; } @@ -809,6 +811,7 @@ FcRuleCreate (FcRuleType type, case FcRuleEdit: r->u.edit = (FcEdit *) p; break; + case FcRuleUnknown: default: free (r); r = NULL;