mirror of https://github.com/mgba-emu/mgba.git
All: More warning fixing
This commit is contained in:
parent
f39ab5b353
commit
7ea054ee01
|
@ -14,6 +14,7 @@ void mTimingInit(struct mTiming* timing, int32_t* relativeCycles, int32_t* nextE
|
|||
}
|
||||
|
||||
void mTimingDeinit(struct mTiming* timing) {
|
||||
UNUSED(timing);
|
||||
}
|
||||
|
||||
void mTimingClear(struct mTiming* timing) {
|
||||
|
|
|
@ -94,6 +94,7 @@ void _battlechipTransfer(struct GBASIOBattlechipGate* gate) {
|
|||
}
|
||||
|
||||
void _battlechipTransferEvent(struct mTiming* timing, void* user, uint32_t cyclesLate) {
|
||||
UNUSED(timing);
|
||||
struct GBASIOBattlechipGate* gate = user;
|
||||
|
||||
if (gate->d.p->mode == SIO_NORMAL_32) {
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#define M_TEST_SUITE_DEFINE_SETUP_TEARDOWN(NAME, ...) M_TEST_SUITE_DEFINE_EX(NAME, _testSuite_setup_ ## NAME, _testSuite_teardown_ ## NAME, __VA_ARGS__)
|
||||
#define M_TEST_SUITE_DEFINE_EX(NAME, SETUP, TEARDOWN, ...) \
|
||||
int main(void) { \
|
||||
const static struct CMUnitTest tests[] = { \
|
||||
static const struct CMUnitTest tests[] = { \
|
||||
__VA_ARGS__ \
|
||||
}; \
|
||||
return cmocka_run_group_tests_name(# NAME, tests, SETUP, TEARDOWN); \
|
||||
|
|
Loading…
Reference in New Issue