Skip to content

Commit

Permalink
Fix warning unused parameter samples (#79)
Browse files Browse the repository at this point in the history
* fix unused-parameter warning in samples

* Revert "fix unused-parameter warning in samples"

This reverts commit 5f6319a.

* fix unused-parameter warning in samples

* fixed formatting issue

* removed main parameters names

* formatting
  • Loading branch information
Bogumil-Sapinski-Mobica authored Sep 12, 2023
1 parent ae7fcae commit f7f9891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/core/enumopencl/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ static cl_int PrintDeviceInfoSummary(const std::vector<cl::Device> devices)
return CL_SUCCESS;
}

int main(int argc, char** argv)
int main(int, char**)
{
std::vector<cl::Platform> platforms;
cl::Platform::get(&platforms);
Expand Down

0 comments on commit f7f9891

Please sign in to comment.