Hi Bjarni,

At 2026-03-14T19:53:47+0000, Bjarni Ingi Gislason wrote:
> ../src/preproc/html/pushback.cpp: In member function 'int 
> pushBackBuffer::readInt()':
> ../src/preproc/html/pushback.cpp:242:8: warning: variable 'c' set but not 
> used [-Wunused-but-set-variable=]
>   242 |   int  c =0;
> 
> And in line 262
> 
>     c++;

Confirmed by inspection.  Inspect a fix in my next push.

My much older copy of GCC supports that warning option (and I've now
added it to my "paranoid" build script) but its data flow analysis
doesn't detect the problem.

gcc (Debian 10.2.1-6) 10.2.1 20210110

Regards,
Branden

Attachment: signature.asc
Description: PGP signature

Reply via email to