In this if() statement, paren_level is already assigned to 0 at
the beginning of the function and doesn't change in between. Thus,
paren_level > 0 is always false.

Signed-off-by: Tim Hentenaar <[email protected]>
---
 src/output.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/output.c b/src/output.c
index bb5d997..bc66c7b 100644
--- a/src/output.c
+++ b/src/output.c
@@ -848,11 +848,6 @@ static void dump_line_code(
          target_col = compute_code_target (paren_targ);
       }
 
-      if (paren_level > 0)
-      {
-         target_col += 
parser_state_tos->paren_indents[parser_state_tos->p_l_follow + paren_level- 1];
-      }
-
      /* If a line ends in an lparen character, the following line should
       * not line up with the parenthesis, but should be indented by the
       * usual amount.  */
-- 
2.3.6


_______________________________________________
bug-indent mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-indent

Reply via email to