diff options
author | Lucas Merritt <lucas.j.merritt@gmail.com> | 2023-03-24 22:11:14 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-25 12:11:14 +0800 |
commit | 063e93864a7e99ac1c4781bbe4ea63c0adb075a8 (patch) | |
tree | d7095e5365a1d8505545775e6032c58c03d7a80d /src/nvim/path.c | |
parent | aab4443bb907a0cf7ef874c22f8cfae667b65552 (diff) | |
download | rneovim-063e93864a7e99ac1c4781bbe4ea63c0adb075a8.tar.gz rneovim-063e93864a7e99ac1c4781bbe4ea63c0adb075a8.tar.bz2 rneovim-063e93864a7e99ac1c4781bbe4ea63c0adb075a8.zip |
refactor(PVS/V1048): remove duplicated assignments (#21873)
Diffstat (limited to 'src/nvim/path.c')
-rw-r--r-- | src/nvim/path.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/path.c b/src/nvim/path.c index 9bbf56276e..973e5eaec4 100644 --- a/src/nvim/path.c +++ b/src/nvim/path.c @@ -2375,7 +2375,6 @@ static int path_to_absolute(const char *fname, char *buf, size_t len, int force) end_of_path = p + 1; } else { relative_directory[0] = NUL; - end_of_path = (char *)fname; } if (FAIL == path_full_dir_name(relative_directory, buf, len)) { |