Dmitry Timoshkov : ntdll: Compile VIRTUAL_Dump only when somebody really needs it.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Jun 20 16:03:57 CDT 2006


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

Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date:   Wed Jun 21 01:53:45 2006 +0900

ntdll: Compile VIRTUAL_Dump only when somebody really needs it.

---

 dlls/ntdll/virtual.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dlls/ntdll/virtual.c b/dlls/ntdll/virtual.c
index 6a94e68..5e7a15d 100644
--- a/dlls/ntdll/virtual.c
+++ b/dlls/ntdll/virtual.c
@@ -196,7 +196,8 @@ static void VIRTUAL_DumpView( FILE_VIEW 
 /***********************************************************************
  *           VIRTUAL_Dump
  */
-void VIRTUAL_Dump(void)
+#if WINE_VM_DEBUG
+static void VIRTUAL_Dump(void)
 {
     struct file_view *view;
 
@@ -208,6 +209,7 @@ void VIRTUAL_Dump(void)
     }
     RtlLeaveCriticalSection(&csVirtual);
 }
+#endif
 
 
 /***********************************************************************




More information about the wine-cvs mailing list