Module Name: src Committed By: rillig Date: Sun Aug 8 12:00:30 UTC 2021
Modified Files: src/usr.bin/make: var.c Log Message: make: remove redundant initialization in ApplyModifier_Order No functional change. To generate a diff of this commit: cvs rdiff -u -r1.945 -r1.946 src/usr.bin/make/var.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/make/var.c diff -u src/usr.bin/make/var.c:1.945 src/usr.bin/make/var.c:1.946 --- src/usr.bin/make/var.c:1.945 Sat Jul 31 09:30:17 2021 +++ src/usr.bin/make/var.c Sun Aug 8 12:00:30 2021 @@ -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 @@ ApplyModifier_Order(const char **pp, Mod { 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;