removed unused variable

This commit is contained in:
fluxgen 2005-12-22 23:39:31 +00:00
parent 7593eb165f
commit e4976c3d34

View file

@ -113,10 +113,8 @@ const char *getFontElement(const char *pattern, char *buf, int bufsiz, ...) {
XFontSet createFontSet(const char *fontname, bool& utf8mode) { XFontSet createFontSet(const char *fontname, bool& utf8mode) {
Display *display = FbTk::App::instance()->display(); Display *display = FbTk::App::instance()->display();
XFontSet fs; XFontSet fs;
const int FONT_ELEMENT_SIZE=50;
char **missing, *def = "-"; char **missing, *def = "-";
int nmissing, pixel_size = 0, buf_size = 0; int nmissing;
char weight[FONT_ELEMENT_SIZE], slant[FONT_ELEMENT_SIZE];
std::string orig_locale = ""; std::string orig_locale = "";
#ifdef HAVE_SETLOCALE #ifdef HAVE_SETLOCALE