]> err.no Git - yubikey-server-c/commitdiff
Remove return_codes enum, it is not used
authorTollef Fog Heen <tfheen@err.no>
Mon, 12 Oct 2009 08:45:22 +0000 (10:45 +0200)
committerTollef Fog Heen <tfheen@err.no>
Mon, 12 Oct 2009 08:45:22 +0000 (10:45 +0200)
src/main.c

index 3cd883bb5e8dad446a940d00b881e86f6273a6ac..5051ace538a6034ac4a3ea6e20eb03d50f136062 100644 (file)
 
 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;