diff options
Diffstat (limited to 'ltable.c')
-rw-r--r-- | ltable.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltable.c,v 1.6 1997/11/19 17:29:23 roberto Exp roberto $ | 2 | ** $Id: ltable.c,v 1.7 1997/11/21 19:00:46 roberto Exp roberto $ |
3 | ** Lua tables (hash) | 3 | ** Lua tables (hash) |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -44,7 +44,7 @@ static long int hashindex (TObject *ref) | |||
44 | break; | 44 | break; |
45 | default: | 45 | default: |
46 | lua_error("unexpected type to index table"); | 46 | lua_error("unexpected type to index table"); |
47 | h = 0; /* UNREACHEABLE */ | 47 | h = 0; /* to avoid warnings */ |
48 | } | 48 | } |
49 | return (h >= 0 ? h : -(h+1)); | 49 | return (h >= 0 ? h : -(h+1)); |
50 | } | 50 | } |