aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/layout.c')
-rw-r--r--calendar/gui/layout.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/calendar/gui/layout.c b/calendar/gui/layout.c
index f97f0d5ffd..1367ae3f8f 100644
--- a/calendar/gui/layout.c
+++ b/calendar/gui/layout.c
@@ -101,6 +101,8 @@ find_index (struct layout_info *li, time_t t)
for (i = 0; ; i++)
if (li->partition[i] == t)
return i;
+
+ g_assert_not_reached ();
}
#define xy(li, x, y) li->array[(y * MAX_EVENTS_PER_ROW) + (x)]