Whoops, wrong attachment! Here is the correct one: -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
--- You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
From c46df7a0f5f7a3255cbfee909899fd2e24691e62 Mon Sep 17 00:00:00 2001 From: Jefferson Carpenter <[email protected]> Date: Sun, 22 Apr 2018 01:43:29 -0500 Subject: [PATCH] misc1.c: in open_line, remove retval comment Default is actually FALSE- and it's easy to tell what the default is. Also, `retval` is canonically used as the return value throughout the codebase, so the comment is probably entirely unnecessary. --- src/misc1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc1.c b/src/misc1.c index 135293dd2..4262f1ecd 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -606,7 +606,7 @@ open_line( int newindent = 0; /* auto-indent of the new line */ int n; int trunc_line = FALSE; /* truncate current line afterwards */ - int retval = FALSE; /* return value, default is FAIL */ + int retval = FALSE; #ifdef FEAT_COMMENTS int extra_len = 0; /* length of p_extra string */ int lead_len; /* length of comment leader */ -- 2.11.0
