kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 6b1f02e6b06e8a9f1beb3a1673cfb2cf2ffd7c0d
parent 9f6043bbdea03f4236c28e05b37ce7b9a4453d76
Author: Joris Vink <joris@coders.se>
Date:   Fri, 17 Sep 2021 19:53:31 +0200

Remove another dead assignment.

Diffstat:
src/auth.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/auth.c b/src/auth.c @@ -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));