Commit 7b0930d9 by Brooks Moses Committed by Brooks Moses

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

From-SVN: r123244
parent 2aeb72e9
2007-03-26 Brooks Moses <brooks.moses@codesourcery.com> 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. * lang.opt: Minor edits to descriptions.
......
...@@ -233,12 +233,6 @@ show_locus (locus *loc, int c1, int c2) ...@@ -233,12 +233,6 @@ show_locus (locus *loc, int c1, int c2)
if (cmax > terminal_width - 5) if (cmax > terminal_width - 5)
offset = 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 the line itself, taking care not to print more than what can
show up on the terminal. Tabs are converted to spaces, and show up on the terminal. Tabs are converted to spaces, and
nonprintable characters are converted to a "\xNN" sequence. */ 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