Skip to content

Commit 2615fca

Browse files
committed
Fix warnings
1 parent 34f5676 commit 2615fca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Src/Particle/AMReX_Particle_mod_K.H

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ void amrex_deposit_cic (P const& p, int nc, amrex::Array4<amrex::Real> const& rh
1818
#if defined(__GNUC__) && !defined(__clang__)
1919
#pragma GCC diagnostic push
2020
#pragma GCC diagnostic ignored "-Warray-bounds"
21+
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
2122
#endif
2223

2324
#if (AMREX_SPACEDIM == 1)
@@ -124,6 +125,7 @@ void amrex_deposit_particle_dx_cic (P const& p, int nc, amrex::Array4<amrex::Rea
124125
#if defined(__GNUC__) && !defined(__clang__)
125126
#pragma GCC diagnostic push
126127
#pragma GCC diagnostic ignored "-Warray-bounds"
128+
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
127129
#endif
128130

129131
#if (AMREX_SPACEDIM == 1)

0 commit comments

Comments
 (0)