aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/mark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/mark.c b/src/nvim/mark.c
index de668458f0..2402ea3035 100644
--- a/src/nvim/mark.c
+++ b/src/nvim/mark.c
@@ -280,7 +280,7 @@ fmark_T *get_jumplist(win_T *win, int count)
}
break;
}
- return jmp != NULL ? &jmp->fmark : NULL;
+ return &jmp->fmark;
}
/// Get mark in "count" position in the |changelist| relative to the current index.