mirror of
https://github.com/thunderbrewhq/squall.git
synced 2026-02-04 00:49:08 +00:00
chore(build): resolve MSVC warnings
This commit is contained in:
parent
df14314ea1
commit
92b0c4778f
6 changed files with 19 additions and 10 deletions
|
|
@ -1,11 +1,14 @@
|
|||
#include "storm/Handle.hpp"
|
||||
#include "test/Test.hpp"
|
||||
|
||||
#define UNUSED(x) ((void)x)
|
||||
|
||||
TEST_CASE("DECLARE_STORM_HANDLE", "[handle]") {
|
||||
SECTION("declares handle") {
|
||||
DECLARE_STORM_HANDLE(HTEST);
|
||||
HTEST test;
|
||||
|
||||
UNUSED(test);
|
||||
SUCCEED();
|
||||
}
|
||||
}
|
||||
|
|
@ -18,6 +21,8 @@ TEST_CASE("DECLARE_STORM_CHILD_HANDLE", "[handle]") {
|
|||
HPARENT parent;
|
||||
HCHILD child;
|
||||
|
||||
UNUSED(parent);
|
||||
UNUSED(child);
|
||||
SUCCEED();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue