gcc compiler warning fixes (#1977)

* fix for enum-int-mismatch

* fix for unused-variable
This commit is contained in:
BitMaskMixer
2024-07-19 05:09:57 +02:00
committed by GitHub
parent 1ed4c43ff3
commit 8e6499fb0b
3 changed files with 5 additions and 5 deletions

View File

@@ -94,14 +94,14 @@ static inline void jit_write_protect(int enabled)
#define JIT_CALLBACK_GUARD(x) \
{ \
(void*)uc; \
(void)uc; \
x; \
} \
#define JIT_CALLBACK_GUARD_VAR(var, x) \
{ \
(void*)uc; \
(void)uc; \
var = x; \
} \