summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/lua/luaconf.h2
-rw-r--r--apps/plugins/lua/lundump.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/lua/luaconf.h b/apps/plugins/lua/luaconf.h
index 109e680a17..3ed495b207 100644
--- a/apps/plugins/lua/luaconf.h
+++ b/apps/plugins/lua/luaconf.h
@@ -758,6 +758,6 @@ union luai_Cast { double l_d; long l_l; };
758*/ 758*/
759 759
760#include "rockconf.h" 760#include "rockconf.h"
761 761#define LUAC_TRUST_BINARIES
762#endif 762#endif
763 763
diff --git a/apps/plugins/lua/lundump.c b/apps/plugins/lua/lundump.c
index 8010a45795..6a8422de30 100644
--- a/apps/plugins/lua/lundump.c
+++ b/apps/plugins/lua/lundump.c
@@ -28,8 +28,8 @@ typedef struct {
28} LoadState; 28} LoadState;
29 29
30#ifdef LUAC_TRUST_BINARIES 30#ifdef LUAC_TRUST_BINARIES
31#define IF(c,s) 31#define IF(c,s) if (c) error(S,s)
32#define error(S,s) 32#define error(S,s) {(void) S; (void) s;}
33#else 33#else
34#define IF(c,s) if (c) error(S,s) 34#define IF(c,s) if (c) error(S,s)
35 35