From bc616e39abf7a804248ad8874d0a76e61bf396fa Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 8 Oct 2022 15:27:20 -0700 Subject: [PATCH] common: use a simpler C99 zero init for null terminating 'Arrowmods' --- 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 d0d061e4b..d8f5643d5 100644 --- a/lib/common/arrows.c +++ b/lib/common/arrows.c @@ -77,7 +77,7 @@ static const arrowname_t Arrowmods[] = { /* deprecated alternates for backward compat */ {"e", ARR_MOD_OPEN}, /* o - needed for "ediamond" */ {"half", ARR_MOD_LEFT}, /* l - needed for "halfopen" */ - {(char *) 0, ARR_TYPE_NONE} + {0} }; static arrowname_t Arrownames[] = { -- 2.40.0