]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Remove useless NULL-assignment in http.c
authorFlole <Flole998@users.noreply.github.com>
Sat, 22 Jun 2024 20:05:48 +0000 (22:05 +0200)
committerFlole <Flole998@users.noreply.github.com>
Sun, 23 Jun 2024 00:25:43 +0000 (02:25 +0200)
Found by coverity

src/http.c

index 903b26a0746ae327c28e3bf7f41f6d42ed198025..71a04180598888c96f1b140e2c916f2e12283545 100644 (file)
@@ -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 {