src/day.c: Nuke unneeded variable

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2011-12-09 01:20:06 +01:00
parent a01cbe0c36
commit ef716e4a92

View File

@ -324,15 +324,12 @@ display_item_date (int incolor, struct apoint *i, int type, long date,
{ {
WINDOW *win; WINDOW *win;
char a_st[100], a_end[100]; char a_st[100], a_end[100];
int recur = 0;
win = apad.ptrwin; win = apad.ptrwin;
apoint_sec2str (i, date, a_st, a_end); apoint_sec2str (i, date, a_st, a_end);
if (type == RECUR_EVNT || type == RECUR_APPT)
recur = 1;
if (incolor == 0) if (incolor == 0)
custom_apply_attr (win, ATTR_HIGHEST); custom_apply_attr (win, ATTR_HIGHEST);
if (recur) if (type == RECUR_EVNT || type == RECUR_APPT)
if (i->state & APOINT_NOTIFY) if (i->state & APOINT_NOTIFY)
mvwprintw (win, y, x, " *!%s -> %s", a_st, a_end); mvwprintw (win, y, x, " *!%s -> %s", a_st, a_end);
else else