aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-week-view-layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-week-view-layout.c')
-rw-r--r--calendar/gui/e-week-view-layout.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/calendar/gui/e-week-view-layout.c b/calendar/gui/e-week-view-layout.c
index c2089a7f91..3f7ee03011 100644
--- a/calendar/gui/e-week-view-layout.c
+++ b/calendar/gui/e-week-view-layout.c
@@ -243,8 +243,7 @@ e_week_view_find_day (time_t time_to_find,
}
}
- g_assert_not_reached ();
- return days_shown;
+ g_return_val_if_reached (days_shown);
}