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
commit96d7f87cc99ee04791b9fa097a027a17bb82226b (patch)
tree051108d9da4b980db5e5e7eb8c7b81c8ea89e9ae /src/genworld.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/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;
}
/**