fixed some compiler warnings

This commit is contained in:
Martin Willi
2008-10-27 11:13:33 +00:00
parent aeaa6a9b45
commit a1db79b31a
6 changed files with 11 additions and 9 deletions
+5
View File
@@ -612,6 +612,11 @@ static void to_subnet(private_traffic_selector_t *this, host_t **net, u_int8_t *
net_chunk.len = sizeof(this->from6);
break;
}
default:
{
/* unreachable */
return;
}
}
net_chunk.ptr = malloc(net_chunk.len);