summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2014-01-07 01:28:43 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2014-01-07 01:28:43 +0000
commit56b7434dd08dc7e55b54ed0ad651704a4bcbd2bf (patch)
tree8ccc0e08acf2875244d0c7a8b144c319fa85dca3 /src
parent70865d6c10bfd7f47ce26604bfb894ad67ebba36 (diff)
Remove unused variable warning.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10047 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/fl_font_xft.cxx4
1 files changed, 2 insertions, 2 deletions
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];