Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint/lint2 lint: remove unused parameter in read_ln...
details: https://anonhg.NetBSD.org/src/rev/7806a9196683
branches: trunk
changeset: 1028279:7806a9196683
user: rillig <rillig%NetBSD.org@localhost>
date: Sun Dec 19 10:19:58 2021 +0000
description:
lint: remove unused parameter in read_ln_line
diffstat:
usr.bin/xlint/lint2/read.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 34a0f652e06f -r 7806a9196683 usr.bin/xlint/lint2/read.c
--- a/usr.bin/xlint/lint2/read.c Sun Dec 19 10:19:53 2021 +0000
+++ b/usr.bin/xlint/lint2/read.c Sun Dec 19 10:19:58 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: read.c,v 1.72 2021/12/16 03:53:13 rillig Exp $ */
+/* $NetBSD: read.c,v 1.73 2021/12/19 10:19:58 rillig Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: read.c,v 1.72 2021/12/16 03:53:13 rillig Exp $");
+__RCSID("$NetBSD: read.c,v 1.73 2021/12/19 10:19:58 rillig Exp $");
#endif
#include <ctype.h>
@@ -140,7 +140,7 @@
}
static void
-read_ln_line(const char *line, size_t len)
+read_ln_line(const char *line)
{
const char *cp;
int cline, isrc, iline;
@@ -234,7 +234,7 @@
inperr("missing newline after '%s'", &line[len - 1]);
line[len - 1] = '\0';
- read_ln_line(line, len);
+ read_ln_line(line);
readfile_line = NULL;
}
Home |
Main Index |
Thread Index |
Old Index