[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenetwork/kmail
From:       David Faure <faure () kde ! org>
Date:       2003-01-15 16:35:55
[Download RAW message or body]

CVS commit by faure: 

Initialize mJob to 0 in all constructors.


  M +5 -5      cachedimapjob.cpp   1.6


--- kdenetwork/kmail/cachedimapjob.cpp  #1.5:1.6
@@ -21,5 +21,5 @@ CachedImapJob::CachedImapJob( const QVal
                                   KMFolderCachedImap* folder, const QValueList<int>& flags )
   : FolderJob( type ), mFolder( folder ), mUidList( uids ), mFlags( flags ),
-    mMsg(0)
+    mMsg( 0 ), mJob( 0 )
 {
 }
@@ -27,5 +27,5 @@ CachedImapJob::CachedImapJob( const QVal
 CachedImapJob::CachedImapJob( QPtrList<KMMessage>& msgs, JobType type,
                               KMFolderCachedImap* folder )
-  : FolderJob( msgs, QString::null, type, folder ), mFolder( folder ),  mMsg(0)
+  : FolderJob( msgs, QString::null, type, folder ), mFolder( folder ), mMsg( 0 ), mJob( 0 )
 {
 }
@@ -33,5 +33,5 @@ CachedImapJob::CachedImapJob( QPtrList<K
 CachedImapJob::CachedImapJob( const QValueList<KMFolderCachedImap*>& fList,
                                   JobType type, KMFolderCachedImap* folder )
-  : FolderJob( type ), mFolder( folder ), mFolderList( fList ), mMsg(0)
+  : FolderJob( type ), mFolder( folder ), mFolderList( fList ), mMsg( 0 ), mJob( 0 )
 {
 }
@@ -39,5 +39,5 @@ CachedImapJob::CachedImapJob( const QVal
 CachedImapJob::CachedImapJob( const QString& uids, JobType type,
                               KMFolderCachedImap* folder )
-  : FolderJob( type ), mFolder(folder), mMsg(0), mString(uids)
+  : FolderJob( type ), mFolder(folder), mMsg( 0 ), mString(uids), mJob( 0 )
 {
   assert( folder );
@@ -46,5 +46,5 @@ CachedImapJob::CachedImapJob( const QStr
 CachedImapJob::CachedImapJob( const QStringList& folderpaths, JobType type,
                               KMFolderCachedImap* folder )
-  : FolderJob( type ), mFolder( folder ), mFolderPathList( folderpaths ), mMsg(0)
+  : FolderJob( type ), mFolder( folder ), mFolderPathList( folderpaths ), mMsg( 0 ), mJob( 0 )
 {
   assert( folder );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic