diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-11-26 20:17:02 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-11-26 20:58:23 (GMT) |
commit | 2534805c3fa3dafe4fad7c35687b105c6b01fd97 (patch) | |
tree | d4387b6c95e64c4f39dcfc99bdda6cd207a819bd /src/network/ssl/qsslcertificate.cpp | |
parent | c89ca078ba39780ebe556aff8fff6b92118a0a1d (diff) | |
download | Qt-2534805c3fa3dafe4fad7c35687b105c6b01fd97.zip Qt-2534805c3fa3dafe4fad7c35687b105c6b01fd97.tar.gz Qt-2534805c3fa3dafe4fad7c35687b105c6b01fd97.tar.bz2 |
Fix warning about use of uninitialised variable
Diffstat (limited to 'src/network/ssl/qsslcertificate.cpp')
-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 a3ea555..275c7be 100644 --- a/src/network/ssl/qsslcertificate.cpp +++ b/src/network/ssl/qsslcertificate.cpp @@ -716,7 +716,7 @@ QSslCertificate QSslCertificatePrivate::QSslCertificate_from_X509(X509 *x509) static bool matchLineFeed(const QByteArray &pem, int *offset) { - char ch; + char ch = 0; // ignore extra whitespace at the end of the line while (*offset < pem.size() && (ch = pem.at(*offset)) == ' ') |