From: stbenz Date: Fri, 22 May 2015 21:04:34 +0000 (+0200) Subject: http: fix compiler warning, fixes #2871 X-Git-Tag: v4.0.3~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bd9f743d2a95959c67127530a63b2247f4033755;p=thirdparty%2Ftvheadend.git http: fix compiler warning, fixes #2871 --- diff --git a/src/http.c b/src/http.c index 00bd930cd..205a992de 100644 --- a/src/http.c +++ b/src/http.c @@ -319,7 +319,7 @@ int http_encoding_valid(http_connection_t *hc, const char *encoding) { const char *accept; - char *tokbuf, *tok, *saveptr, *q, *s; + char *tokbuf, *tok, *saveptr = NULL, *q, *s; accept = http_arg_get(&hc->hc_args, "accept-encoding"); if (!accept)