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:
parent
3e504c3dcd
commit
c7f26de2bf
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue