Merge pull request #1249 from simonduq/fix-rpl-icmp-warnings

Fix compiler warnings in rpl-icmp6.c
This commit is contained in:
Nicolas Tsiftes 2015-09-10 14:44:04 +02:00
commit 70b3585f76

View file

@ -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];