Fixed compilation warnings.
This commit is contained in:
parent
4df4ed54dd
commit
aa8f39e321
@ -49,7 +49,7 @@ mediaType::mediaType(const string& type, const string& subType)
|
|||||||
|
|
||||||
|
|
||||||
void mediaType::parseImpl
|
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::size_type end, string::size_type* newPosition)
|
||||||
{
|
{
|
||||||
const string::value_type* const pend = buffer.data() + end;
|
const string::value_type* const pend = buffer.data() + end;
|
||||||
|
@ -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);
|
return (m_pipeline && m_started) || (m_commands.size() == 0 && m_started);
|
||||||
}
|
}
|
||||||
|
@ -70,7 +70,7 @@ public:
|
|||||||
* @return true if all commands have been sent,
|
* @return true if all commands have been sent,
|
||||||
* or false otherwise
|
* or false otherwise
|
||||||
*/
|
*/
|
||||||
const bool isFinished() const;
|
bool isFinished() const;
|
||||||
|
|
||||||
/** Returns the last command which has been sent.
|
/** Returns the last command which has been sent.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user