Remove some "set but not used" variables

d binderman dcb314@hotmail.com
Sat Nov 7 12:18:00 GMT 2009



Hello there,

Please find attached a small patch which removes some trivially
redundant variables from the source code of version 4.5 snapshot 20091105.

Here is a possible ChangeLog entry

2009-11-07  David Binderman <dcb314@hotmail.com>

        * builtins.c (apply_args_size, expand_builtin_mathfn, expand_powi,
        expand_builtin_expect, maybe_emit_sprintf_chk_warning):
        Remove some set but not used variables.
        * calls.c (flags_from_decl_or_type): Same.
        * genautomata.c (check_regexp_units_distribution): Same.

I've built and tested the patch and it seemed ok to me.

Regards

David Binderman
 		 	   		  
_________________________________________________________________
New Windows 7: Find the right PC for you. Learn more.
http://www.microsoft.com/uk/windows/buy/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug96.2.patch
Type: text/x-patch
Size: 3597 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20091107/eb83c9c2/attachment.bin>


More information about the Gcc-patches mailing list