Back out changelist 2026006
authorSam Lantinga <slouken@libsdl.org>
Thu, 13 Feb 2014 11:05:32 -0800
changeset 8214 c6006ec834fa
parent 8213 c08568651ebb
child 8215 54555ad9342c
Back out changelist 2026006
src/loadso/windows/SDL_sysloadso.c
--- a/src/loadso/windows/SDL_sysloadso.c	Thu Feb 13 11:05:30 2014 -0800
+++ b/src/loadso/windows/SDL_sysloadso.c	Thu Feb 13 11:05:32 2014 -0800
@@ -55,8 +55,7 @@
 	/* if we got a handle, call LoadLibrary to get
 	*  it again with the ref count incremented.
 	* We do this to match the dlopen version of this function */
-	if( handle != NULL )
-		handle = (void *)LoadLibrary( tstr );
+	handle = (void *)LoadLibrary( tstr );
 
     SDL_free(tstr);