On 11.08.2025 10:48, Christian König wrote:
...snip...
> 
> Looks valid to me. Potentially just copy&pasted from some older HW generation 
> and not correctly adjusted for r600.
> 
> But the HW handled here is >15 years and the code easily >10 years old. I'm 
> really wondering why gcc only complains now?
> 
> Regards,
> Christian.
> 
> > 
> > Would really appreciate some feedback.
> > (CC-ed Dave)
> > 
> 
That option -Werror=unused-but-set-variable= is new in GCC 16, maybe
that's why it was never caught before?

Would you like me to send a patch?
-- 
Regards,
listout

Reply via email to