diff options
author | JP Rosevear <jpr@ximian.com> | 2004-03-24 00:43:23 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2004-03-24 00:43:23 +0800 |
commit | dc28866623f68d54c272a7474731cb3c5998d600 (patch) | |
tree | 75d627de7884bd796e1f13f0845941d322674d2d /calendar/gui/e-cal-model.c | |
parent | 628c87cf3fd566cb6f1c68d847409d288f394edb (diff) | |
download | gsoc2013-evolution-dc28866623f68d54c272a7474731cb3c5998d600.tar.gz gsoc2013-evolution-dc28866623f68d54c272a7474731cb3c5998d600.tar.zst gsoc2013-evolution-dc28866623f68d54c272a7474731cb3c5998d600.zip |
remove unused variable
2004-03-23 JP Rosevear <jpr@ximian.com>
* gui/dialogs/copy-source-dialog.c (copy_source): remove unused
variable
* gui/e-cal-model.c (e_cal_model_copy_component_data): make the
precondition return NULL
* gui/control-factory.c (get_prop): make sure this code isn't
reached
* gui/calendar-component.c
(calendar_component_peek_source_selector): cast to kill warning
svn path=/trunk/; revision=25159
Diffstat (limited to 'calendar/gui/e-cal-model.c')
-rw-r--r-- | calendar/gui/e-cal-model.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c index c794b18859..95255c023f 100644 --- a/calendar/gui/e-cal-model.c +++ b/calendar/gui/e-cal-model.c @@ -1753,8 +1753,8 @@ ECalModelComponent * e_cal_model_copy_component_data (ECalModelComponent *comp_data) { ECalModelComponent *new_data; - - g_return_if_fail (comp_data != NULL); + + g_return_val_if_fail (comp_data != NULL, NULL); new_data = g_new0 (ECalModelComponent, 1); |