mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-14 15:16:01 +01:00
Fix a return
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
34b5c556fe
commit
9c45dd5278
1 changed files with 1 additions and 1 deletions
2
marks.c
2
marks.c
|
@ -217,7 +217,7 @@ mark_add(zathura_t* zathura, int key)
|
|||
/* add new mark */
|
||||
zathura_mark_t* mark = g_try_malloc0(sizeof(zathura_mark_t));
|
||||
if (mark == NULL) {
|
||||
return NULL;
|
||||
return;
|
||||
}
|
||||
|
||||
mark->key = key;
|
||||
|
|
Loading…
Reference in a new issue