Changeset 2068

Show
Ignore:
Timestamp:
06/01/07 11:02:27
Author:
murrayc
Message:

fix some warnings

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ChangeLog

    r2067 r2068  
     12007-06-01  Murray Cumming  <murrayc@murrayc.com> 
     2 
     3        * libtinymail-camel/tny-camel-folder.c: 
     4        (tny_camel_folder_copy_shared): Initialize some variables  
     5        to avoid warnings. 
     6        * libtinymail-maemo/tny-maemo-account-store.c: 
     7        (tny_maemo_account_store_add_store_account), 
     8        (tny_maemo_account_store_add_transport_account): 
     9        Remove unused priv variables, to avoid warnings. 
     10 
    1112007-05-31  Murray Cumming  <murrayc@murrayc.com> 
    212 
  • trunk/libtinymail-camel/tny-camel-folder.c

    r2062 r2068  
    18081808{ 
    18091809        TnyCamelFolderPriv *priv = TNY_CAMEL_FOLDER_GET_PRIVATE (self); 
    1810         TnyFolder *retval
     1810        TnyFolder *retval = NULL
    18111811        gboolean succeeded = FALSE, tried=FALSE; 
    1812         TnyAccount *a, *b
     1812        TnyAccount *a, *b = NULL
    18131813        GError *nerr = NULL; 
    18141814        GError *terr = NULL; 
  • trunk/libtinymail-maemo/tny-maemo-account-store.c

    r2015 r2068  
    4444#include <tny-camel-store-account.h> 
    4545#include <tny-camel-transport-account.h> 
     46#include <tny-camel-imap-store-account.h> 
     47#include <tny-camel-nntp-store-account.h> 
     48#include <tny-camel-pop-store-account.h> 
    4649#include <tny-session-camel.h> 
    4750#include <tny-maemo-device.h> 
     
    522525tny_maemo_account_store_add_store_account (TnyMaemoAccountStore *self, TnyStoreAccount *account) 
    523526{ 
    524         TnyMaemoAccountStorePriv *priv = TNY_MAEMO_ACCOUNT_STORE_GET_PRIVATE (self); 
    525  
    526527        tny_maemo_account_store_notify_remove (TNY_ACCOUNT_STORE (self)); 
    527528        tny_maemo_account_store_add_account (TNY_ACCOUNT_STORE (self), TNY_ACCOUNT (account), "store"); 
     
    536537tny_maemo_account_store_add_transport_account (TnyAccountStore *self, TnyTransportAccount *account) 
    537538{ 
    538         TnyMaemoAccountStorePriv *priv = TNY_MAEMO_ACCOUNT_STORE_GET_PRIVATE (self); 
    539  
    540539        tny_maemo_account_store_notify_remove (TNY_ACCOUNT_STORE (self)); 
    541540        tny_maemo_account_store_add_account (TNY_ACCOUNT_STORE (self), TNY_ACCOUNT (account), "transport");