summaryrefslogtreecommitdiffstats
path: root/src/shared/vpick.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/shared/vpick.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/shared/vpick.c b/src/shared/vpick.c
index 5e2b34e7b0..c4c8accb37 100644
--- a/src/shared/vpick.c
+++ b/src/shared/vpick.c
@@ -143,8 +143,6 @@ static int pin_choice(
assert(filter);
assert(ret);
- toplevel_path = strempty(toplevel_path);
-
if (inode_fd < 0 || FLAGS_SET(flags, PICK_RESOLVE)) {
r = chaseat(toplevel_fd,
inode_path,
@@ -274,8 +272,6 @@ static int make_choice(
assert(filter);
assert(ret);
- toplevel_path = strempty(toplevel_path);
-
if (inode_fd < 0) {
r = chaseat(toplevel_fd, inode_path, CHASE_AT_RESOLVE_IN_ROOT, NULL, &inode_fd);
if (r < 0)
@@ -506,8 +502,6 @@ int path_pick(
assert(filter);
assert(ret);
- toplevel_path = strempty(toplevel_path);
-
/* Given a path, resolve .v/ subdir logic (if used!), and returns the choice made. This supports
* three ways to be called:
*