diff options
| -rw-r--r-- | src/nvim/ex_cmds2.c | 2 | ||||
| -rw-r--r-- | src/nvim/quickfix.c | 7 | 
2 files changed, 3 insertions, 6 deletions
diff --git a/src/nvim/ex_cmds2.c b/src/nvim/ex_cmds2.c index 3b83c59675..2fb818760a 100644 --- a/src/nvim/ex_cmds2.c +++ b/src/nvim/ex_cmds2.c @@ -611,7 +611,7 @@ static int dbg_parsearg(char_u *arg, garray_T *gap)    return OK;  } -/// ":breakadd". +/// ":breakadd".  Also used for ":profile".  void ex_breakadd(exarg_T *eap)  {    struct debuggy *bp; diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index fb753609bd..81da410826 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -4739,11 +4739,8 @@ static int qf_getprop_defaults(qf_info_T *qi, int flags, dict_T *retdict)  /// Return the quickfix list title as 'title' in retdict  static int qf_getprop_title(qf_info_T *qi, int qf_idx, dict_T *retdict)  { -    char_u *t = qi->qf_lists[qf_idx].qf_title; -    if (t == NULL) { -      t = (char_u *)""; -    } -    return tv_dict_add_str(retdict, S_LEN("title"), (const char *)t); +    return tv_dict_add_str(retdict, S_LEN("title"), +                           (const char *)qi->qf_lists[qf_idx].qf_title);  }  /// Return the quickfix list items/entries as 'items' in retdict  | 
