fix compiler warnings: -Wunused (part2)

This commit is contained in:
[anp/hsw]
2024-08-16 19:31:16 +07:00
committed by bol-van
parent c38067b255
commit aaea80a97c
6 changed files with 1 additions and 9 deletions

View File

@@ -15,7 +15,6 @@ void tamper_out(t_ctrack *ctrack, uint8_t *segment,size_t segment_buffer_size,si
size_t method_len = 0, pos;
const char *method;
bool bBypass = false, bHaveHost = false, bHostExcluded = false;
char bRemovedHostSpace = 0;
char *pc, Host[256];
DBGPRINT("tamper_out")
@@ -119,7 +118,6 @@ void tamper_out(t_ctrack *ctrack, uint8_t *segment,size_t segment_buffer_size,si
VPRINT("Removing space before host name at pos %zu", pos)
memmove(p - 1, p, *size - pos);
(*size)--; // block will shrink by 1 byte
bRemovedHostSpace = 1;
}
if (params.hostcase && HttpFindHost(&pHost,segment,*size))
{