X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fwin32.c;h=d403fba7ca611a7a5f5d7563122c66059e0011a2;hb=4f953b223bed60d71a7689d414ccb5cc60be537f;hp=9a64c05ef9fec6717fa6c3b13feb62b2d06fa424;hpb=b7b2a73916876a6d31229c2f64761e870674bd29;p=wimlib diff --git a/src/win32.c b/src/win32.c index 9a64c05e..d403fba7 100644 --- a/src/win32.c +++ b/src/win32.c @@ -2646,10 +2646,6 @@ win32_rename_replacement(const wchar_t *oldpath, const wchar_t *newpath) return 0; } else { /* As usual, the possible error values are not documented */ - DWORD err = GetLastError(); - ERROR("MoveFileEx(): Can't rename \"%ls\" to \"%ls\"", - oldpath, newpath); - win32_error(err); errno = -1; return -1; }