refactor(PVS/V1048): remove duplicated assignments (#21873)

This commit is contained in:
Lucas Merritt
2023-03-24 22:11:14 -06:00
committed by GitHub
parent aab4443bb9
commit 063e93864a
5 changed files with 2 additions and 7 deletions

View File

@@ -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)) {