aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm-notify/alarm-queue.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-07-11 21:13:34 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-07-11 21:15:28 +0800
commit2c48f517c1c41d7162e1d9fba89807f812ad3f5f (patch)
tree57b716648d11016adc9f04687d7fff0b8d25b71e /calendar/gui/alarm-notify/alarm-queue.c
parent43442ac93b6262cc929574290124a74906248ab8 (diff)
downloadgsoc2013-evolution-2c48f517c1c41d7162e1d9fba89807f812ad3f5f.tar
gsoc2013-evolution-2c48f517c1c41d7162e1d9fba89807f812ad3f5f.tar.gz
gsoc2013-evolution-2c48f517c1c41d7162e1d9fba89807f812ad3f5f.tar.bz2
gsoc2013-evolution-2c48f517c1c41d7162e1d9fba89807f812ad3f5f.tar.lz
gsoc2013-evolution-2c48f517c1c41d7162e1d9fba89807f812ad3f5f.tar.xz
gsoc2013-evolution-2c48f517c1c41d7162e1d9fba89807f812ad3f5f.tar.zst
gsoc2013-evolution-2c48f517c1c41d7162e1d9fba89807f812ad3f5f.zip
Fix some compiler warnings.
Diffstat (limited to 'calendar/gui/alarm-notify/alarm-queue.c')
-rw-r--r--calendar/gui/alarm-notify/alarm-queue.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/alarm-notify/alarm-queue.c b/calendar/gui/alarm-notify/alarm-queue.c
index 426d69ec55..debbb3c8d3 100644
--- a/calendar/gui/alarm-notify/alarm-queue.c
+++ b/calendar/gui/alarm-notify/alarm-queue.c
@@ -187,6 +187,8 @@ message_push (Message *msg)
* use a static ring-buffer so we can call this twice
* in a printf without getting nonsense results.
*/
+d(#define DEBUGGING_ON)
+#ifdef DEBUGGING_ON
static const gchar *
e_ctime (const time_t *timep)
{
@@ -201,6 +203,7 @@ e_ctime (const time_t *timep)
return ret;
}
+#endif
/* Queues an alarm trigger for midnight so that we can load the next day's worth
* of alarms.