Skip to content

Commit

Permalink
Fix -Werror in a couple wiki examples
Browse files Browse the repository at this point in the history
Resolves warnings error: unused parameter 'argc'
[-Werror=unused-parameter] etc.

Signed-off-by: Nathan Ellingwood <[email protected]>
  • Loading branch information
ndellingwood committed Jan 9, 2025
1 parent e0ff90e commit fafe1d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/wiki/blas/KokkosBlas1_wiki_rotg_rot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ using Vector = Kokkos::View<Scalar*, execution_space>;
using ScalarView = Kokkos::View<Scalar, execution_space>;

int main(int argc, char* argv[]) {
Kokkos::initialize();
Kokkos::initialize(argc, argv);
{
const int N = 10;
Vector x("x", N);
Expand Down
2 changes: 1 addition & 1 deletion example/wiki/blas/KokkosBlas1_wiki_rotmg_rotm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ using ParamView = Kokkos::View<Scalar[5], execution_space>;
using ScalarView = Kokkos::View<Scalar, execution_space>;

int main(int argc, char* argv[]) {
Kokkos::initialize();
Kokkos::initialize(argc, argv);
{
const int N = 10;
Vector x("x", N);
Expand Down

0 comments on commit fafe1d4

Please sign in to comment.