diff options
author | Phil Sutter <phil@nwl.cc> | 2022-03-25 10:15:13 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2022-03-28 12:19:44 +0200 |
commit | 5ecb1226d73eb4f9407faa8d663d7038046d34c6 (patch) | |
tree | 8975b3b8e17f17967935a5d37ee12807819a4004 /src/helpers/ssdp.c | |
parent | 7e4d4abd47c6b9b2af745c0a4c8b5532c1886399 (diff) |
Drop pointless assignments
These variables are not referred to after assigning within their scope
(or until they're overwritten).
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'src/helpers/ssdp.c')
-rw-r--r-- | src/helpers/ssdp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/helpers/ssdp.c b/src/helpers/ssdp.c index 0c6f563..527892c 100644 --- a/src/helpers/ssdp.c +++ b/src/helpers/ssdp.c @@ -256,7 +256,6 @@ static int find_hdr(const char *name, const uint8_t *data, int data_len, data += i+2; } - data_len -= name_len; data += name_len; if (pos) *pos = data; |