From f7f9891e4967353c6ba89f130cb4235ea7f920dd Mon Sep 17 00:00:00 2001 From: Bogumil Sapinski Mobica <48835513+Bogumil-Sapinski-Mobica@users.noreply.github.com> Date: Tue, 12 Sep 2023 17:48:12 +0200 Subject: [PATCH] Fix warning unused parameter samples (#79) * fix unused-parameter warning in samples * Revert "fix unused-parameter warning in samples" This reverts commit 5f6319ad47776d2a515feadbbedc871dc0857946. * fix unused-parameter warning in samples * fixed formatting issue * removed main parameters names * formatting --- samples/core/enumopencl/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/core/enumopencl/main.cpp b/samples/core/enumopencl/main.cpp index ee180538..74669f14 100644 --- a/samples/core/enumopencl/main.cpp +++ b/samples/core/enumopencl/main.cpp @@ -65,7 +65,7 @@ static cl_int PrintDeviceInfoSummary(const std::vector devices) return CL_SUCCESS; } -int main(int argc, char** argv) +int main(int, char**) { std::vector platforms; cl::Platform::get(&platforms);