瀏覽代碼

detail (to avoid warnings of unused variable)

Roberto Ierusalimschy 11 年之前
父節點
當前提交
5ebdd326b6
共有 1 個文件被更改,包括 2 次插入2 次删除
  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
 ** 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); }
 
 
 /*