diff options
author | William Wilgus <me.theuser@yahoo.com> | 2019-06-27 19:19:07 -0500 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2019-07-09 01:03:58 +0200 |
commit | c7f26de2bfc25865286bfe11b551ff1d3ca7104f (patch) | |
tree | 140132c2846a00c410ac6663f49adeac90a95992 /apps/plugins/lua/lundump.c | |
parent | 3e504c3dcd16ec93fb70b10c4f5a361633d7a77b (diff) | |
download | rockbox-c7f26de2bfc25865286bfe11b551ff1d3ca7104f.tar.gz rockbox-c7f26de2bfc25865286bfe11b551ff1d3ca7104f.zip |
lua remove error messages for pre-compiled chunks
We don't have the functionality in the viewer to run pre-compiled chunks
plus if anyone ever wants to add it its easy enough to remove the define
frees 3K
Change-Id: I8d2086e04b51e3ce147ab8741a7d354cb9bf1ade
Diffstat (limited to 'apps/plugins/lua/lundump.c')
-rw-r--r-- | apps/plugins/lua/lundump.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 | ||