From c0836dda740f735c3f6a01b0090870b6c806d479 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 21 Dec 2015 11:02:14 -0200 Subject: avoid empty macro arguments (invalid in C89) --- lgc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lgc.h') diff --git a/lgc.h b/lgc.h index 39691b33..75f24bc0 100644 --- a/lgc.h +++ b/lgc.h @@ -1,5 +1,5 @@ /* -** $Id: lgc.h,v 2.89 2015/10/20 18:00:19 roberto Exp roberto $ +** $Id: lgc.h,v 2.90 2015/10/21 18:15:15 roberto Exp roberto $ ** Garbage Collector ** See Copyright Notice in lua.h */ @@ -112,7 +112,7 @@ condchangemem(L,pre,pos); } /* more often than not, 'pre'/'pos' are empty */ -#define luaC_checkGC(L) luaC_condGC(L,,) +#define luaC_checkGC(L) luaC_condGC(L,(void)0,(void)0) #define luaC_barrier(L,p,v) ( \ -- cgit v1.2.3-55-g6feb