Minor reformatting.
authorArnaud Charlet <charlet@gcc.gnu.org>
Mon, 30 Nov 2009 09:46:15 +0000 (10:46 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 30 Nov 2009 09:46:15 +0000 (10:46 +0100)
From-SVN: r154763

gcc/ada/g-stseme.adb
gcc/ada/sem_ch4.adb

index b09af1d6fb8506888e0fd8e1a53cdac86f983f51..4b1720fb216d9d4f337276aabaaab1dbb7801bd9 100644 (file)
 --  ones: there is a specific variant of this function in g-socthi-mingw.adb.
 
 with Ada.Unchecked_Conversion;
+
 with System.CRTL;
 
 separate (GNAT.Sockets.Thin)
+
+--------------------------
+-- Socket_Error_Message --
+--------------------------
+
 function Socket_Error_Message
   (Errno : Integer) return C.Strings.chars_ptr
 is
@@ -56,6 +62,7 @@ is
 
 begin
    C_Msg := To_Chars_Ptr (System.CRTL.strerror (Errno));
+
    if C_Msg = C.Strings.Null_Ptr then
       return Unknown_System_Error;
    else
index 99c24a12a2e8573adbc32def89847862769a31db..899b1a05878e19f6218c88040311b44b6d7a1701 100644 (file)
@@ -1251,7 +1251,7 @@ package body Sem_Ch4 is
          Analyze_Expression (Else_Expr);
       end if;
 
-      if not  Is_Overloaded (Then_Expr) then
+      if not Is_Overloaded (Then_Expr) then
          Set_Etype (N, Etype (Then_Expr));
       else
          declare