diff --git a/src/config.c b/src/config.c index 6b8aa58..806e3f8 100644 --- a/src/config.c +++ b/src/config.c @@ -506,8 +506,9 @@ error: bool config_read_line(struct config_ctx *ctx, const char *input) { size_t len, cleaned_len = 0; - char *line, *comment; + const char *comment; bool ret = true; + char *line; /* This is what strchrnul is for, but that isn't portable. */ comment = strchr(input, COMMENT_CHAR);