aboutsummaryrefslogtreecommitdiffstats
path: root/src/directory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/directory.h')
-rw-r--r--src/directory.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/directory.h b/src/directory.h
index d8a8ea2af..ad24ca56f 100644
--- a/src/directory.h
+++ b/src/directory.h
@@ -73,8 +73,6 @@ directory_is_empty(struct directory *directory)
static inline const char *
directory_get_path(struct directory *directory)
{
- if (directory->path == NULL)
- return "";
return directory->path;
}