mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-09-29 13:39:10 +00:00
Remove unused variable.
This commit is contained in:
parent
96935e8221
commit
318324fc63
@ -1383,7 +1383,6 @@ int draw_each_line_inner(char *s, int special_index, int last_special_applied)
|
|||||||
int mw = maximum_width.get(*state);
|
int mw = maximum_width.get(*state);
|
||||||
#endif /* BUILD_X11 */
|
#endif /* BUILD_X11 */
|
||||||
char *p = s;
|
char *p = s;
|
||||||
int last_special_needed = -1;
|
|
||||||
int orig_special_index = special_index;
|
int orig_special_index = special_index;
|
||||||
|
|
||||||
#ifdef BUILD_X11
|
#ifdef BUILD_X11
|
||||||
@ -1727,7 +1726,6 @@ int draw_each_line_inner(char *s, int special_index, int last_special_applied)
|
|||||||
|
|
||||||
case OFFSET:
|
case OFFSET:
|
||||||
w += current->arg;
|
w += current->arg;
|
||||||
last_special_needed = special_index;
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case VOFFSET:
|
case VOFFSET:
|
||||||
@ -1742,7 +1740,6 @@ int draw_each_line_inner(char *s, int special_index, int last_special_applied)
|
|||||||
if(draw_mode == BG) cur_x++;
|
if(draw_mode == BG) cur_x++;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
last_special_needed = special_index;
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TAB:
|
case TAB:
|
||||||
@ -1754,7 +1751,6 @@ int draw_each_line_inner(char *s, int special_index, int last_special_applied)
|
|||||||
step = 10;
|
step = 10;
|
||||||
}
|
}
|
||||||
w = step - (cur_x - text_start_x - start) % step;
|
w = step - (cur_x - text_start_x - start) % step;
|
||||||
last_special_needed = special_index;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1775,7 +1771,6 @@ int draw_each_line_inner(char *s, int special_index, int last_special_applied)
|
|||||||
if (pos_x > current->arg && pos_x > cur_x) {
|
if (pos_x > current->arg && pos_x > cur_x) {
|
||||||
cur_x = pos_x - current->arg;
|
cur_x = pos_x - current->arg;
|
||||||
}
|
}
|
||||||
last_special_needed = special_index;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1795,7 +1790,6 @@ int draw_each_line_inner(char *s, int special_index, int last_special_applied)
|
|||||||
if (pos_x > current->arg) {
|
if (pos_x > current->arg) {
|
||||||
w = pos_x - current->arg;
|
w = pos_x - current->arg;
|
||||||
}
|
}
|
||||||
last_special_needed = special_index;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#endif /* BUILD_X11 */
|
#endif /* BUILD_X11 */
|
||||||
|
Loading…
Reference in New Issue
Block a user