Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make make(1): remove unused parameter from UnescapeB...
details: https://anonhg.NetBSD.org/src/rev/e7e318867bbc
branches: trunk
changeset: 947583:e7e318867bbc
user: rillig <rillig%NetBSD.org@localhost>
date: Fri Dec 18 23:13:45 2020 +0000
description:
make(1): remove unused parameter from UnescapeBackslash
diffstat:
usr.bin/make/parse.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (44 lines):
diff -r 19ae969b4190 -r e7e318867bbc usr.bin/make/parse.c
--- a/usr.bin/make/parse.c Fri Dec 18 20:07:39 2020 +0000
+++ b/usr.bin/make/parse.c Fri Dec 18 23:13:45 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: parse.c,v 1.485 2020/12/18 19:02:37 rillig Exp $ */
+/* $NetBSD: parse.c,v 1.486 2020/12/18 23:13:45 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -117,7 +117,7 @@
#include "pathnames.h"
/* "@(#)parse.c 8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: parse.c,v 1.485 2020/12/18 19:02:37 rillig Exp $");
+MAKE_RCSID("$NetBSD: parse.c,v 1.486 2020/12/18 23:13:45 rillig Exp $");
/* types and constants */
@@ -2657,7 +2657,7 @@
}
static void
-UnescapeBackslash(char **out_tp, char **out_ptr, char **inout_escaped,
+UnescapeBackslash(char **out_tp, char **inout_escaped,
char *const line) {
char *tp, *ptr;
char *escaped = *inout_escaped;
@@ -2708,7 +2708,6 @@
}
*out_tp = tp;
- *out_ptr = ptr;
*inout_escaped = escaped;
}
@@ -2842,7 +2841,7 @@
return line;
/* Remove escapes from '\n' and '#' */
- UnescapeBackslash(&tp, &ptr, &escaped, line);
+ UnescapeBackslash(&tp, &escaped, line);
TrimRight(&tp, escaped);
Home |
Main Index |
Thread Index |
Old Index