Mikołaj Zalewski : shell32: Remove the now unused SHELL_DeleteFileW.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jul 3 05:22:47 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 9078c6af455468165457e40c6bcce748b80d5fb0
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=9078c6af455468165457e40c6bcce748b80d5fb0

Author: Mikołaj Zalewski <mikolaj at zalewski.pl>
Date:   Fri Jun 30 22:40:23 2006 +0200

shell32: Remove the now unused SHELL_DeleteFileW.

---

 dlls/shell32/shlfileop.c |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/dlls/shell32/shlfileop.c b/dlls/shell32/shlfileop.c
index 4651614..76e9d8e 100644
--- a/dlls/shell32/shlfileop.c
+++ b/dlls/shell32/shlfileop.c
@@ -175,17 +175,6 @@ BOOL SHELL_DeleteDirectoryW(LPCWSTR pszD
 }
 
 /**************************************************************************
- *  SHELL_DeleteFileW()      [internal]
- */
-BOOL SHELL_DeleteFileW(LPCWSTR pszFile, BOOL bShowUI)
-{
-	if (bShowUI && !SHELL_ConfirmDialogW(ASK_DELETE_FILE, pszFile))
-	  return FALSE;
-
-	return (SHNotifyDeleteFileW(pszFile) == ERROR_SUCCESS);
-}
-
-/**************************************************************************
  * Win32CreateDirectory      [SHELL32.93]
  *
  * Creates a directory. Also triggers a change notify if one exists.




More information about the wine-cvs mailing list