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:
Geert Janssens
2010-04-23 14:27:26 +00:00
parent f9d1bb7390
commit f96b2969d1
-3
View File
@@ -168,9 +168,6 @@ gnc_xml_be_get_file_lock (FileBackend *be)
# endif
# ifdef ENOTSUP
|| errno == ENOTSUP
# endif
# ifdef ENOSYS
|| errno == ENOSYS
# endif
)
{