Remove useless void checks
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user