Initialize result
This commit is contained in:
parent
7a61acabea
commit
fb2942a249
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ bool net2str(char *netstr, int len, const subnet_t *subnet) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
int result;
|
int result = -1;
|
||||||
int prefixlength = -1;
|
int prefixlength = -1;
|
||||||
switch (subnet->type) {
|
switch (subnet->type) {
|
||||||
case SUBNET_MAC:
|
case SUBNET_MAC:
|
||||||
|
|
Loading…
Reference in a new issue