aboutsummaryrefslogtreecommitdiff
path: root/editors/vi.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/vi.c')
-rw-r--r--editors/vi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/vi.c b/editors/vi.c
index 572e04972..c2d4457e9 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -301,7 +301,7 @@ static void status_line_bold(const char *, ...);
static void not_implemented(const char *); // display "Not implemented" message
static int format_edit_status(void); // format file status on status line
static void redraw(int); // force a full screen refresh
-static char* format_line(char*, int);
+static char* format_line(char* /*, int*/);
static void refresh(int); // update the terminal from screen[]
static void Indicate_Error(void); // use flash or beep to indicate error
@@ -2764,7 +2764,7 @@ static void redraw(int full_screen)
}
//----- Format a text[] line into a buffer ---------------------
-static char* format_line(char *src, int li)
+static char* format_line(char *src /*, int li*/)
{
unsigned char c;
int co;
@@ -2848,7 +2848,7 @@ static void refresh(int full_screen)
int cs, ce; // column start & end
char *out_buf;
// format current text line
- out_buf = format_line(tp, li);
+ out_buf = format_line(tp /*, li*/);
// skip to the end of the current text[] line
if (tp < end) {