summaryrefslogtreecommitdiff
path: root/src/fiber_thread.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-06-08 10:51:36 +0000
committerrubidium <rubidium@openttd.org>2008-06-08 10:51:36 +0000
commit96d7f87cc99ee04791b9fa097a027a17bb82226b (patch)
tree051108d9da4b980db5e5e7eb8c7b81c8ea89e9ae /src/fiber_thread.cpp
parentb1dc70549245677303a1fdc0da57df92d80242fa (diff)
downloadopenttd-96d7f87cc99ee04791b9fa097a027a17bb82226b.tar.xz
(svn r13411) -Codechange: remove the return value from the thread procs because it is never used.
Diffstat (limited to 'src/fiber_thread.cpp')
-rw-r--r--src/fiber_thread.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/fiber_thread.cpp b/src/fiber_thread.cpp
index 6d311290c..5155b5519 100644
--- a/src/fiber_thread.cpp
+++ b/src/fiber_thread.cpp
@@ -109,7 +109,7 @@ private:
/**
* First function which is called within the fiber.
*/
- static void * CDECL stFiberProc(void *fiber)
+ static void stFiberProc(void *fiber)
{
Fiber_Thread *cur = (Fiber_Thread *)fiber;
/* Now suspend the thread until we get SwitchToFiber() for the first time */
@@ -124,8 +124,6 @@ private:
s_main->m_sem->Set();
throw;
}
-
- return NULL;
}
};