Remove another dead assignment.

This commit is contained in:
Joris Vink 2021-09-17 19:53:31 +02:00
parent 9f6043bbde
commit 6b1f02e6b0

View File

@ -35,7 +35,7 @@ kore_auth_new(const char *name)
{
struct kore_auth *auth;
if ((auth = kore_auth_lookup(name)) != NULL)
if (kore_auth_lookup(name) != NULL)
return (KORE_RESULT_ERROR);
auth = kore_malloc(sizeof(*auth));