From 0d03123350404b5cf0b4865c4b0c7d740269cc13 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 20 Jun 2022 16:51:35 -0600 Subject: [PATCH] Mark a null variable as const --- src/hb-shape.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-shape.cc b/src/hb-shape.cc index 9c1e9c52b..b26c4bd32 100644 --- a/src/hb-shape.cc +++ b/src/hb-shape.cc @@ -50,7 +50,7 @@ static inline void free_static_shaper_list (); -static const char *nil_shaper_list[] = {nullptr}; +static const char * const nil_shaper_list[] = {nullptr}; static struct hb_shaper_list_lazy_loader_t : hb_lazy_loader_t @@ -74,7 +74,7 @@ static struct hb_shaper_list_lazy_loader_t : hb_lazy_loader_t