2007-09-28 [colin] 3.0.1cvs45
authorColin Leroy <colin@colino.net>
Fri, 28 Sep 2007 21:14:41 +0000 (21:14 +0000)
committerColin Leroy <colin@colino.net>
Fri, 28 Sep 2007 21:14:41 +0000 (21:14 +0000)
* src/addressbook.c
* src/addrindex.c
Fix warnings

ChangeLog
PATCHSETS
configure.ac
src/addressbook.c
src/addrindex.c

index b3fff0920568e2ae0b6f7a3003ff0ba4d486112b..8949e6e381950c760abff88b161ec3b5832de2b8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-09-28 [colin]     3.0.1cvs45
+
+       * src/addressbook.c
+       * src/addrindex.c
+               Fix warnings
+
 2007-09-28 [paul]      3.0.1cvs44
 
        * src/mimeview.c
index 6af40586ecba3a3fa966080d1e3100d297dcde34..64a61855e261ba033ca82526dff66cdb04c763c1 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.56.2.55 -r 1.56.2.56 src/pop.c;  ) > 3.0.1cvs42.patchset
 ( cvs diff -u -r 1.61.2.69 -r 1.61.2.70 src/account.c;  ) > 3.0.1cvs43.patchset
 ( cvs diff -u -r 1.83.2.116 -r 1.83.2.117 src/mimeview.c;  ) > 3.0.1cvs44.patchset
+( cvs diff -u -r 1.60.2.97 -r 1.60.2.98 src/addressbook.c;  cvs diff -u -r 1.28.2.30 -r 1.28.2.31 src/addrindex.c;  ) > 3.0.1cvs45.patchset
index 704159674b7af06e0d9e1ce746813ff04132b491..fec920f97d2bd52346ef2f29bd5105d658a273d1 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=0
 MICRO_VERSION=1
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=44
+EXTRA_VERSION=45
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 1c326f6c5da28f180584785905a86c27402c92ec..a674115361398918020c4fa8198aee5c595ed655 100644 (file)
@@ -3404,7 +3404,9 @@ static void addressbook_folder_load_one_person(
        gchar *text[N_LIST_COLS];
        gboolean flgFirst = TRUE, haveAddr = FALSE;
        GList *node;
+#ifdef USE_LDAP
        AddressBookFile *abf = addressbook_get_book_file();
+#endif
 
        if( person == NULL ) return;
 
index 6885b5644dffd58dbebe6a87c4b721a666ff5c1e..ea3aeb9583034fa501c986116bfff094e93a8913 100644 (file)
@@ -1716,12 +1716,15 @@ static gint addrindex_write_to( AddressIndex *addrIndex, const gchar *newFile )
 * return: Status code, from addrIndex->retVal.
 */
 gint addrindex_save_data( AddressIndex *addrIndex ) {
-       GList *nodeIf, *nodeDS;
-
+#ifdef USE_LDAP
+       GList *nodeIf;
+       GList *nodeDS;
+#endif
+       
        g_return_val_if_fail( addrIndex != NULL, -1 );
-       nodeIf = addrIndex->interfaceList;
 
 #ifdef USE_LDAP
+       nodeIf = addrIndex->interfaceList;
        /* save LDAP interfaces */
        while ( nodeIf ) {
                AddressInterface *iface = nodeIf->data;