SF.net SVN: mahogany: [7279] trunk/M/src/mail/MailFolderCC.cpp

[email protected]
Newsgroups gmane.mail.mahogany.cvs
Message-ID <[email protected]>
Revision: 7279
          http://svn.sourceforge.net/mahogany/?rev=7279&view=rev
Author:   vadz
Date:     2007-06-05 16:51:10 -0700 (Tue, 05 Jun 2007)

Log Message:
-----------
suppress warnings when using PY_CALLBACK without examining its return value after last change

Modified Paths:
--------------
    trunk/M/src/mail/MailFolderCC.cpp

Modified: trunk/M/src/mail/MailFolderCC.cpp
===================================================================
--- trunk/M/src/mail/MailFolderCC.cpp	2007-06-05 23:48:25 UTC (rev 7278)
+++ trunk/M/src/mail/MailFolderCC.cpp	2007-06-05 23:51:10 UTC (rev 7279)
@@ -120,7 +120,7 @@
 // macros
 // ----------------------------------------------------------------------------
 
-// c-client wants unsinged char strings while we work with char pointers
+// c-client wants unsigned char strings while we work with char pointers
 // everywhere, provide this macro-like helper function to cast the strings
 // to the correct type (this has the added benefit of forcing implicit
 // conversion of wxString::char_str() to "char *", i.e. we can write
@@ -2487,7 +2487,7 @@
       }
    }
 
-   PY_CALLBACK(MCB_FOLDEROPEN, 0, GetProfile());
+   (void)PY_CALLBACK(MCB_FOLDEROPEN, 0, GetProfile());
 
    return true;   // success
 }


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.