Commit in reactos/lib/kernel32/process on MAIN
session.c+3-101.7 -> 1.8
little simplification

reactos/lib/kernel32/process
session.c 1.7 -> 1.8
diff -u -r1.7 -r1.8
--- session.c	2 Oct 2004 21:14:08 -0000	1.7
+++ session.c	8 Oct 2004 21:37:16 -0000	1.8
@@ -1,4 +1,4 @@
-/* $Id: session.c,v 1.7 2004/10/02 21:14:08 weiden Exp $
+/* $Id: session.c,v 1.8 2004/10/08 21:37:16 weiden Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -83,16 +83,9 @@
       *pSessionId = SessionInformation.SessionId;
       return TRUE;
     }
-    else
-    {
-      SetLastErrorByStatus(Status);
-    }
-  }
-  else
-  {
-    SetLastErrorByStatus(Status);
   }
-  
+
+  SetLastErrorByStatus(Status);
   return FALSE;
 }
 
CVSspam 0.2.8