Prevent some compiler warnings.

svn path=/trunk/kdenetwork/kmail/; revision=98230
wilder-work
Michael Haeckel 25 years ago
parent c580d6066c
commit 669052969c
  1. 2
      kmfilteraction.cpp
  2. 7
      kmfolder.cpp
  3. 1
      kmheaders.cpp
  4. 3
      kmkernel.cpp
  5. 5
      kmreaderwin.cpp

@ -727,8 +727,6 @@ KMFilterAction::ReturnCode KMFilterActionExtFilter::process(KMMessage* aMsg, boo
// write message to file
QString msgText, tempFileName;
FILE *fh;
bool ok = TRUE;
tempFileName = inFile->name();
kCStringToFile( aMsg->asString().data(), tempFileName,

@ -1921,8 +1921,11 @@ void KMFolder::setProcmailLockFileName( const QString &fname )
mProcmailLockFileName = fname;
}
bool
KMFolder::updateIndexStreamPtr(bool just_close)
#ifdef HAVE_MMAP
bool KMFolder::updateIndexStreamPtr(bool just_close)
#else
bool KMFolder::updateIndexStreamPtr(bool)
#endif
{
#ifdef HAVE_MMAP
if(just_close) {

@ -2550,7 +2550,6 @@ static void internalWriteItem(FILE *sortStream, int msgid, int parent_id,
bool KMHeaders::writeSortOrder()
{
int rc = 0;
if (mSortInfo.removed)
return TRUE; // Need serial ids to optimize this out
QString sortFile = KMAIL_SORT_FILE(mFolder);

@ -83,9 +83,6 @@ void KMKernel::checkMail () //might create a new reader but won
void KMKernel::openReader()
{
#ifdef __GNUC__
#warning Ugly hack! (sven)
#endif
KMMainWin *mWin = 0;
KMainWindow *ktmw = 0;
kdDebug() << "KMKernel::openReader called" << endl;

@ -450,7 +450,8 @@ void KMReaderWin::displayAboutPage()
i18n("<p>Some of the new features in this release of KMail include "
"(compared to KMail 1.2, which is part of KDE 2.1):</p>\n"
"<ul>\n"
"<li>IMAP support</li>\n"
"<li>IMAP support including SSL and TLS</li>\n"
"<li>SSL and TLS support for POP3</li>\n"
"<li>Non-blocking sending</li>\n"
"<li>Performance improvements for huge folders</li>\n"
"<li>Message scoring</li>\n"
@ -466,8 +467,6 @@ void KMReaderWin::displayAboutPage()
"<li>Better procmail support via the local account</li>\n"
"<li>Messages can be flagged</li>\n"
"<li>Read the new messages by only hitting the space key</li>\n"
"<li>SSL and TLS support for POP3</li>\n"
"<li>SSL support for IMAP</li>\n"
"</ul>\n");
if( kernel->firstStart() ) {
info += i18n("<p>Please take a moment to fill in the KMail configuration panel at "

Loading…
Cancel
Save