From d8adf68cd6b7c934f12e7db14ddfc33b8cdd5797 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Sun, 30 Sep 2018 16:57:14 -0400 Subject: Use a const variable Reviewed-by: Richard Levitte Reviewed-by: Viktor Dukhovni --- test/testutil/stanza.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') 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++; -- cgit v1.2.3