Skip to content

Commit

Permalink
fix unused-parameter warning in samples
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogumil-Sapinski-Mobica committed Jun 22, 2023
1 parent 28f1bda commit fa4f899
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions samples/core/enumopencl/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ static cl_int PrintDeviceInfoSummary(const std::vector<cl::Device> devices)

int main(int argc, char** argv)
{
(void) argc;
(void**) argv;

std::vector<cl::Platform> platforms;
cl::Platform::get(&platforms);
std::cout << "Enumerated " << platforms.size() << " platforms.\n\n";
Expand Down

0 comments on commit fa4f899

Please sign in to comment.