Fixed unused variable warnings showing up with Clang

pull/234/head
Cedric Nugteren 2017-12-23 16:07:26 +01:00
parent 7aabeb44cc
commit ef71d8e9b5
2 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,7 @@ TunerSettings GetTunerSettings(const int V, const Arguments<T> &args) {
// Tests for valid arguments
template <typename T>
void TestValidArguments(const int V, const Arguments<T> &) { }
void TestValidArguments(const int, const Arguments<T> &) { }
std::vector<Constraint> SetConstraints(const int V) {
auto constraints = std::vector<Constraint>();
auto MultipleOfX = [] (std::vector<size_t> v) { return IsMultiple(v[0], v[1]); };

View File

@ -142,7 +142,7 @@ public:
}
// Describes how to compute performance metrics
static size_t GetFlops(const Arguments<T> &args) {
static size_t GetFlops(const Arguments<T> &) {
return 1;
}
static size_t GetBytes(const Arguments<T> &args) {