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
commit4657ae97fcd9487adb882f8634ad5cfe589d034c (patch)
tree051108d9da4b980db5e5e7eb8c7b81c8ea89e9ae /src/fiber_thread.cpp
parentd49a86cf48a091c1cd78d9e440b648707946060d (diff)
downloadopenttd-4657ae97fcd9487adb882f8634ad5cfe589d034c.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;
}
};