Commit 3a2a5e5e authored by marko's avatar marko

branches/zip: os_file_close_no_error_handling(): Unused, remove.

parent 9165e0b8
......@@ -425,14 +425,6 @@ os_file_close(
/*==========*/
os_file_t file); /*!< in, own: handle to a file */
/***********************************************************************//**
Closes a file handle.
@return TRUE if success */
UNIV_INTERN
ibool
os_file_close_no_error_handling(
/*============================*/
os_file_t file); /*!< in, own: handle to a file */
/***********************************************************************//**
Gets a file size.
@return TRUE if success */
UNIV_INTERN
......
......@@ -1644,41 +1644,6 @@ os_file_close(
#endif
}
/***********************************************************************//**
Closes a file handle.
@return TRUE if success */
UNIV_INTERN
ibool
os_file_close_no_error_handling(
/*============================*/
os_file_t file) /*!< in, own: handle to a file */
{
#ifdef __WIN__
BOOL ret;
ut_a(file);
ret = CloseHandle(file);
if (ret) {
return(TRUE);
}
return(FALSE);
#else
int ret;
ret = close(file);
if (ret == -1) {
return(FALSE);
}
return(TRUE);
#endif
}
/***********************************************************************//**
Gets a file size.
@return TRUE if success */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment