From: Matthew Fernandez Date: Wed, 23 Jun 2021 00:37:49 +0000 (-0700) Subject: make cluster usage string a constant array X-Git-Tag: 2.48.0~38^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=479c45476fda12f05013a884c8cbebbbbb832415;p=graphviz make cluster usage string a constant array Minor clarity change that makes it more obvious to readers and the compiler that this string is a constant that can be inlined at its usage site. --- diff --git a/cmd/gvmap/cluster.c b/cmd/gvmap/cluster.c index d7613ad6b..903fd8f1a 100644 --- a/cmd/gvmap/cluster.c +++ b/cmd/gvmap/cluster.c @@ -47,7 +47,7 @@ typedef struct { int clustering_method; } opts_t; -static char* usestr = +static const char usestr[] = " -C k - generate no more than k clusters (0)\n\ 0 : no limit\n\ -c k - use clustering method k (0)\n\