Initialize result

This commit is contained in:
thorkill 2015-06-30 19:40:33 +02:00
parent 7a61acabea
commit fb2942a249

View file

@ -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: