Fix some warnings

This commit is contained in:
Megamouse 2024-03-26 11:28:50 +01:00
parent 0e73b58abf
commit e05239f3d9
2 changed files with 1 additions and 6 deletions

View file

@ -4690,8 +4690,6 @@ struct spu_llvm
auto workers_ptr = m_workers.load();
auto& workers = *workers_ptr;
usz add_count = 65535;
while (thread_ctrl::state() != thread_state::aborting)
{
for (const auto& pair : registered.pop_all())
@ -4722,7 +4720,6 @@ struct spu_llvm
// Interrupt profiler thread and put it to sleep
static_cast<void>(prof_mutex.reset());
thread_ctrl::wait_on(utils::bless<atomic_t<u32>>(&registered)[1], 0);
add_count = 65535; // Reset count
std::fill(notify_compile.begin(), notify_compile.end(), 0); // Reset notification flags
notify_compile_count = 0;
compile_pending = 0;