[patch, fortran] Remove redundant check in error.c

Brooks Moses brooks.moses@codesourcery.com
Sat Mar 24 20:11:00 GMT 2007


I added this TODO about a year ago, because at that point I wasn't 
completely sure if this particular check was needed or not.  It still 
looks like a no-op to me -- the only things that affect the "offset" 
variable are that it's set to zero some dozen lines above the patch 
region, and of course the two lines of context in the top of the patch 
-- and so I'm now proposing to remove it.

-------------------------------------------------------------------
2007-03-23  Brooks Moses  <brooks.moses@codesourcery.com>

	* error.c (show_locus): Remove always-false test.

-------------------------------------------------------------------

Tested with "make check-fortran" on i686-pc-linux-gnu.  Ok for mainline?

- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error-offset-cleanup.diff
Type: text/x-patch
Size: 632 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070324/a2c54676/attachment.bin>


More information about the Gcc-patches mailing list