+2006-02-21 Paul Cornett <paulcor1@bullseye.com>
+ reviewed by: plam
+
+ * src/fccache.c (FcDirCacheWrite):
+ * src/fcdir.c (FcFileScanConfig):
+ * src/fcfreetype.c (FcStringInPatternElement):
+ * src/fcxml.c (FcParseFamilies):
+ * src/ftglue.c (ftglue_face_goto_table):
+
+ Eliminate redundancies.
+
2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
reviewed by: plam
#include <unistd.h>
#define ENDIAN_TEST 0x12345678
-#define MACHINE_SIGNATURE_SIZE 9 + 5*20 + 1
+#define MACHINE_SIGNATURE_SIZE (9 + 5*20 + 1)
#ifndef O_BINARY
#define O_BINARY 0
metadata.count)
perror("write current_dir_block");
free (current_dir_block);
+ current_dir_block = 0;
}
/* this actually serves to pad out the cache file, if needed */
if (FcFileIsDir (file))
return FcStrSetAdd (dirs, file);
- if (force)
- cache = 0;
-
id = 0;
do
{
if (!FcStrCmpIgnoreBlanksAndCase (old, string))
{
return FcTrue;
- break;
}
return FcFalse;
}
if (!FcVStackPushExpr (parse, tag, expr))
{
FcConfigMessage (parse, FcSevereError, "out of memory");
- if (expr)
- FcExprDestroy (expr);
+ FcExprDestroy (expr);
}
}
}
if ( face->num_faces > 1 )
{
/* deal with TrueType collections */
- FT_ULong offset;
LOG(( ">> This is a TrueType Collection\n" ));