1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
William Wilgus 2019-06-27 19:19:07 -05:00
parent 3e504c3dcd
commit c7f26de2bf
2 changed files with 3 additions and 3 deletions

View file

@ -28,8 +28,8 @@ typedef struct {
} LoadState;
#ifdef LUAC_TRUST_BINARIES
#define IF(c,s)
#define error(S,s)
#define IF(c,s) if (c) error(S,s)
#define error(S,s) {(void) S; (void) s;}
#else
#define IF(c,s) if (c) error(S,s)