Fixed a bunch of compiler warnings

This commit is contained in:
Adam Dunkels 2013-08-11 23:53:36 +02:00 committed by Simon Duquennoy
parent 9a74ada90c
commit a027832f94
3 changed files with 11 additions and 7 deletions

View file

@ -255,10 +255,8 @@ rpl_update_header_final(uip_ipaddr_t *addr)
void
rpl_remove_header(void)
{
int last_uip_ext_len;
uint8_t temp_len;
last_uip_ext_len = uip_ext_len;
uip_ext_len = 0;
PRINTF("RPL: Verifying the presence of the RPL header option\n");