diff options
author | Vincent Richard <[email protected]> | 2021-11-25 20:57:07 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2021-11-25 20:57:07 +0000 |
commit | 23ab2a6a3c927c99bfc1a0bedd94e283c05ca59d (patch) | |
tree | f4e9bb240ca211db15f4a8f51404bde3befc1480 /tests | |
parent | #268 Code style fixes + moved specific bits to IMAP namespace (diff) | |
download | vmime-23ab2a6a3c927c99bfc1a0bedd94e283c05ca59d.tar.gz vmime-23ab2a6a3c927c99bfc1a0bedd94e283c05ca59d.zip |
Fixed Cppcheck issues.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/net/smtp/SMTPTransportTestUtils.hpp | 1 | ||||
-rw-r--r-- | tests/testUtils.hpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/net/smtp/SMTPTransportTestUtils.hpp b/tests/net/smtp/SMTPTransportTestUtils.hpp index 8710639f..c0d4e54f 100644 --- a/tests/net/smtp/SMTPTransportTestUtils.hpp +++ b/tests/net/smtp/SMTPTransportTestUtils.hpp @@ -241,6 +241,7 @@ public: m_state = STATE_NOT_CONNECTED; m_bdatChunkCount = 0; + m_bdatChunkSize = m_bdatChunkReceived = 0; m_ehloSent = m_mailSent = m_rcptSent = m_quitSent = false; } diff --git a/tests/testUtils.hpp b/tests/testUtils.hpp index f625dec0..06ddb3e2 100644 --- a/tests/testUtils.hpp +++ b/tests/testUtils.hpp @@ -93,7 +93,7 @@ namespace CppUnit { // Work-around for comparing 'std::string' against 'char*' inline void assertEquals( const char* expected, - const std::string actual, + const std::string &actual, SourceLine sourceLine, const std::string &message ) { |