[gnome-online-accounts/rhel-7.1: 20/34] alarm: Remove redundant preprocessor conditional
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/rhel-7.1: 20/34] alarm: Remove redundant preprocessor conditional
- Date: Mon, 4 Aug 2014 13:43:37 +0000 (UTC)
commit 3f019133653c69536d156b40d1d2d946bb9cc010
Author: Debarshi Ray <debarshir gnome org>
Date: Mon Nov 11 14:49:06 2013 +0100
alarm: Remove redundant preprocessor conditional
Reading the rest of the code, it appears to me that the preprocessor
conditionals were meant to surpress compiler warnings and errors
caused by the lack of timerfd support. For the rest of the logic,
GoaAlarmType is used to separate the different kinds of timers.
Fixes: https://bugzilla.gnome.org/711696
src/goaidentity/goaalarm.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/goaidentity/goaalarm.c b/src/goaidentity/goaalarm.c
index 68a6c46..4381f0b 100644
--- a/src/goaidentity/goaalarm.c
+++ b/src/goaidentity/goaalarm.c
@@ -92,7 +92,6 @@ clear_scheduled_immediate_wakeup (GoaAlarm *self)
static void
clear_scheduled_timer_wakeups (GoaAlarm *self, GSource *source, GInputStream *stream)
{
-#ifdef HAVE_TIMERFD
GError *error;
gboolean is_closed;
@@ -108,7 +107,6 @@ clear_scheduled_timer_wakeups (GoaAlarm *self, GSource *source, GInputStream *st
}
g_object_unref (stream);
-#endif
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]