Commit 12d49d3c authored by Colin Walters's avatar Colin Walters
Browse files

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

    warn us.
parent 996580dc
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
......
......@@ -24,6 +24,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
typedef enum { False, True } Bool;
......
......@@ -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)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment