diff options
author | Vincent Richard <[email protected]> | 2013-03-06 21:49:21 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2013-03-06 21:49:27 +0000 |
commit | aa8f39e321efc6adeb9082b65bacae4a8bbe9ef2 (patch) | |
tree | 0bfd6b1e2010e00a55409cba1f3b4f69518f3d4d | |
parent | Fixed maximum block size for read(). (diff) | |
download | vmime-aa8f39e321efc6adeb9082b65bacae4a8bbe9ef2.tar.gz vmime-aa8f39e321efc6adeb9082b65bacae4a8bbe9ef2.zip |
Fixed compilation warnings.
-rw-r--r-- | src/mediaType.cpp | 2 | ||||
-rw-r--r-- | src/net/smtp/SMTPCommandSet.cpp | 2 | ||||
-rw-r--r-- | vmime/net/smtp/SMTPCommandSet.hpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mediaType.cpp b/src/mediaType.cpp index 62d65c23..123c8cee 100644 --- a/src/mediaType.cpp +++ b/src/mediaType.cpp @@ -49,7 +49,7 @@ mediaType::mediaType(const string& type, const string& subType) void mediaType::parseImpl - (const parsingContext& ctx, const string& buffer, const string::size_type position, + (const parsingContext& /* ctx */, const string& buffer, const string::size_type position, const string::size_type end, string::size_type* newPosition) { const string::value_type* const pend = buffer.data() + end; diff --git a/src/net/smtp/SMTPCommandSet.cpp b/src/net/smtp/SMTPCommandSet.cpp index 0454e184..a967c3a6 100644 --- a/src/net/smtp/SMTPCommandSet.cpp +++ b/src/net/smtp/SMTPCommandSet.cpp @@ -124,7 +124,7 @@ const string SMTPCommandSet::getText() const } -const bool SMTPCommandSet::isFinished() const +bool SMTPCommandSet::isFinished() const { return (m_pipeline && m_started) || (m_commands.size() == 0 && m_started); } diff --git a/vmime/net/smtp/SMTPCommandSet.hpp b/vmime/net/smtp/SMTPCommandSet.hpp index 5b52ba0a..f97c4b2a 100644 --- a/vmime/net/smtp/SMTPCommandSet.hpp +++ b/vmime/net/smtp/SMTPCommandSet.hpp @@ -70,7 +70,7 @@ public: * @return true if all commands have been sent, * or false otherwise */ - const bool isFinished() const; + bool isFinished() const; /** Returns the last command which has been sent. * |