diff --git a/samples/core/enumopencl/main.cpp b/samples/core/enumopencl/main.cpp index 8412a306..0d1f565f 100644 --- a/samples/core/enumopencl/main.cpp +++ b/samples/core/enumopencl/main.cpp @@ -65,10 +65,8 @@ static cl_int PrintDeviceInfoSummary(const std::vector devices) return CL_SUCCESS; } -int main(int argc, char** argv) +int main(int, char**) { - (void)argc; - (void**)argv; std::vector platforms; cl::Platform::get(&platforms);