From 46804eff55c702f1a4463b915b273c5162460ff3 Mon Sep 17 00:00:00 2001 From: John Scipione Date: Mon, 5 Mar 2012 18:22:02 -0500 Subject: [PATCH] Remove extraneous line where I called just unlinkat() --- src/build/libroot/fs_darwin.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/build/libroot/fs_darwin.cpp b/src/build/libroot/fs_darwin.cpp index a37324076e..f272578656 100644 --- a/src/build/libroot/fs_darwin.cpp +++ b/src/build/libroot/fs_darwin.cpp @@ -620,7 +620,6 @@ unlinkat(int fd, const char *path, int flag) if (path && path[0] == '/') { // path is absolute, call rmdir() or unlink() ignoring fd return (flag & AT_REMOVEDIR) == 0 ? rmdir(path) : unlink(path); - return unlink(path); } if (!fd) {