All: More warning fixing
Vicki Pfau vi@endrift.com
Wed, 08 May 2019 11:25:31 -0700
3 files changed,
3 insertions(+),
1 deletions(-)
M
src/core/timing.c
→
src/core/timing.c
@@ -14,6 +14,7 @@ timing->nextEvent = nextEvent;
} void mTimingDeinit(struct mTiming* timing) { + UNUSED(timing); } void mTimingClear(struct mTiming* timing) {
M
src/gba/extra/battlechip.c
→
src/gba/extra/battlechip.c
@@ -94,6 +94,7 @@ mTimingSchedule(&gate->d.p->p->timing, &gate->event, cycles);
} void _battlechipTransferEvent(struct mTiming* timing, void* user, uint32_t cyclesLate) { + UNUSED(timing); struct GBASIOBattlechipGate* gate = user; if (gate->d.p->mode == SIO_NORMAL_32) {
M
src/util/test/suite.h
→
src/util/test/suite.h
@@ -18,7 +18,7 @@ #define M_TEST_SUITE_DEFINE_TEARDOWN(NAME, ...) M_TEST_SUITE_DEFINE_EX(NAME, NULL, _testSuite_teardown_ ## NAME, __VA_ARGS__)
#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); \