mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Merge pull request #1249 from simonduq/fix-rpl-icmp-warnings
Fix compiler warnings in rpl-icmp6.c
This commit is contained in:
commit
70b3585f76
@ -916,15 +916,11 @@ dao_ack_input(void)
|
|||||||
{
|
{
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
unsigned char *buffer;
|
unsigned char *buffer;
|
||||||
uint8_t buffer_length;
|
|
||||||
uint8_t instance_id;
|
|
||||||
uint8_t sequence;
|
uint8_t sequence;
|
||||||
uint8_t status;
|
uint8_t status;
|
||||||
|
|
||||||
buffer = UIP_ICMP_PAYLOAD;
|
buffer = UIP_ICMP_PAYLOAD;
|
||||||
buffer_length = uip_len - uip_l3_icmp_hdr_len;
|
|
||||||
|
|
||||||
instance_id = buffer[0];
|
|
||||||
sequence = buffer[2];
|
sequence = buffer[2];
|
||||||
status = buffer[3];
|
status = buffer[3];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user