mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-07 13:03:45 +02:00
silencing warnings for code paths that will never be hit
This commit is contained in:
parent
0ead65ad2d
commit
7d41d267a3
1 changed files with 2 additions and 1 deletions
|
@ -243,7 +243,7 @@ char *Identity::toString(bool includePrivate,char buf[ZT_IDENTITY_STRING_BUFFER_
|
||||||
}
|
}
|
||||||
*p = (char)0;
|
*p = (char)0;
|
||||||
return buf;
|
return buf;
|
||||||
}
|
} break;
|
||||||
case P384: {
|
case P384: {
|
||||||
char *p = buf;
|
char *p = buf;
|
||||||
Utils::hex10(_address.toInt(),p);
|
Utils::hex10(_address.toInt(),p);
|
||||||
|
@ -262,6 +262,7 @@ char *Identity::toString(bool includePrivate,char buf[ZT_IDENTITY_STRING_BUFFER_
|
||||||
return buf;
|
return buf;
|
||||||
} break;
|
} break;
|
||||||
}
|
}
|
||||||
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Identity::fromString(const char *str)
|
bool Identity::fromString(const char *str)
|
||||||
|
|
Loading…
Add table
Reference in a new issue