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:
Marc Mutz 2012-08-24 11:13:38 +02:00 committed by Qt by Nokia
parent 85299793ba
commit 210f762f7d

View File

@ -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