Remove ENONE
All checks were successful
continuous-integration/drone/pr Build is passing

If you want to return an error without meaning, use Option.
This commit is contained in:
apio 2022-12-08 16:09:33 +01:00
parent da104c87cb
commit b9f3d3c349
Signed by: apio
GPG Key ID: B8A7D06E42258954
2 changed files with 1 additions and 3 deletions

View File

@ -52,8 +52,7 @@
#define ETIMEDOUT 110 // Connection timed out
#define EALREADY 114 // Operation already in progress
// These ones are Luna-specific.
// This one is Luna-specific.
#define EFIXME 342 // Functionality not yet implemented
#define ENONE 343 // Internal or insignificant error
const char* error_string(int error);

View File

@ -55,7 +55,6 @@ const char* error_string(int error)
case ETIMEDOUT: return "Connection timed out";
case EALREADY: return "Operation already in progress";
case EFIXME: return "Functionality not yet implemented";
case ENONE: return "Internal or insignificant error";
default: return "Unknown error";
}
}