From 232e401b0f19cb5191ae7a0ec107fc9bf10c8145 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 6 Oct 2023 13:53:16 +0900 Subject: [PATCH] Reuse `natstr` if it equals `endstr` --- pack.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pack.c b/pack.c index d5b78b6060..4fdaf7fd89 100644 --- a/pack.c +++ b/pack.c @@ -36,10 +36,11 @@ */ #ifdef HAVE_TRUE_LONG_LONG static const char natstr[] = "sSiIlLqQjJ"; +# define endstr natstr #else static const char natstr[] = "sSiIlLjJ"; -#endif static const char endstr[] = "sSiIlLqQjJ"; +#endif #ifdef HAVE_TRUE_LONG_LONG /* It is intentional to use long long instead of LONG_LONG. */