On Wed, May 13, 2009 at 2:43 AM, Colin Miller <[email protected]> wrote:
> André Wöbbeking wrote:
>
> Valgrind only reports when an unused variable is used for flow-control
> (or, hopefuly I/O).
>
> Swapping doesn't trigger the alert. This is because, in C, structures
> can legitimately have
> uninitialised areas due to nested unions or padding.

There's more on this in the manual.  And this blog post discusses it
in even more detail:

http://blog.mozilla.com/nnethercote/2009/02/27/eliminating-undefined-values-with-valgrind-the-easy-way/

Nick

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to