SSL: remove unneeded volatile qualifications
These two variables are only ever accessed under mutex protection, and don't otherwise look like they could be changed by the hardware, so remove the volatile qualifier. Change-Id: I714451bb3e80778b971a901d53fe13e1b01dd84f Reviewed-by: Richard J. Moore <rich@kde.org> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
e8963749a7
commit
7e21ba6845
@ -558,8 +558,8 @@ static QPair<QLibrary*, QLibrary*> loadOpenSsl()
|
||||
|
||||
bool q_resolveOpenSslSymbols()
|
||||
{
|
||||
static volatile bool symbolsResolved = false;
|
||||
static volatile bool triedToResolveSymbols = false;
|
||||
static bool symbolsResolved = false;
|
||||
static bool triedToResolveSymbols = false;
|
||||
#ifndef QT_NO_THREAD
|
||||
QMutexLocker locker(QMutexPool::globalInstanceGet((void *)&q_SSL_library_init));
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user