aboutsummaryrefslogtreecommitdiff
path: root/libsylph/procmsg.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-09-20 02:43:17 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-09-20 02:43:17 +0000
commitd73e3bb581deb1e1b9645780785bc78af3796b41 (patch)
treec49441039830be24c2ef627461a9ae69dd5f9720 /libsylph/procmsg.c
parentc2dbb1ce00b5ccdc7c6a3aa8d880d88658446654 (diff)
removed all warnings output with -Wall.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1910 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/procmsg.c')
-rw-r--r--libsylph/procmsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsylph/procmsg.c b/libsylph/procmsg.c
index 194dd374..2f7c4e74 100644
--- a/libsylph/procmsg.c
+++ b/libsylph/procmsg.c
@@ -1570,7 +1570,7 @@ MsgInfo *procmsg_get_msginfo(FolderItem *item, gint num)
MsgInfo *msginfo;
FolderType type;
- g_return_if_fail(item->folder != NULL);
+ g_return_val_if_fail(item->folder != NULL, NULL);
msginfo = folder_item_get_msginfo(item, num);
if (!msginfo)