From: stbenz Date: Fri, 22 May 2015 21:04:34 +0000 (+0200) Subject: http: fix compiler warning, fixes #2871 X-Git-Tag: v4.2.1~2489 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce2b077ca406582c3183a25b848735095618db92;p=thirdparty%2Ftvheadend.git http: fix compiler warning, fixes #2871 --- diff --git a/src/http.c b/src/http.c index 4575e1f0c..3d5452347 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)