Commit 1c88c6ac authored by brooks's avatar brooks
Browse files

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123244 138bc75d-0d04-0410-961f-82ee72b054a4
parent 5084f823
No related merge requests found
2007-03-26 Brooks Moses <brooks.moses@codesourcery.com>
* error.c (show_locus): Remove always-false test.
2007-03-26 Brooks Moses <brooks.moses@codesourcery.com>
* lang.opt: Minor edits to descriptions.
......
......@@ -233,12 +233,6 @@ show_locus (locus *loc, int c1, int c2)
if (cmax > terminal_width - 5)
offset = cmax - terminal_width + 5;
/* TODO: Is there a good reason for the following apparently-redundant
check, and the similar ones in the single-locus cases below? */
if (offset < 0)
offset = 0;
/* Show the line itself, taking care not to print more than what can
show up on the terminal. Tabs are converted to spaces, and
nonprintable characters are converted to a "\xNN" sequence. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment