aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/path.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/path.c')
-rw-r--r--src/nvim/path.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nvim/path.c b/src/nvim/path.c
index 5a1c9cd1c3..1222b97fd6 100644
--- a/src/nvim/path.c
+++ b/src/nvim/path.c
@@ -165,8 +165,6 @@ int vim_ispathlistsep(int c)
#endif
}
-#if defined(FEAT_GUI_TABLINE) || defined(FEAT_WINDOWS) \
- || defined(FEAT_EVAL) || defined(PROTO)
/*
* Shorten the path of a file from "~/foo/../.bar/fname" to "~/f/../.b/fname"
* It's done in-place.
@@ -199,7 +197,6 @@ void shorten_dir(char_u *str)
}
}
}
-#endif
/*
* Return TRUE if the directory of "fname" exists, FALSE otherwise.