Remove useless void checks

This commit is contained in:
2026-05-26 19:24:17 -05:00
parent 1f2657cea0
commit 109318aeaf
16 changed files with 44 additions and 94 deletions
+9 -9
View File
@@ -9,7 +9,7 @@
#include "item/inventory.h"
static void test_inventoryInit(void **state) {
(void)state;
inventorystack_t storage[5];
inventory_t inventory;
@@ -37,7 +37,7 @@ static void test_inventoryInit(void **state) {
}
static void test_inventoryItemExists(void **state) {
(void)state;
inventorystack_t storage[5];
inventory_t inventory;
@@ -77,7 +77,7 @@ static void test_inventoryItemExists(void **state) {
}
static void test_inventorySet(void **state) {
(void)state;
inventorystack_t storage[5];
inventory_t inventory;
@@ -135,7 +135,7 @@ static void test_inventorySet(void **state) {
}
static void test_inventoryAdd(void **state) {
(void)state;
inventorystack_t storage[5];
inventory_t inventory;
@@ -172,7 +172,7 @@ static void test_inventoryAdd(void **state) {
}
static void test_inventoryRemove(void **state) {
(void)state;
inventorystack_t storage[5];
inventory_t inventory;
@@ -205,7 +205,7 @@ static void test_inventoryRemove(void **state) {
}
static void test_inventoryGetCount(void **state) {
(void)state;
inventorystack_t storage[5];
inventory_t inventory;
@@ -244,7 +244,7 @@ static void test_inventoryGetCount(void **state) {
}
static void test_inventoryIsFull(void **state) {
(void)state;
inventorystack_t storage[2];
inventory_t inventory;
@@ -281,7 +281,7 @@ static void test_inventoryIsFull(void **state) {
}
static void test_inventoryItemFull(void **state) {
(void)state;
inventorystack_t storage[2];
inventory_t inventory;
@@ -327,7 +327,7 @@ static void test_inventoryItemFull(void **state) {
}
static void test_inventorySort(void **state) {
(void)state;
inventorystack_t storage[5];
inventory_t inventory;