Fix an unused parameter warning
This commit is contained in:
parent
2a5662948e
commit
001eb0687b
@ -4,6 +4,7 @@
|
||||
#include <malloc.h>
|
||||
|
||||
#include "test_util.h"
|
||||
#include "../util.h"
|
||||
|
||||
OPTNONE static void leak_memory(void) {
|
||||
(void)!malloc(1024 * 1024 * 1024);
|
||||
@ -12,7 +13,7 @@ OPTNONE static void leak_memory(void) {
|
||||
(void)!malloc(4096);
|
||||
}
|
||||
|
||||
static void *do_work(void *p) {
|
||||
static void *do_work(UNUSED void *p) {
|
||||
leak_memory();
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user