From d8adf68cd6b7c934f12e7db14ddfc33b8cdd5797 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Sun, 30 Sep 2018 16:57:14 -0400 Subject: [PATCH] Use a const variable Reviewed-by: Richard Levitte Reviewed-by: Viktor Dukhovni --- test/testutil/stanza.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/testutil/stanza.c b/test/testutil/stanza.c index eb16322025..e28362025a 100644 --- a/test/testutil/stanza.c +++ b/test/testutil/stanza.c @@ -86,7 +86,8 @@ static char *strip_spaces(char *p) int test_readstanza(STANZA *s) { PAIR *pp = s->pairs; - char *p, *equals, *key, *value; + char *p, *equals, *key; + const char *value; for (s->numpairs = 0; BIO_gets(s->fp, s->buff, sizeof(s->buff)); ) { s->curr++; -- 2.25.1