* Fixed GCC4 only error.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38396 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2010-08-27 10:57:03 +00:00
parent 89bf19ccde
commit c993531c60

View File

@ -533,7 +533,8 @@ icmp_error_reply(net_protocol* protocol, net_buffer* buffer, net_error error,
{
TRACE("icmp_error_reply(code %s)\n", net_error_to_string(error));
uint8 icmpType, icmpCode;
uint8 icmpType = 0;
uint8 icmpCode = 0;
net_error_to_icmp(error, icmpType, icmpCode);
TRACE(" icmp type %u, code %u\n", icmpType, icmpCode);