mirror of
https://github.com/bol-van/zapret.git
synced 2025-05-24 22:32:58 +03:00
fix compiler warnings: -Wmaybe-uninitialized
This commit is contained in:
@@ -132,7 +132,7 @@ bool HttpReplyLooksLikeDPIRedirect(const uint8_t *data, size_t len, const char *
|
||||
}
|
||||
size_t HttpPos(enum httpreqpos tpos_type, size_t hpos_pos, const uint8_t *http, size_t sz)
|
||||
{
|
||||
const uint8_t *method, *host;
|
||||
const uint8_t *method, *host = NULL;
|
||||
int i;
|
||||
|
||||
switch(tpos_type)
|
||||
|
Reference in New Issue
Block a user