diff options
author | rubidium <rubidium@openttd.org> | 2008-06-08 10:51:36 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-06-08 10:51:36 +0000 |
commit | 4657ae97fcd9487adb882f8634ad5cfe589d034c (patch) | |
tree | 051108d9da4b980db5e5e7eb8c7b81c8ea89e9ae /src/genworld.cpp | |
parent | d49a86cf48a091c1cd78d9e440b648707946060d (diff) | |
download | openttd-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.cpp | 3 |
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; } /** |