[evolution-patches] missing assignment



This patch makes sure we assign a value before using it.
? gui/alarm-notify/alarm-notify.gladep
? gui/dialogs/alarm-options.gladep
? gui/dialogs/alarm-page.gladep
? gui/dialogs/cal-prefs-dialog.gladep
? gui/dialogs/e-delegate-dialog.gladep
? gui/dialogs/event-page.gladep
? gui/dialogs/meeting-page.gladep
? gui/dialogs/recurrence-page.gladep
? gui/dialogs/schedule-page.gladep
? gui/dialogs/task-details-page.gladep
? gui/dialogs/task-page.gladep
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.1758
diff -u -p -r1.1758 ChangeLog
--- ChangeLog	2 May 2003 12:37:12 -0000	1.1758
+++ ChangeLog	7 May 2003 11:37:02 -0000
@@ -1,3 +1,8 @@
+2003-05-07  Rodrigo Moya <rodrigo ximian com>
+
+	* cal-client/cal-client.c (cal_client_discard_alarm): added missing
+	assignment.
+
 2003-05-01  JP Rosevear  <jpr ximian com>
 
 	* gui/dialogs/task-editor.c (task_editor_finalize): unref the
Index: cal-client/cal-client.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/cal-client/cal-client.c,v
retrieving revision 1.115
diff -u -p -r1.115 cal-client.c
--- cal-client/cal-client.c	26 Apr 2003 16:39:53 -0000	1.115
+++ cal-client/cal-client.c	7 May 2003 11:37:03 -0000
@@ -2512,6 +2512,8 @@ cal_client_discard_alarm (CalClient *cli
 	g_return_val_if_fail (IS_CAL_COMPONENT (comp), CAL_CLIENT_RESULT_NOT_FOUND);
 	g_return_val_if_fail (auid != NULL, CAL_CLIENT_RESULT_NOT_FOUND);
 
+	priv = client->priv;
+
 	cal_component_get_uid (comp, &uid);
 
 	CORBA_exception_init (&ev);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]