From 5ebdd326b625f32d34ac4036a97d7c565499eaf8 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 29 May 2014 16:30:07 -0300 Subject: detail (to avoid warnings of unused variable) --- lobject.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lobject.h b/lobject.h index e552ba04..dbfe0506 100644 --- 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); } /* -- cgit v1.2.3-55-g6feb