diff options
Diffstat (limited to 'test/testbmk.c')
-rw-r--r-- | test/testbmk.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/testbmk.c b/test/testbmk.c index 0e5c482f8..dd92dcbf6 100644 --- a/test/testbmk.c +++ b/test/testbmk.c @@ -66,6 +66,7 @@ static Mutex mtx1; static msg_t thread1(void *p) {
msg_t msg;
+ (void)p;
do {
chMsgRelease(msg = chMsgWait());
} while (msg);
@@ -223,6 +224,7 @@ msg_t thread4(void *p) { msg_t msg;
Thread *self = chThdSelf();
+ (void)p;
chSysLock();
do {
chSchGoSleepS(PRSUSPENDED);
@@ -367,6 +369,7 @@ const struct testcase testbmk6 = { static msg_t thread3(void *p) {
+ (void)p;
while (!chThdShouldTerminate())
chSemWait(&sem1);
return 0;
@@ -544,7 +547,7 @@ static char *bmk10_gettest(void) { return "Benchmark, virtual timers set/reset";
}
-static void tmo(void *param) {}
+static void tmo(void *param) {(void)param;}
static void bmk10_execute(void) {
static VirtualTimer vt1, vt2;
|