]> git.ipfire.org Git - pakfire.git/commitdiff
errno: Drop more unused error codes
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 6 Apr 2021 17:26:17 +0000 (17:26 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 6 Apr 2021 17:26:17 +0000 (17:26 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/include/pakfire/errno.h

index 21fc79d272bc59deac41393fe16c5d2df95c87db..35b37ed1c42ac7d885b43fc9e578ba3556c41ba9 100644 (file)
 #define PAKFIRE_ERRNO_H
 
 enum _pakfire_errors {
-       PAKFIRE_E_FAILED = 1,                                   // general runtime error
-       PAKFIRE_E_OP,                                                   // client programming error
-       PAKFIRE_E_LIBSOLV,                                              // error propagated from libsolv
        PAKFIRE_E_ARCH,
        PAKFIRE_E_SELECTOR,
-       PAKFIRE_E_EOF,
-       PAKFIRE_E_SOLV_NOT_SOLV,                                // SOLV file in not in SOLV format
-       PAKFIRE_E_SOLV_UNSUPPORTED,                             // SOLV file is in an unsupported format
-       PAKFIRE_E_SOLV_CORRUPTED,                               // SOLV file is corrupted
        PAKFIRE_E_INVALID_INPUT,
 };