diff options
Diffstat (limited to 'toxcore/tox.c')
-rw-r--r-- | toxcore/tox.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c index 4f495977..c527ce96 100644 --- a/toxcore/tox.c +++ b/toxcore/tox.c | |||
@@ -546,7 +546,6 @@ bool tox_friend_get_public_key(const Tox *tox, uint32_t friend_number, uint8_t * | |||
546 | TOX_ERR_FRIEND_GET_PUBLIC_KEY *error) | 546 | TOX_ERR_FRIEND_GET_PUBLIC_KEY *error) |
547 | { | 547 | { |
548 | if (!public_key) { | 548 | if (!public_key) { |
549 | SET_ERROR_PARAMETER(error, TOX_ERR_FRIEND_GET_PUBLIC_KEY_NULL); | ||
550 | return 0; | 549 | return 0; |
551 | } | 550 | } |
552 | 551 | ||