aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/mark.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2014-06-16 20:27:25 -0400
committerJustin M. Keyes <justinkz@gmail.com>2014-06-16 20:27:25 -0400
commitd199d18159c624844c9c8052d1a98b91084fb803 (patch)
tree827dd9c4f8f1f6ef73ff1f20a609d08e36640986 /src/nvim/mark.c
parent8bbeb4b480a72d0099a18c4d8200313600045231 (diff)
parente85598e5a91c714c10034b6b3986a666065d1078 (diff)
downloadrneovim-d199d18159c624844c9c8052d1a98b91084fb803.tar.gz
rneovim-d199d18159c624844c9c8052d1a98b91084fb803.tar.bz2
rneovim-d199d18159c624844c9c8052d1a98b91084fb803.zip
Merge #787 'removal of redundant OOM error handling'
Diffstat (limited to 'src/nvim/mark.c')
-rw-r--r--src/nvim/mark.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/mark.c b/src/nvim/mark.c
index 1739510f41..43cc3218af 100644
--- a/src/nvim/mark.c
+++ b/src/nvim/mark.c
@@ -1416,8 +1416,7 @@ void copy_viminfo_marks(vir_T *virp, FILE *fp_out, int count, int eof, int flags
if (fp_out == NULL && (flags & (VIF_GET_OLDFILES | VIF_FORCEIT))) {
list = list_alloc();
- if (list != NULL)
- set_vim_var_list(VV_OLDFILES, list);
+ set_vim_var_list(VV_OLDFILES, list);
}
num_marked_files = get_viminfo_parameter('\'');