summaryrefslogtreecommitdiffstats
path: root/src/network/ssl
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-11-26 20:17:02 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-11-26 20:58:23 (GMT)
commit2534805c3fa3dafe4fad7c35687b105c6b01fd97 (patch)
treed4387b6c95e64c4f39dcfc99bdda6cd207a819bd /src/network/ssl
parentc89ca078ba39780ebe556aff8fff6b92118a0a1d (diff)
downloadQt-2534805c3fa3dafe4fad7c35687b105c6b01fd97.zip
Qt-2534805c3fa3dafe4fad7c35687b105c6b01fd97.tar.gz
Qt-2534805c3fa3dafe4fad7c35687b105c6b01fd97.tar.bz2
Fix warning about use of uninitialised variable
Diffstat (limited to 'src/network/ssl')
-rw-r--r--src/network/ssl/qsslcertificate.cpp2
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)) == ' ')