Fix unused param errors when Effcee not present

This commit is contained in:
Sean Purcell 2018-07-09 14:54:15 -04:00 committed by David Neto
parent a3e3869540
commit 9532aede29
2 changed files with 6 additions and 2 deletions

View File

@ -64,7 +64,9 @@ void Match(const std::string& checks, opt::IRContext* context) {
EXPECT_EQ(effcee::Result::Status::Ok, match_result.status())
<< match_result.message() << "\nChecking result:\n"
<< assembly;
#endif // ! SPIRV_EFFCEE
#else // ! SPIRV_EFFCEE
(void)checks;
#endif
}
/*

View File

@ -59,7 +59,9 @@ void Match(const std::string& checks, opt::IRContext* context) {
EXPECT_EQ(effcee::Result::Status::Ok, match_result.status())
<< match_result.message() << "\nChecking result:\n"
<< assembly;
#endif // ! SPIRV_EFFCEE
#else // ! SPIRV_EFFCEE
(void)checks;
#endif
}
/*