From: Flole Date: Sat, 22 Jun 2024 20:05:48 +0000 (+0200) Subject: Remove useless NULL-assignment in http.c X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=fd61453da3118c174cadca9cec1ee1d49f0a1548;p=thirdparty%2Ftvheadend.git Remove useless NULL-assignment in http.c Found by coverity --- diff --git a/src/http.c b/src/http.c index 903b26a07..71a041805 100644 --- a/src/http.c +++ b/src/http.c @@ -1072,7 +1072,6 @@ http_verify_prepare(http_connection_t *hc, struct http_verify_structure *v) m = http_get_digest_hash(v->algo, hc->hc_post_data ?: ""); snprintf(all, sizeof(all), "%s:%s:%s", method, uri, m); free(m); - m = NULL; } else if (strcasecmp(qop, "auth") == 0) { snprintf(all, sizeof(all), "%s:%s", method, uri); } else {