diff options
author | João Abecasis <joao@abecasis.name> | 2009-10-07 07:44:18 (GMT) |
---|---|---|
committer | João Abecasis <joao@abecasis.name> | 2009-10-07 10:44:41 (GMT) |
commit | 41a47906475f3970bd662c3d24e7e642ea65a191 (patch) | |
tree | bda10c4b1885e7754481749626b5dcbe5362c07a /src/corelib/thread | |
parent | 350410f19fd589986e51eba8f018abd92eddc287 (diff) | |
download | Qt-41a47906475f3970bd662c3d24e7e642ea65a191.zip Qt-41a47906475f3970bd662c3d24e7e642ea65a191.tar.gz Qt-41a47906475f3970bd662c3d24e7e642ea65a191.tar.bz2 |
Fixing some GCC warnings
Reviewed-by: Markus Goetz
Diffstat (limited to 'src/corelib/thread')
-rw-r--r-- | src/corelib/thread/qthread_unix.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/thread/qthread_unix.cpp b/src/corelib/thread/qthread_unix.cpp index c590553..21b5e65 100644 --- a/src/corelib/thread/qthread_unix.cpp +++ b/src/corelib/thread/qthread_unix.cpp @@ -624,6 +624,7 @@ void QThread::setTerminationEnabled(bool enabled) Q_ASSERT_X(thr != 0, "QThread::setTerminationEnabled()", "Current thread was not started with QThread."); #ifndef Q_OS_SYMBIAN + Q_UNUSED(thr) pthread_setcancelstate(enabled ? PTHREAD_CANCEL_ENABLE : PTHREAD_CANCEL_DISABLE, NULL); if (enabled) pthread_testcancel(); |