CPPCheck found fixes.

This commit is contained in:
skarg
2012-08-16 18:56:17 +00:00
parent d6b9d29e22
commit 41becc0a9a
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -180,10 +180,10 @@ void Initialize_Device_Addresses(
)
{
int i = 0; /* First entry is Gateway Device */
DEVICE_OBJECT_DATA *pDev;
uint16_t myPort;
DEVICE_OBJECT_DATA *pDev = NULL;
/* Setup info for the main gateway device first */
#if defined(BACDL_BIP)
uint16_t myPort;
struct in_addr *netPtr; /* Lets us cast to this type */
uint8_t *gatewayMac = NULL;
uint32_t myAddr = bip_get_addr();