+2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
+ reviewed by: plam
+
+ * fc-list/fc-list.c (main):
+ * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
+ * src/fcstr.c (FcStrStr):
+ * src/fcxml.c (FcConfigSaveAttr):
+
+ Eliminate unused vars reported by Intel's compiler.
+
2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
reviewed by: plam
int
main (int argc, char **argv)
{
- int verbose = 0;
+ /*int verbose = 0;*/
int i;
FcObjectSet *os = 0;
FcFontSet *fs;
FC_MAJOR, FC_MINOR, FC_REVISION);
exit (0);
case 'v':
- verbose = 1;
+ /* verbose = 1; */
break;
default:
usage (argv[0]);
FcCharSet *
FcFreeTypeCharSetAndSpacing (FT_Face face, FcBlanks *blanks, int *spacing)
{
- FcChar32 page, off, max, ucs4;
+ FcChar32 page, off, ucs4;
#ifdef CHECK
FcChar32 font_max = 0;
#endif
{
FT_UInt gindex;
- max = fcFontDecoders[o].max;
/*
* Find the first encoded character in the font
*/
++ s1;
++ s2;
}
-
- return 0;
+ /* never reached. */
}
int
static FcChar8 **
FcConfigSaveAttr (const XML_Char **attr)
{
- int n;
int slen;
int i;
FcChar8 **new;
slen = 0;
for (i = 0; attr[i]; i++)
slen += strlen ((char *) attr[i]) + 1;
- n = i;
new = malloc ((i + 1) * sizeof (FcChar8 *) + slen);
if (!new)
return 0;