qdbus_loadLibDBus: remove unneeded volatile qualification
The variable is only ever accessed under mutex protection, and doesn't otherwise look like it could be changed by the hardware, so remove the volatile qualifier. Change-Id: I3bb00ed6f8017d662bbf73425a70d52116cc9297 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
85299793ba
commit
210f762f7d
@ -73,7 +73,7 @@ bool qdbus_loadLibDBus()
|
||||
return false;
|
||||
#endif
|
||||
|
||||
static volatile bool triedToLoadLibrary = false;
|
||||
static bool triedToLoadLibrary = false;
|
||||
#ifndef QT_NO_THREAD
|
||||
QMutexLocker locker(QMutexPool::globalInstanceGet((void *)&qdbus_resolve_me));
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user