X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fpaths.c;h=db0b68275a8e35d8de137204721ad4b05d343fde;hb=edf0f7f5331e626b55819dcafa88e202cdb82a32;hp=62347c9fbd25027aec8ad183208e1941ebb85792;hpb=eeb96703721a2ba6c64ec63f2c330515e8992b4f;p=wimlib diff --git a/src/paths.c b/src/paths.c index 62347c9f..db0b6827 100644 --- a/src/paths.c +++ b/src/paths.c @@ -74,15 +74,6 @@ path_stream_name(const tchar *path) return stream_name + 1; } -/* Duplicate a path; return empty string for NULL input. */ -tchar * -canonicalize_fs_path(const tchar *fs_path) -{ - if (fs_path == NULL) - fs_path = T(""); - return TSTRDUP(fs_path); -} - /* Collapse and translate path separators, and strip trailing slashes. Doesn't * add or delete a leading slash. *