From 56b7434dd08dc7e55b54ed0ad651704a4bcbd2bf Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Tue, 7 Jan 2014 01:28:43 +0000 Subject: Remove unused variable warning. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10047 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_font_xft.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/fl_font_xft.cxx b/src/fl_font_xft.cxx index 3999cc957..c69d39f0f 100644 --- a/src/fl_font_xft.cxx +++ b/src/fl_font_xft.cxx @@ -673,9 +673,9 @@ void Fl_Xlib_Graphics_Driver::rtl_draw(const char* c, int n, int x, int y) { if (num_chars < n) n = num_chars; // limit drawing to usable characters in input array FcChar32 *ucs_txt = new FcChar32[n+1]; FcChar32* pu; - int in, out, sz; + int out, sz; ucs_txt[n] = 0; - in = 0; out = n-1; + out = n-1; while ((out >= 0) && (utf_len > 0)) { pu = &ucs_txt[out]; -- cgit v1.2.3