aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/conduits/calendar/calendar-conduit.c8
-rw-r--r--calendar/conduits/todo/todo-conduit.c2
-rw-r--r--calendar/gui/e-week-view.c2
-rw-r--r--calendar/gui/gnome-cal.c2
5 files changed, 17 insertions, 3 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 1a58d4ce77..197410c3a2 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,9 @@
+2000-09-02 Christopher James Lahey <clahey@helixcode.com>
+
+ * conduits/calendar/calendar-conduit.c,
+ conduits/todo/todo-conduit.c, gui/e-week-view.c, gui/gnome-cal.c:
+ Fixed some warnings.
+
2000-09-01 Federico Mena Quintero <federico@helixcode.com>
* gui/gnome-cal.c (gnome_calendar_new): Use
diff --git a/calendar/conduits/calendar/calendar-conduit.c b/calendar/conduits/calendar/calendar-conduit.c
index 7baf099060..e0a83e7d83 100644
--- a/calendar/conduits/calendar/calendar-conduit.c
+++ b/calendar/conduits/calendar/calendar-conduit.c
@@ -504,7 +504,9 @@ ical_from_remote_record(GnomePilotConduitStandardAbs *conduit,
}
*/
+#ifndef NO_WARNINGS
#warning "finish alarms here"
+#endif
#if 0
/*
* Alarm
@@ -531,7 +533,9 @@ ical_from_remote_record(GnomePilotConduitStandardAbs *conduit,
}
#endif /* 0 */
+#ifndef NO_WARNINGS
#warning "finish recurrence here"
+#endif
#if 0
/*
* Recurrence
@@ -1064,7 +1068,7 @@ set_status (GnomePilotConduitStandardAbs *conduit,
GCalConduitContext *ctxt)
{
gboolean success;
- iCalPilotState new_state;
+ iCalPilotState new_state = ICAL_PILOT_SYNC_NONE;
printf ("set_status: %s status is now '%s'\n",
print_local (local),
@@ -1210,7 +1214,9 @@ transmit (GnomePilotConduitStandardAbs *conduit,
local->a->end = *localtime (&dtend_time_t);
}
+#ifndef NO_WARNINGS
#warning "finish alarm and recurrence here"
+#endif
#if 0
/* set the Audio Alarm parameters */
if(local->ical->aalarm.enabled) {
diff --git a/calendar/conduits/todo/todo-conduit.c b/calendar/conduits/todo/todo-conduit.c
index 3d85dbfa06..3ba9506854 100644
--- a/calendar/conduits/todo/todo-conduit.c
+++ b/calendar/conduits/todo/todo-conduit.c
@@ -982,7 +982,7 @@ set_status (GnomePilotConduitStandardAbs *conduit,
GCalConduitContext *ctxt)
{
gboolean success;
- iCalPilotState new_state;
+ iCalPilotState new_state = ICAL_PILOT_SYNC_NONE;
LOG ("set_status: %s status is now '%s'\n",
print_local (local),
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c
index a3a3e684d8..5c4bbcc312 100644
--- a/calendar/gui/e-week-view.c
+++ b/calendar/gui/e-week-view.c
@@ -1103,7 +1103,7 @@ e_week_view_set_first_day_shown (EWeekView *week_view,
GDate base_date;
gint day_offset, num_days;
gboolean update_adjustment_value = FALSE;
- guint32 old_selection_start_julian, old_selection_end_julian;
+ guint32 old_selection_start_julian = 0, old_selection_end_julian = 0;
struct tm start_tm;
time_t start_time;
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index ec70e56cc0..6a8dae19ce 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -1387,6 +1387,7 @@ gnome_calendar_set_selected_time_range (GnomeCalendar *gcal,
gnome_calendar_update_date_navigator (gcal);
}
+#ifndef NO_WARNINGS
/* Callback used when an event editor finishes editing an object */
static void
released_event_object_cb (EventEditor *ee, const char *uid, gpointer data)
@@ -1406,6 +1407,7 @@ released_event_object_cb (EventEditor *ee, const char *uid, gpointer data)
g_hash_table_remove (gcal->object_editor_hash, orig_uid);
g_free (orig_uid);
}
+#endif
/* Callback used when an event editor dialog is closed */
struct editor_closure