[Scummvm-git-logs] scummvm master -> 2a3941c6429945c5c8d1a62bb5f4e56ec2d03708

Strangerke noreply at scummvm.org
Fri May 10 21:31:26 UTC 2024


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
2a3941c642 BAGEl: Remove unused ErrorCode values from enum


Commit: 2a3941c6429945c5c8d1a62bb5f4e56ec2d03708
    https://github.com/scummvm/scummvm/commit/2a3941c6429945c5c8d1a62bb5f4e56ec2d03708
Author: Strangerke (arnaud.boutonne at gmail.com)
Date: 2024-05-10T22:31:18+01:00

Commit Message:
BAGEl: Remove unused ErrorCode values from enum

Changed paths:
    engines/bagel/boflib/error.h


diff --git a/engines/bagel/boflib/error.h b/engines/bagel/boflib/error.h
index a362f4fbb6c..50d35629a08 100644
--- a/engines/bagel/boflib/error.h
+++ b/engines/bagel/boflib/error.h
@@ -34,22 +34,13 @@ enum ErrorCode {
 	ERR_NONE    =  0,   /* no error */
 	ERR_MEMORY  =  1,   /* not enough memory */
 	ERR_FOPEN   =  2,   /* error opening a file */
-	ERR_FCLOSE  =  3,   /* error closing a file */
 	ERR_FREAD   =  4,   /* error reading a file */
 	ERR_FWRITE  =  5,   /* error writing a file */
 	ERR_FSEEK   =  6,   /* error seeking a file */
-	ERR_FDEL    =  7,   /* error deleting a file */
 	ERR_FFIND   =  8,   /* could not find file */
 	ERR_FTYPE   =  9,   /* invalid file type */
-	ERR_PATH    = 10,   /* invalid path or filename */
-	ERR_DISK    = 11,   /* unrecoverable disk error */
 	ERR_UNKNOWN = 12,   /* unknown error */
 	ERR_CRC     = 13,   /* file or data failed CRC check */
-	ERR_SPACE   = 14,   /* not enough disk space */
-
-	ERR_FUTURE3 = 15,   /* future use */
-	ERR_FUTURE4 = 16,   /*            */
-	ERR_FUTURE5 = 17    /* future use */
 };
 
 #define NUM_ERR_CODES 18




More information about the Scummvm-git-logs mailing list