summaryrefslogtreecommitdiff
path: root/src/genworld.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/genworld.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/genworld.cpp')
-rw-r--r--src/genworld.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/genworld.cpp b/src/genworld.cpp
index a870108c5..88e4633e6 100644
--- a/src/genworld.cpp
+++ b/src/genworld.cpp
@@ -85,7 +85,7 @@ bool IsGenerateWorldThreaded()
/**
* The internal, real, generate function.
*/
-static void * CDECL _GenerateWorld(void *arg)
+static void _GenerateWorld(void *arg)
{
try {
_generating_world = true;
@@ -170,7 +170,6 @@ static void * CDECL _GenerateWorld(void *arg)
_generating_world = false;
throw;
}
- return NULL;
}
/**