diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-05-25 20:42:22 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-05-26 07:27:50 -0400 |
commit | 58d6e2d3cc4c39f7a2c78a3060758bee31f831e4 (patch) | |
tree | 96ef5952cb63af458527d6554526a9d9c066897d /src/nvim/if_cscope.c | |
parent | f60af8694b5fd7339e3b9883f6bc5be34852fd14 (diff) | |
download | rneovim-58d6e2d3cc4c39f7a2c78a3060758bee31f831e4.tar.gz rneovim-58d6e2d3cc4c39f7a2c78a3060758bee31f831e4.tar.bz2 rneovim-58d6e2d3cc4c39f7a2c78a3060758bee31f831e4.zip |
lint
Diffstat (limited to 'src/nvim/if_cscope.c')
-rw-r--r-- | src/nvim/if_cscope.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/if_cscope.c b/src/nvim/if_cscope.c index a033546394..84721ee96c 100644 --- a/src/nvim/if_cscope.c +++ b/src/nvim/if_cscope.c @@ -427,8 +427,9 @@ cs_add_common( fbuf = (char_u *)fname; (void)modify_fname((char_u *)":p", false, &usedlen, (char_u **)&fname, &fbuf, &len); - if (fname == NULL) + if (fname == NULL) { goto add_err; + } fname = (char *)vim_strnsave((char_u *)fname, len); xfree(fbuf); FileInfo file_info; |