[newlib-cygwin] Fix formatting

Corinna Vinschen corinna@sourceware.org
Thu Aug 25 10:06:00 GMT 2016


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=988629da1d299cfef7023e07ad900dd047b9fc63

commit 988629da1d299cfef7023e07ad900dd047b9fc63
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Thu Aug 25 12:06:17 2016 +0200

    Fix formatting
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/miscfuncs.cc | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/winsup/cygwin/miscfuncs.cc b/winsup/cygwin/miscfuncs.cc
index dc56cfd..fbd024f 100644
--- a/winsup/cygwin/miscfuncs.cc
+++ b/winsup/cygwin/miscfuncs.cc
@@ -1134,10 +1134,11 @@ SetThreadName(DWORD dwThreadID, const char* threadName)
 #endif
     };
 
-  __try {
-    RaiseException (MS_VC_EXCEPTION, 0, sizeof (info)/sizeof (ULONG_PTR), info);
-  }
-  __except (NO_ERROR) {
-  }
+  __try
+    {
+      RaiseException (MS_VC_EXCEPTION, 0, sizeof (info) / sizeof (ULONG_PTR),
+		      info);
+    }
+  __except (NO_ERROR)
   __endtry
 }



More information about the Cygwin-cvs mailing list