Move a variable declaration to the start of a block.
authorVincent Povirk <vincent@codeweavers.com>
Mon, 9 Dec 2013 21:52:59 +0000 (15:52 -0600)
committerVincent Povirk <vincent@codeweavers.com>
Mon, 9 Dec 2013 21:56:02 +0000 (15:56 -0600)
This commit licensed as MIT/X11.

mono/mini/exceptions-amd64.c

index 9df1aa2fe07463039eb4a737c871aa2744d317b9..342920f1afe1a95942687b26ecedf6bdfbcaae6d 100644 (file)
@@ -160,10 +160,10 @@ void win32_seh_init()
 
 void win32_seh_cleanup()
 {
-       if (mono_old_win_toplevel_exception_filter) SetUnhandledExceptionFilter(mono_old_win_toplevel_exception_filter);
-
        guint32 ret = 0;
 
+       if (mono_old_win_toplevel_exception_filter) SetUnhandledExceptionFilter(mono_old_win_toplevel_exception_filter);
+
        ret = RemoveVectoredExceptionHandler (mono_win_vectored_exception_handle);
        g_assert (ret);
 }