Skip to content

Commit

Permalink
Merge pull request #1417 from LLNL/bugfix/kweiss/warnings
Browse files Browse the repository at this point in the history
Fix warnings w/ clang compiler in Debug config
  • Loading branch information
rhornung67 authored Sep 19, 2024
2 parents 6ad3155 + 71809e0 commit 1235eb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/axom/core/tests/core_array_for_all.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,6 @@ AXOM_TYPED_TEST(core_array_for_all, dynamic_array_initializer_list)
{
using DynamicArray = typename TestFixture::DynamicArray;
using HostArray = typename TestFixture::HostArray;
using ExecSpace = typename TestFixture::ExecSpace;

int kernelAllocID = TestFixture::getKernelAllocatorID();

Expand Down Expand Up @@ -616,7 +615,6 @@ AXOM_TYPED_TEST(core_array_for_all, dynamic_array_resize)
//------------------------------------------------------------------------------
AXOM_TYPED_TEST(core_array_for_all, dynamic_array_of_arrays)
{
using ExecSpace = typename TestFixture::ExecSpace;
using DynamicArray = typename TestFixture::DynamicArray;
using HostArray = typename TestFixture::HostArray;
using ArrayOfArrays =
Expand Down Expand Up @@ -838,7 +836,6 @@ int NonTrivialDtor::dtor_calls {0};

AXOM_TYPED_TEST(core_array_for_all, nontrivial_dtor_obj)
{
using ExecSpace = typename TestFixture::ExecSpace;
using DynamicArray =
typename TestFixture::template DynamicTArray<NonTrivialDtor>;
using HostArray = typename TestFixture::template HostTArray<NonTrivialDtor>;
Expand Down Expand Up @@ -1229,10 +1226,8 @@ AXOM_TYPED_TEST(core_array_for_all, device_insert)
//------------------------------------------------------------------------------
AXOM_TYPED_TEST(core_array_for_all, unified_mem_preference)
{
using ExecSpace = typename TestFixture::ExecSpace;
using KernelArray = typename TestFixture::KernelArray;

int kernelAllocID = TestFixture::getKernelAllocatorID();
#if defined(AXOM_USE_RAJA) && defined(AXOM_USE_CUDA) && defined(AXOM_USE_UMPIRE)
if(TestFixture::exec_space_memory != axom::MemorySpace::Unified &&
TestFixture::exec_space_memory != axom::MemorySpace::Pinned)
Expand Down
2 changes: 2 additions & 0 deletions src/axom/primal/operators/winding_number.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,8 @@ double winding_number(const Point<T, 2>& q,
double edge_tol = 1e-8,
double EPS = 1e-8)
{
AXOM_UNUSED_VAR(EPS);

double ret_val = 0.0;
for(int i = 0; i < carray.size(); i++)
{
Expand Down

0 comments on commit 1235eb8

Please sign in to comment.