mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-11-27 05:40:06 +00:00
Fix unused param errors when Effcee not present
This commit is contained in:
parent
a3e3869540
commit
9532aede29
@ -64,7 +64,9 @@ void Match(const std::string& checks, opt::IRContext* context) {
|
|||||||
EXPECT_EQ(effcee::Result::Status::Ok, match_result.status())
|
EXPECT_EQ(effcee::Result::Status::Ok, match_result.status())
|
||||||
<< match_result.message() << "\nChecking result:\n"
|
<< match_result.message() << "\nChecking result:\n"
|
||||||
<< assembly;
|
<< assembly;
|
||||||
#endif // ! SPIRV_EFFCEE
|
#else // ! SPIRV_EFFCEE
|
||||||
|
(void)checks;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -59,7 +59,9 @@ void Match(const std::string& checks, opt::IRContext* context) {
|
|||||||
EXPECT_EQ(effcee::Result::Status::Ok, match_result.status())
|
EXPECT_EQ(effcee::Result::Status::Ok, match_result.status())
|
||||||
<< match_result.message() << "\nChecking result:\n"
|
<< match_result.message() << "\nChecking result:\n"
|
||||||
<< assembly;
|
<< assembly;
|
||||||
#endif // ! SPIRV_EFFCEE
|
#else // ! SPIRV_EFFCEE
|
||||||
|
(void)checks;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user