From ead59d0f04961b3a8fb417bc893a4a7251e3b366 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 8 Oct 2022 15:26:35 -0700 Subject: [PATCH] common: use a simpler C99 zero init for null terminating 'Arrowsynonyms' --- lib/common/arrows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/arrows.c b/lib/common/arrows.c index 95face39c..21f8c2d9d 100644 --- a/lib/common/arrows.c +++ b/lib/common/arrows.c @@ -67,7 +67,7 @@ static const arrowname_t Arrowsynonyms[] = { /* synonyms for deprecated arrow names - included for backward compatibility */ /* evaluated before primary names else "invempty" would give different results */ {"invempty", (ARR_TYPE_NORM | ARR_MOD_INV | ARR_MOD_OPEN)}, /* oinv */ - {(char *) 0, (ARR_TYPE_NONE)} + {0} }; static arrowname_t Arrowmods[] = { -- 2.40.0