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: remove redundant initialization in ApplyM...



details:   https://anonhg.NetBSD.org/src/rev/42b3c59c1eac
branches:  trunk
changeset: 985107:42b3c59c1eac
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Aug 08 12:00:30 2021 +0000

description:
make: remove redundant initialization in ApplyModifier_Order

No functional change.

diffstat:

 usr.bin/make/var.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3788a3cf1ca0 -r 42b3c59c1eac usr.bin/make/var.c
--- a/usr.bin/make/var.c        Sun Aug 08 11:56:35 2021 +0000
+++ b/usr.bin/make/var.c        Sun Aug 08 12:00:30 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: var.c,v 1.945 2021/07/31 09:30:17 rillig Exp $ */
+/*     $NetBSD: var.c,v 1.946 2021/08/08 12:00:30 rillig Exp $ */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -140,7 +140,7 @@
 #include "metachar.h"
 
 /*     "@(#)var.c      8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: var.c,v 1.945 2021/07/31 09:30:17 rillig Exp $");
+MAKE_RCSID("$NetBSD: var.c,v 1.946 2021/08/08 12:00:30 rillig Exp $");
 
 /*
  * Variables are defined using one of the VAR=value assignments.  Their
@@ -3355,7 +3355,7 @@
 {
        const char *mod = *pp;
        Words words;
-       int (*cmp)(const void *, const void *) = NULL;
+       int (*cmp)(const void *, const void *);
 
        if (IsDelimiter(mod[1], ch) || mod[1] == '\0') {
                cmp = str_cmp_asc;



Home | Main Index | Thread Index | Old Index