Fix warnings

This commit is contained in:
Stan Moore
2024-01-10 12:21:22 -07:00
parent db45c23d69
commit 93b7c6e380
2 changed files with 2 additions and 2 deletions

View File

@ -489,7 +489,7 @@ class KissFFTKokkos {
* It can be freed with free(), rather than a kiss_fft-specific function.
*/
static kiss_fft_state_kokkos<DeviceType> kiss_fft_alloc_kokkos(int nfft, int inverse_fft, void *mem, size_t *lenmem)
static kiss_fft_state_kokkos<DeviceType> kiss_fft_alloc_kokkos(int nfft, int inverse_fft, void * /*mem*/, size_t * /*lenmem*/)
{
kiss_fft_state_kokkos<DeviceType> st;
int i;

View File

@ -545,7 +545,7 @@ void WriteRestart::force_fields()
all procs call this method, only proc 0 writes to file
------------------------------------------------------------------------- */
void WriteRestart::file_layout(int send_size)
void WriteRestart::file_layout(int /*send_size*/)
{
if (me == 0) write_int(MULTIPROC,multiproc);