Remove some unused variables, and initialize some other ones so gcc doesn't

warn us.
This commit is contained in:
Colin Walters 2003-04-17 17:43:04 +00:00
parent 996580dce5
commit 12d49d3cf4
3 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2003-04-17 Colin Walters <walters@debian.org>
+ Remove some unused variables, and initialize some other ones so
gcc doesn't warn us.
2003-04-16 Keith Packard <keithp@keithp.com>
+ tag version 2.1.94

View File

@ -24,6 +24,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
typedef enum { False, True } Bool;

View File

@ -259,8 +259,8 @@ bail0:
static int
FcLangSetIndex (const FcChar8 *lang)
{
int low, high, mid;
int cmp;
int low, high, mid = 0;
int cmp = 0;
FcChar8 firstChar = FcToLower(lang[0]);
if (firstChar < 'a')
@ -582,7 +582,6 @@ static FcBool
FcLangSetContainsLang (const FcLangSet *ls, const FcChar8 *lang)
{
int id;
FcLangResult r;
int i;
id = FcLangSetIndex (lang);
@ -613,7 +612,6 @@ FcLangSetContainsLang (const FcLangSet *ls, const FcChar8 *lang)
{
FcStrList *list = FcStrListCreate (ls->extra);
FcChar8 *extra;
FcLangResult r;
if (list)
{