Dropped LFS_ERR_BADF

We just don't use this error since we assert. Having it in the error
enum may give the wrong impression we return it at points.

If we even end up needing it, it can be readded to the list.
This commit is contained in:
Christopher Haster
2024-02-06 17:05:20 -06:00
parent 31745c5835
commit 3dab5367a5
-1
View File
@@ -103,7 +103,6 @@ enum lfs_error {
LFS_ERR_NOTDIR = -20, // Entry is not a dir
LFS_ERR_ISDIR = -21, // Entry is a dir
LFS_ERR_NOTEMPTY = -39, // Dir is not empty
LFS_ERR_BADF = -9, // Bad file number
LFS_ERR_FBIG = -27, // File too large
LFS_ERR_INVAL = -22, // Invalid parameter
LFS_ERR_NOSPC = -28, // No space left on device