mufs: allow empty path in resolve_path()

This commit is contained in:
S.J.R. van Schaik 2017-06-12 03:26:39 +02:00
parent 84c45ee64d
commit ffc8669736

View file

@ -101,9 +101,6 @@ struct mufs_tree *resolve_path(struct mufs *fs, const char *path)
char *s, *p, *end;
int ret;
if (!path || *path == '\0')
return NULL;
if (!(s = mufs_abspath(path)))
return NULL;