From c1031965e961dc47a11d86c8739cec5a3c14234d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amadeusz=20S=C5=82awi=C5=84ski?= Date: Tue, 13 May 2014 23:41:37 +0200 Subject: [PATCH] WINGs: Value stored to 'pos'|'_w'|'done' is never read MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Amadeusz Sławiński --- WINGs/wtext.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/WINGs/wtext.c b/WINGs/wtext.c index 3d5fb266..609014e3 100644 --- a/WINGs/wtext.c +++ b/WINGs/wtext.c @@ -1023,7 +1023,6 @@ static void cursorToTextPosition(Text * tPtr, int x, int y) if ((dir ? tb->next : tb->prior)) { tb = (dir ? tb->next : tb->prior); } else { - pos = tb->used; break; /* goto _doneH; */ } } @@ -1048,9 +1047,6 @@ static void cursorToTextPosition(Text * tPtr, int x, int y) } } - if (tb->blank) - _w = 0; - _y = tb->sections[s]._y; while (tb) { @@ -1117,7 +1113,6 @@ static void cursorToTextPosition(Text * tPtr, int x, int y) if ((dir ? tb->next : tb->prior)) { tb = (dir ? tb->next : tb->prior); } else { - done = True; break; }