diff --git a/CMakeLists.txt b/CMakeLists.txt index 50fd4c7b..3bac7bfd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -578,8 +578,7 @@ endif() foreach(target _PyPartMC) target_compile_options(${target} PRIVATE $<$:/W4 /WX> - # $<$>:-Wall -Wextra -Wpedantic -Werror> - $<$>:-Wno-unused-parameter> + $<$>:-Wall -Wextra -Wpedantic -Werror -Wno-unused-parameter> ) endforeach() target_compile_definitions(_PyPartMC PRIVATE PMC_USE_SUNDIALS="1") diff --git a/gitmodules/nanobind_json b/gitmodules/nanobind_json index cb8a8565..58c78e5d 160000 --- a/gitmodules/nanobind_json +++ b/gitmodules/nanobind_json @@ -1 +1 @@ -Subproject commit cb8a8565cc3bc7510b448cea6e6ec9cff98a599b +Subproject commit 58c78e5d4e5cf9981817c611c803af352cf2bef6 diff --git a/src/aero_particle.hpp b/src/aero_particle.hpp index de47ca74..ca14e502 100644 --- a/src/aero_particle.hpp +++ b/src/aero_particle.hpp @@ -72,7 +72,6 @@ struct AeroParticle { { int len = AeroData::__len__(*self.aero_data); auto fn = f_aero_particle_volumes; - auto aero_data_ptr = self.aero_data->ptr.f_arg(); return pypartmc::get_array_values_set_len(self, fn, len); }