2007-03-17 [wwp] 2.8.1cvs21
authorTristan Chabredier <wwp@claws-mail.org>
Sat, 17 Mar 2007 00:26:04 +0000 (00:26 +0000)
committerTristan Chabredier <wwp@claws-mail.org>
Sat, 17 Mar 2007 00:26:04 +0000 (00:26 +0000)
* src/inc.c
Fix a compiler warning.

ChangeLog
PATCHSETS
configure.ac
src/inc.c

index 049add4c3d69b1724f42c32b8c97cbcc78937146..b051ed97e5504886bb38f6b601cdf71c9bd357aa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-03-17 [wwp]       2.8.1cvs21
+
+       * src/inc.c
+               Fix a compiler warning.
+
 2007-03-16 [wwp]       2.8.1cvs20
 
        * tools/Makefile.am
index 2854e737d43538c69d434d0ce145bc6957c15fc9..9294c127463c598d82803a82a3cc62025c9e57f9 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( diff -u /dev/null tools/mairix.sh;  ) > 2.8.1cvs18.patchset
 ( cvs diff -u -r 1.12.2.42 -r 1.12.2.43 src/action.c;  ) > 2.8.1cvs19.patchset
 ( cvs diff -u -r 1.25.2.18 -r 1.25.2.19 tools/Makefile.am;  cvs diff -u -r 1.30.2.18 -r 1.30.2.19 tools/README;  ) > 2.8.1cvs20.patchset
+( cvs diff -u -r 1.149.2.66 -r 1.149.2.67 src/inc.c;  ) > 2.8.1cvs21.patchset
index f5eb8d73f0b0578ae0e5f9613cb40f043a5675dd..98cd180d59bb0065bd1731497e1964402ba6bd36 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=1
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=20
+EXTRA_VERSION=21
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 821ce550b14f7782c9d3e6edede25edd6e6b1e9f..ed7f34c63d06dd7a64882b038d2933bd3b1f7145 100644 (file)
--- a/src/inc.c
+++ b/src/inc.c
@@ -146,12 +146,12 @@ static void inc_notify_cmd                (gint new_msgs,
  **/
 static void inc_finished(MainWindow *mainwin, gboolean new_messages, gboolean autocheck)
 {
-       FolderItem *item;
-
        if (prefs_common.scan_all_after_inc)
                folderview_check_new(NULL);
 
        if (!autocheck && prefs_common.open_inbox_on_inc) {
+               FolderItem *item = NULL;
+
                if (cur_account && cur_account->inbox)
                        item = folder_find_item_from_identifier(cur_account->inbox);
                if (item == NULL && cur_account->folder)