lkml.org 
[lkml]   [2010]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH] [0/23] Fix gcc 4.6 set but unused variable warnings
Date

gcc 4.6 -Wall gained a new set but unused variable warning.

First it was incredibly noisy, but when looking at it in detail it
actually found some bugs.

I haven't tried to fix all occurrences, but
at least the major ones for my configuration.

If someone is interested more work would be possible
on this.

There are still some warnings left, but no flood
and there's really usually some code improvement.

In a few cases I simply shut up the compiler, but
in many other cases dead code is gone or a real
problem has been fixed.

Some of the changes need more review (especially marked
and with suitable cc), but most are straight forward.

I did not fix all bugs -- those that were too hard
are just commented with the warning left in.
I also marked areas that need more attention in
the individual patches.

Andrew, something for your tree?

-Andi


\
 
 \ /
  Last update: 2010-06-10 13:17    [W:0.178 / U:0.432 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site