fixed compiler warnings in parser when using -O2
This commit is contained in:
@@ -583,9 +583,9 @@ static status_t parse_payload(private_parser_t *this, payload_type_t payload_typ
|
|||||||
{
|
{
|
||||||
payload_t *pld;
|
payload_t *pld;
|
||||||
void *output;
|
void *output;
|
||||||
size_t rule_count, payload_length, spi_size, attribute_length;
|
size_t rule_count, payload_length = 0, spi_size = 0, attribute_length = 0;
|
||||||
u_int16_t ts_type;
|
u_int16_t ts_type = 0;
|
||||||
bool attribute_format;
|
bool attribute_format = FALSE;
|
||||||
int rule_number;
|
int rule_number;
|
||||||
encoding_rule_t *rule;
|
encoding_rule_t *rule;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user