lm_sensors2/lib data.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Update of /home/cvs/lm_sensors2/lib
> In directory mordac.netroedge.com:/tmp/cvs-serv17424
> 
> Modified Files:
> 	data.c 
> Log Message:
> (Khali) Better warning removal (less code change).
> 

For information, I just undid my previous fix (which I think would have
been working though) and used the recommended way instead, as read on
http://gcc.gnu.org/gcc-3.0/caveats.html.

Quoting:
"The undocumented extension that allowed C programs to have a label at
the end of a compound statement has been deprecated and may be removed
in a future version. Programs that now generate a warning about this may
be fixed by adding a null statement (a single semicolon) after the
label."

I first tried to have CVS understand that the new fix was to be applied
to the previous, not current, version of the file, but I failed. I in
fact don't know if it is possible. So I finally commited it normally, I
hope I didn't break anything.

-- 
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux