mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
Remove redundant test for ENOSYS
The error code was checked twice against ENOSYS, once in all situations, and once if ENOSYS is defined. This makes no sense. Since we never had bug reports for compilation errors on ENOSYS undefined, we can assume ENOSYS is always defined. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19055 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -168,9 +168,6 @@ gnc_xml_be_get_file_lock (FileBackend *be)
|
||||
# endif
|
||||
# ifdef ENOTSUP
|
||||
|| errno == ENOTSUP
|
||||
# endif
|
||||
# ifdef ENOSYS
|
||||
|| errno == ENOSYS
|
||||
# endif
|
||||
)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user