[MLton-commit] r5507

Matthew Fluet fluet at mlton.org
Wed Apr 11 13:37:03 PDT 2007


Eliminate some redundancy
----------------------------------------------------------------------

U   mlton/branches/on-20050822-x86_64-branch/runtime/basis/Posix/Process/termSig.c

----------------------------------------------------------------------

Modified: mlton/branches/on-20050822-x86_64-branch/runtime/basis/Posix/Process/termSig.c
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/runtime/basis/Posix/Process/termSig.c	2007-04-11 20:05:45 UTC (rev 5506)
+++ mlton/branches/on-20050822-x86_64-branch/runtime/basis/Posix/Process/termSig.c	2007-04-11 20:37:03 UTC (rev 5507)
@@ -1,8 +1,5 @@
 #include "platform.h"
 
 C_Signal_t Posix_Process_termSig (C_Status_t s) {
-  int i;
-
-  i = s;
-  return WTERMSIG (i);
+  return WTERMSIG (s);
 }




More information about the MLton-commit mailing list