- Make some string functions in g_cmds.c cleaner, by DevHC
- embed VM_FREEBUFFERS() macro in do-while-loop
This commit is contained in:
parent
544a1c0c1a
commit
e05c9ad1c2
4 changed files with 4 additions and 4 deletions
|
@ -53,7 +53,7 @@ static void VM_Destroy_Compiled(vm_t* self);
|
|||
|
||||
*/
|
||||
|
||||
#define VMFREE_BUFFERS() {Z_Free(buf); Z_Free(jused);}
|
||||
#define VMFREE_BUFFERS() do {Z_Free(buf); Z_Free(jused);} while(0)
|
||||
static byte *buf = NULL;
|
||||
static byte *jused = NULL;
|
||||
static int compiledOfs = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue