diff options
author | joerg <joerg@pkgsrc.org> | 2013-03-02 17:53:07 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-03-02 17:53:07 +0000 |
commit | a8ca4140ce0362d7fc4f5062b1046ce55015ddb8 (patch) | |
tree | ce25b2c2d41eeba4963ed21ffabc2ad62c4a0d21 /www | |
parent | f94ac541fe7e3c969eb9e32ff810f0351ef867c7 (diff) | |
download | pkgsrc-a8ca4140ce0362d7fc4f5062b1046ce55015ddb8.tar.gz |
Consistently return values from !void functions
Diffstat (limited to 'www')
-rw-r--r-- | www/liferea/distinfo | 4 | ||||
-rw-r--r-- | www/liferea/patches/patch-src_feedlist.c | 13 | ||||
-rw-r--r-- | www/liferea/patches/patch-src_rule.c | 13 |
3 files changed, 29 insertions, 1 deletions
diff --git a/www/liferea/distinfo b/www/liferea/distinfo index d633c5f02d7..16357bab113 100644 --- a/www/liferea/distinfo +++ b/www/liferea/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.58 2009/07/09 19:08:47 drochner Exp $ +$NetBSD: distinfo,v 1.59 2013/03/02 17:53:07 joerg Exp $ SHA1 (liferea-1.4.28.tar.gz) = 5c40c9a20eb94d5e0bc5e9b41af51389bc364daf RMD160 (liferea-1.4.28.tar.gz) = 044d0f771ea06c7d35fb70afc2ebe8d64bd96ef0 @@ -6,3 +6,5 @@ Size (liferea-1.4.28.tar.gz) = 1697036 bytes SHA1 (patch-ae) = 91c32840150a33d2162301c17bd5c35edc6264ba SHA1 (patch-af) = 6376c278cc5fa1fd2f353e056d9e135fbf9e0bef SHA1 (patch-ag) = 49eaef5dd44397d5dda30d7b750cce3a26d5029d +SHA1 (patch-src_feedlist.c) = 3c6e18f852726532686c54fc658fd0be961d9bdb +SHA1 (patch-src_rule.c) = b6de3509c604a570258b5ee04b5576c386751edd diff --git a/www/liferea/patches/patch-src_feedlist.c b/www/liferea/patches/patch-src_feedlist.c new file mode 100644 index 00000000000..196aa64c23e --- /dev/null +++ b/www/liferea/patches/patch-src_feedlist.c @@ -0,0 +1,13 @@ +$NetBSD: patch-src_feedlist.c,v 1.1 2013/03/02 17:53:07 joerg Exp $ + +--- src/feedlist.c.orig 2013-03-01 13:45:59.000000000 +0000 ++++ src/feedlist.c +@@ -381,7 +381,7 @@ on_menu_allfeedsread (GtkWidget *widget, + problems. Use feedlist_schedule_save() instead! */ + static gboolean feedlist_schedule_save_cb(gpointer user_data) { + +- g_return_if_fail(NULL != rootNode); ++ g_return_val_if_fail(NULL != rootNode, FALSE); + + /* step 1: request each node to save its state */ + feedlist_foreach(node_save); diff --git a/www/liferea/patches/patch-src_rule.c b/www/liferea/patches/patch-src_rule.c new file mode 100644 index 00000000000..57f530419dc --- /dev/null +++ b/www/liferea/patches/patch-src_rule.c @@ -0,0 +1,13 @@ +$NetBSD: patch-src_rule.c,v 1.1 2013/03/02 17:53:07 joerg Exp $ + +--- src/rule.c.orig 2013-03-01 13:47:26.000000000 +0000 ++++ src/rule.c +@@ -299,7 +299,7 @@ rules_check_item (GSList *rules, itemPtr + queryPtr query; + + if (0 == g_slist_length (rules)) +- return; ++ return FALSE; + + /* first try in memory checks (for "unread" and "important" search folder)... */ + if (1 == g_slist_length (rules)) { |