diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-11-30 10:42:49 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-11-30 10:42:49 -0200 |
commit | e21b26a964774e29f24e5f6ae97808fdb5bce9d5 (patch) | |
tree | f512c9e2843fdc12c5bba13e17346633893b3dc3 /lmem.c | |
parent | 0f388193b3d00571126abadfd4dc9bf02ea17b24 (diff) | |
download | lua-e21b26a964774e29f24e5f6ae97808fdb5bce9d5.tar.gz lua-e21b26a964774e29f24e5f6ae97808fdb5bce9d5.tar.bz2 lua-e21b26a964774e29f24e5f6ae97808fdb5bce9d5.zip |
avoid 'return' "to avoid warnings"
Diffstat (limited to 'lmem.c')
-rw-r--r-- | lmem.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lmem.c,v 1.81 2010/12/20 19:40:07 roberto Exp roberto $ | 2 | ** $Id: lmem.c,v 1.82 2011/09/20 19:25:23 roberto Exp roberto $ |
3 | ** Interface to Memory Manager | 3 | ** Interface to Memory Manager |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -63,9 +63,8 @@ void *luaM_growaux_ (lua_State *L, void *block, int *size, size_t size_elems, | |||
63 | } | 63 | } |
64 | 64 | ||
65 | 65 | ||
66 | void *luaM_toobig (lua_State *L) { | 66 | l_noret luaM_toobig (lua_State *L) { |
67 | luaG_runerror(L, "memory allocation error: block too big"); | 67 | luaG_runerror(L, "memory allocation error: block too big"); |
68 | return NULL; /* to avoid warnings */ | ||
69 | } | 68 | } |
70 | 69 | ||
71 | 70 | ||