mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-09 23:34:14 +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:
committed by
Carlos R. Mafra
parent
f41880cf05
commit
c1031965e9
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user