aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/layout.c')
-rw-r--r--calendar/layout.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/calendar/layout.c b/calendar/layout.c
index f97f0d5ffd..1367ae3f8f 100644
--- a/calendar/layout.c
+++ b/calendar/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)]