diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-14 12:35:44 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-14 12:35:44 (GMT) |
commit | 05145be7e502d4330ced88d3e55207a99c0a841b (patch) | |
tree | 41a76a506b286cc1c0a6bbf317c89879be7a5079 /src/network | |
parent | b770651f19741907cd415ea9ad6e087cb32cc948 (diff) | |
download | Qt-05145be7e502d4330ced88d3e55207a99c0a841b.zip Qt-05145be7e502d4330ced88d3e55207a99c0a841b.tar.gz Qt-05145be7e502d4330ced88d3e55207a99c0a841b.tar.bz2 |
Fixed coverity warnings
Some dead code removed
Some member not initialized missing
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/ssl/qsslcertificate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/ssl/qsslcertificate.cpp b/src/network/ssl/qsslcertificate.cpp index 43f9301..7e4bd7f 100644 --- a/src/network/ssl/qsslcertificate.cpp +++ b/src/network/ssl/qsslcertificate.cpp @@ -693,7 +693,7 @@ static bool matchLineFeed(const QByteArray &pem, int *offset) ch = pem.at(++*offset); if (ch == '\n') { - *offset++; + *offset += 1; return true; } if (ch == '\r' && pem.size() > (*offset + 1) && pem.at(*offset + 1) == '\n') { |