summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-09-17 17:52:50 +0000
committerrubidium <rubidium@openttd.org>2014-09-17 17:52:50 +0000
commit6defde275c0193ddddea38eece1a0c30bc45b058 (patch)
treeb7ebbd82f024f0f04f9db1e75ae32cb20da42e7e /src
parent6c48b3a82ef3a55ab8647760c3a99b81749b7209 (diff)
downloadopenttd-6defde275c0193ddddea38eece1a0c30bc45b058.tar.xz
(svn r26844) -Fix: clang compile error
Diffstat (limited to 'src')
-rw-r--r--src/3rdparty/squirrel/squirrel/sqcompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/squirrel/squirrel/sqcompiler.cpp b/src/3rdparty/squirrel/squirrel/sqcompiler.cpp
index 1b3906de3..9c4b547e9 100644
--- a/src/3rdparty/squirrel/squirrel/sqcompiler.cpp
+++ b/src/3rdparty/squirrel/squirrel/sqcompiler.cpp
@@ -63,7 +63,7 @@ public:
_sourcename = SQString::Create(_ss(v), sourcename);
_lineinfo = lineinfo;_raiseerror = raiseerror;
}
- static void ThrowError(void *ud, const SQChar *s) {
+ NORETURN static void ThrowError(void *ud, const SQChar *s) {
SQCompiler *c = (SQCompiler *)ud;
c->Error(s);
}