Michael Stefaniuc : dmloader: Remove some commented out debugging code.

Alexandre Julliard julliard at winehq.org
Tue Jul 25 16:11:27 CDT 2017


Module: wine
Branch: master
Commit: c2aa725356065f7a4860b654fe7cfa3efd302cfa
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c2aa725356065f7a4860b654fe7cfa3efd302cfa

Author: Michael Stefaniuc <mstefani at winehq.org>
Date:   Tue Jul 25 20:57:24 2017 +0200

dmloader: Remove some commented out debugging code.

Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dmloader/loader.c | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/dlls/dmloader/loader.c b/dlls/dmloader/loader.c
index 581b781..52c2524 100644
--- a/dlls/dmloader/loader.c
+++ b/dlls/dmloader/loader.c
@@ -421,17 +421,6 @@ static HRESULT WINAPI IDirectMusicLoaderImpl_GetObject(IDirectMusicLoader8 *ifac
 		TRACE(": filled in cache entry\n");
 	} else TRACE(": caching disabled\n");
 
-#if 0
-	/* for debug purposes (e.g. to check if all files are cached) */
-	TRACE("*** Loader's cache ***\n");
-	int i = 0;
-	LIST_FOR_EACH (pEntry, This->pObjects) {
-		i++;
-		pObjectEntry = LIST_ENTRY(pEntry, WINE_LOADER_ENTRY, entry);
-		TRACE(": entry nr. %i:\n%s\n  - bInvalidDefaultDLS = %i\n  - pObject = %p\n", i, debugstr_DMUS_OBJECTDESC(&pObjectEntry->Desc), pObjectEntry->bInvalidDefaultDLS, pObjectEntry->pObject);
-	}
-#endif
-	
 	result = IDirectMusicObject_QueryInterface (pObject, riid, ppv);
 	if (!bCache) IDirectMusicObject_Release (pObject); /* since loader's reference is not needed */
 	/* if there was trouble with loading, and if no other error occurred,




More information about the wine-cvs mailing list