From ef716e4a9267008061f1e6469182a4daaec1c05f Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Fri, 9 Dec 2011 01:20:06 +0100 Subject: src/day.c: Nuke unneeded variable Signed-off-by: Lukas Fleischer --- src/day.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src') diff --git a/src/day.c b/src/day.c index 58539d7..2d3daca 100644 --- a/src/day.c +++ b/src/day.c @@ -324,15 +324,12 @@ display_item_date (int incolor, struct apoint *i, int type, long date, { WINDOW *win; char a_st[100], a_end[100]; - int recur = 0; win = apad.ptrwin; apoint_sec2str (i, date, a_st, a_end); - if (type == RECUR_EVNT || type == RECUR_APPT) - recur = 1; if (incolor == 0) custom_apply_attr (win, ATTR_HIGHEST); - if (recur) + if (type == RECUR_EVNT || type == RECUR_APPT) if (i->state & APOINT_NOTIFY) mvwprintw (win, y, x, " *!%s -> %s", a_st, a_end); else -- cgit v1.2.3-70-g09d2