mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
mf_open(): never fails (except for OOM)
This commit is contained in:
@@ -76,8 +76,7 @@
|
||||
|
||||
/// @param flags Flags for open() call.
|
||||
///
|
||||
/// @return - The open memory file, on success.
|
||||
/// - NULL, on failure.
|
||||
/// @return The open memory file.
|
||||
memfile_T *mf_open(char_u *fname, int flags)
|
||||
{
|
||||
memfile_T *mfp = xmalloc(sizeof(memfile_T));
|
||||
|
Reference in New Issue
Block a user