Andrew Talbot : wininet: Add a break to a switch statement.

Alexandre Julliard julliard at winehq.org
Wed Oct 19 14:05:25 CDT 2011


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Tue Oct 18 20:56:32 2011 +0100

wininet: Add a break to a switch statement.

---

 dlls/wininet/internet.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c
index f9e8dea..020fe2c 100644
--- a/dlls/wininet/internet.c
+++ b/dlls/wininet/internet.c
@@ -287,15 +287,16 @@ BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
 
             g_dwTlsErrIndex = TlsAlloc();
 
-	    if (g_dwTlsErrIndex == TLS_OUT_OF_INDEXES)
-		return FALSE;
+            if (g_dwTlsErrIndex == TLS_OUT_OF_INDEXES)
+                return FALSE;
 
             URLCacheContainers_CreateDefaults();
 
             WININET_hModule = hinstDLL;
+            break;
 
         case DLL_THREAD_ATTACH:
-	    break;
+            break;
 
         case DLL_THREAD_DETACH:
             if (g_dwTlsErrIndex != TLS_OUT_OF_INDEXES)




More information about the wine-cvs mailing list