Browse Source

detail (to avoid warnings of unused variable)

Roberto Ierusalimschy 11 years ago
parent
commit
5ebdd326b6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lobject.h

+ 2 - 2
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
 ** Type definitions for Lua objects
 ** See Copyright Notice in lua.h
 ** See Copyright Notice in lua.h
 */
 */
@@ -246,7 +246,7 @@ typedef struct lua_TValue TValue;
 #define setobj(L,obj1,obj2) \
 #define setobj(L,obj1,obj2) \
 	{ const TValue *io2=(obj2); TValue *io1=(obj1); \
 	{ const TValue *io2=(obj2); TValue *io1=(obj1); \
 	  io1->value_ = io2->value_; io1->tt_ = io2->tt_; \
 	  io1->value_ = io2->value_; io1->tt_ = io2->tt_; \
-	  checkliveness(G(L),io1); }
+	  (void)L; checkliveness(G(L),io1); }
 
 
 
 
 /*
 /*