lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 5ebdd326b625f32d34ac4036a97d7c565499eaf8
parent 84db17b6fc366b26eca33d4d5f6b3a204518e9dd
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Thu, 29 May 2014 16:29:42 -0300

detail (to avoid warnings of unused variable)

Diffstat:
Mlobject.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lobject.h b/lobject.h @@ -1,5 +1,5 @@ /* -** $Id: lobject.h,v 2.91 2014/05/15 20:28:39 roberto Exp roberto $ +** $Id: lobject.h,v 2.92 2014/05/15 20:41:27 roberto Exp roberto $ ** Type definitions for Lua objects ** See Copyright Notice in lua.h */ @@ -246,7 +246,7 @@ typedef struct lua_TValue TValue; #define setobj(L,obj1,obj2) \ { const TValue *io2=(obj2); TValue *io1=(obj1); \ io1->value_ = io2->value_; io1->tt_ = io2->tt_; \ - checkliveness(G(L),io1); } + (void)L; checkliveness(G(L),io1); } /*