Remove spurous initializer for QByteArray

Change-Id: Ie0d1a068394283c724ab4f4aa0b5fc8ce06b1b08
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
Edward Welbourne 2020-04-28 17:56:48 +02:00
parent 1978bfa69a
commit 0534aeffe9

View File

@ -56,7 +56,7 @@ QT_BEGIN_NAMESPACE
static QByteArray envVarLocale()
{
static QByteArray lang = 0;
static QByteArray lang;
#ifdef Q_OS_UNIX
lang = qgetenv("LC_ALL");
if (lang.isEmpty())