From: Tollef Fog Heen Date: Mon, 12 Oct 2009 08:45:22 +0000 (+0200) Subject: Remove return_codes enum, it is not used X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcc34efb528b8c255762aa15a2fb2fc87dc2b3d0;p=yubikey-server-c Remove return_codes enum, it is not used --- diff --git a/src/main.c b/src/main.c index 3cd883b..5051ace 100644 --- a/src/main.c +++ b/src/main.c @@ -45,17 +45,6 @@ PGconn *db_conn; -enum return_codes { - OK = 0, - BAD_OTP, - REPLAYED_OTP, - BAD_SIGNATURE, - MISSING_PARAMETER, - NO_SUCH_CLIENT, - OPERATION_NOT_ALLOWED, - BACKEND_ERROR -}; - struct error { enum return_codes status; const char *info;