summaryrefslogtreecommitdiff
path: root/src/3rdparty/squirrel
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-05-26 15:46:24 +0000
committerrubidium <rubidium@openttd.org>2009-05-26 15:46:24 +0000
commite3c5bc8d2ebb9f8ab8f4cb64002bc3b8d0e10e37 (patch)
tree65f84aef7bfb97e14166b4b973f182e4c7a6c0f7 /src/3rdparty/squirrel
parent2a5a8f395c0c71146259433a1a4abe7807d2f8ac (diff)
downloadopenttd-e3c5bc8d2ebb9f8ab8f4cb64002bc3b8d0e10e37.tar.xz
(svn r16434) -Cleanup: remove some dead code; primarily stuff that can't be reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
Diffstat (limited to 'src/3rdparty/squirrel')
-rw-r--r--src/3rdparty/squirrel/squirrel/sqapi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/squirrel/squirrel/sqapi.cpp b/src/3rdparty/squirrel/squirrel/sqapi.cpp
index 34d32ec85..10b3469f4 100644
--- a/src/3rdparty/squirrel/squirrel/sqapi.cpp
+++ b/src/3rdparty/squirrel/squirrel/sqapi.cpp
@@ -829,7 +829,7 @@ SQRESULT sq_getdelegate(HSQUIRRELVM v,SQInteger idx)
}
v->Push(SQObjectPtr(_delegable(self)->_delegate));
break;
- default: return sq_throwerror(v,_SC("wrong type")); break;
+ default: return sq_throwerror(v,_SC("wrong type"));
}
return SQ_OK;