1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-27 21:05:49 +01:00

WINGs: Value stored to 'pos'|'_w'|'done' is never read

Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
This commit is contained in:
Amadeusz Sławiński
2014-05-13 23:41:37 +02:00
committed by Carlos R. Mafra
parent f41880cf05
commit c1031965e9

View File

@@ -1023,7 +1023,6 @@ static void cursorToTextPosition(Text * tPtr, int x, int y)
if ((dir ? tb->next : tb->prior)) { if ((dir ? tb->next : tb->prior)) {
tb = (dir ? tb->next : tb->prior); tb = (dir ? tb->next : tb->prior);
} else { } else {
pos = tb->used;
break; /* goto _doneH; */ 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; _y = tb->sections[s]._y;
while (tb) { while (tb) {
@@ -1117,7 +1113,6 @@ static void cursorToTextPosition(Text * tPtr, int x, int y)
if ((dir ? tb->next : tb->prior)) { if ((dir ? tb->next : tb->prior)) {
tb = (dir ? tb->next : tb->prior); tb = (dir ? tb->next : tb->prior);
} else { } else {
done = True;
break; break;
} }