From 479c45476fda12f05013a884c8cbebbbbb832415 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Tue, 22 Jun 2021 17:37:49 -0700 Subject: [PATCH] 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. --- cmd/gvmap/cluster.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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\ -- 2.40.0