summaryrefslogtreecommitdiff
path: root/src/thread
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread')
-rw-r--r--src/thread/thread_pthread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/thread_pthread.cpp b/src/thread/thread_pthread.cpp
index e2af7bac4..ab46c0a0a 100644
--- a/src/thread/thread_pthread.cpp
+++ b/src/thread/thread_pthread.cpp
@@ -71,7 +71,7 @@ private:
/* Call the proc of the creator to continue this thread */
try {
this->proc(this->param);
- } catch (OTTDThreadExitSignal e) {
+ } catch (OTTDThreadExitSignal) {
} catch (...) {
NOT_REACHED();
}