diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-01-30 22:32:25 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-01-30 22:32:25 +0000 |
commit | 8a07e469f39d4b3c262c63975908c42ae8bb93de (patch) | |
tree | 38c9f229d979138a1dafdffc53d87e9842d4b650 /epan/wslua/init_wslua.c | |
parent | b0d7bf821c0dfeb7a71d2b98197243bd828525f2 (diff) |
Fix a number of msvc level 4 "Unreachable code" warnings by removing unneeded
return statements.
svn path=/trunk/; revision=35709
Diffstat (limited to 'epan/wslua/init_wslua.c')
-rw-r--r-- | epan/wslua/init_wslua.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/wslua/init_wslua.c b/epan/wslua/init_wslua.c index c9bcc848a6..bb4971bef6 100644 --- a/epan/wslua/init_wslua.c +++ b/epan/wslua/init_wslua.c @@ -263,7 +263,7 @@ static void basic_logger(const gchar *log_domain _U_, static int wslua_panic(lua_State* LS) { g_error("LUA PANIC: %s",lua_tostring(LS,-1)); - return 0; + /** g_error() does an abort() and thus never returns **/ } static void lua_load_plugins (const char *dirname) |