Fixed some compiler warnings
FossilOrigin-Name: 0264b0f96f1a8ec7ee01b15de7ef208802cca95d35f1f2ba6ab380b82667b4d5
This commit is contained in:
@ -95,7 +95,7 @@ static struct cw_ElemHandler handlers[] = {
|
||||
0,0, /* Vendor / Proto */
|
||||
0,0, /* min/max length */
|
||||
NULL, /* type */
|
||||
NULL, /* Key */
|
||||
"mtu_discovery_padding", /* Key */
|
||||
capwap_in_mtu_discovery_padding /* get */
|
||||
}
|
||||
,
|
||||
|
@ -106,7 +106,7 @@ static int init()
|
||||
}
|
||||
|
||||
uint8_t * str;
|
||||
|
||||
/*
|
||||
str = bstr_create_from_cfgstr(hardware_version);
|
||||
mbag_set_bstrv(cisco_config, CW_ITEM_AC_HARDWARE_VERSION,
|
||||
CW_VENDOR_ID_CISCO,
|
||||
@ -122,6 +122,7 @@ static int init()
|
||||
);
|
||||
free(str);
|
||||
}
|
||||
*/
|
||||
errX:
|
||||
if (hardware_version)
|
||||
free (hardware_version);
|
||||
|
Reference in New Issue
Block a user