From f7c4624f5624f4dc981f75a4f74446de04bf69d1 Mon Sep 17 00:00:00 2001 From: Patrick Lam Date: Wed, 23 Nov 2005 16:36:26 +0000 Subject: [PATCH] 2005-11-23 Frederic Crozat : reviewed by: plam Minor code warning cleanups. --- ChangeLog | 8 ++++++++ fc-cat/fc-cat.c | 1 - fontconfig/fontconfig.h | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5c08f85..a94de3c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2005-11-23 Frederic Crozat : + reviewed by: plam + + * fontconfig/fontconfig.h: + * fc-cat/fc-cat.c: + + Minor code warning cleanups. + 2005-11-23 Frederic Crozat : reviewed by: plam diff --git a/fc-cat/fc-cat.c b/fc-cat/fc-cat.c index 4436512..6474653 100644 --- a/fc-cat/fc-cat.c +++ b/fc-cat/fc-cat.c @@ -230,7 +230,6 @@ FcCachePrintSet (FcFontSet *set, FcStrSet *dirs, char *cache_file) const FcChar8 *file, *base; int n; int id; - FcBool ret; FcStrList *list; list = FcStrListCreate (dirs); diff --git a/fontconfig/fontconfig.h b/fontconfig/fontconfig.h index 882d2e1..68b62d2 100644 --- a/fontconfig/fontconfig.h +++ b/fontconfig/fontconfig.h @@ -224,7 +224,7 @@ typedef struct _FcValue { void *f; const FcPattern *p; const FcLangSet *l; - int l_off; // this is a difference of char *s + int l_off; /* this is a difference of char *s */ } u; } FcValue; -- 2.39.2