diff options
author | Kjartan Maraas <kmaraas@src.gnome.org> | 2007-10-31 06:21:14 +0800 |
---|---|---|
committer | Kjartan Maraas <kmaraas@src.gnome.org> | 2007-10-31 06:21:14 +0800 |
commit | f13fd21b50fa97b4ce7e29ce82d471c1f1870c11 (patch) | |
tree | 4f04f16373ca46b199bcd2677c9d2d434d308d9f /plugins/itip-formatter | |
parent | 5c1b5556bf7d92acddefa8bd01911299b5acad61 (diff) | |
download | gsoc2013-evolution-f13fd21b50fa97b4ce7e29ce82d471c1f1870c11.tar.gz gsoc2013-evolution-f13fd21b50fa97b4ce7e29ce82d471c1f1870c11.tar.zst gsoc2013-evolution-f13fd21b50fa97b4ce7e29ce82d471c1f1870c11.zip |
Fix warnings from sparse and gcc
svn path=/trunk/; revision=34458
Diffstat (limited to 'plugins/itip-formatter')
-rw-r--r-- | plugins/itip-formatter/ChangeLog | 5 | ||||
-rw-r--r-- | plugins/itip-formatter/itip-view.c | 12 |
2 files changed, 11 insertions, 6 deletions
diff --git a/plugins/itip-formatter/ChangeLog b/plugins/itip-formatter/ChangeLog index 5aed2a1f68..57857a86a6 100644 --- a/plugins/itip-formatter/ChangeLog +++ b/plugins/itip-formatter/ChangeLog @@ -1,3 +1,8 @@ +2007-10-26 Kjartan Maraas <kmaraas@gnome.org> + + * itip-view.c: (itip_view_get_source_list), (itip_view_get_source), + (itip_view_get_rsvp_comment): Fix NULL vs FALSE warnings. + 2007-10-22 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #417999 diff --git a/plugins/itip-formatter/itip-view.c b/plugins/itip-formatter/itip-view.c index f6e2e06855..d48973dd4b 100644 --- a/plugins/itip-formatter/itip-view.c +++ b/plugins/itip-formatter/itip-view.c @@ -1856,8 +1856,8 @@ itip_view_get_source_list (ItipView *view) { ItipViewPrivate *priv; - g_return_val_if_fail (view != NULL, FALSE); - g_return_val_if_fail (ITIP_IS_VIEW (view), FALSE); + g_return_val_if_fail (view != NULL, NULL); + g_return_val_if_fail (ITIP_IS_VIEW (view), NULL); priv = view->priv; @@ -1886,8 +1886,8 @@ itip_view_get_source (ItipView *view) { ItipViewPrivate *priv; - g_return_val_if_fail (view != NULL, FALSE); - g_return_val_if_fail (ITIP_IS_VIEW (view), FALSE); + g_return_val_if_fail (view != NULL, NULL); + g_return_val_if_fail (ITIP_IS_VIEW (view), NULL); priv = view->priv; @@ -2027,8 +2027,8 @@ itip_view_get_rsvp_comment (ItipView *view) { ItipViewPrivate *priv; - g_return_val_if_fail (view != NULL, FALSE); - g_return_val_if_fail (ITIP_IS_VIEW (view), FALSE); + g_return_val_if_fail (view != NULL, NULL); + g_return_val_if_fail (ITIP_IS_VIEW (view), NULL); priv = view->priv; |