diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2012-08-24 11:13:38 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-25 01:54:27 +0200 |
commit | 210f762f7d08a07d3919019b53871a537c081667 (patch) | |
tree | defaa2e938ee120035932af4044d67239c0c9b20 /src | |
parent | 85299793ba2bbdbc93087954c29c25daac20b8ff (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/dbus/qdbus_symbols.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbus/qdbus_symbols.cpp b/src/dbus/qdbus_symbols.cpp index 196f422206..cb2225e0db 100644 --- a/src/dbus/qdbus_symbols.cpp +++ b/src/dbus/qdbus_symbols.cpp @@ -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 |