From e3c5bc8d2ebb9f8ab8f4cb64002bc3b8d0e10e37 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 26 May 2009 15:46:24 +0000 Subject: (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) --- src/3rdparty/squirrel/squirrel/sqapi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/3rdparty') 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; -- cgit v1.2.3-70-g09d2