소스 검색

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); }
 
 
 /*