[MLton-commit] r5889

Matthew Fluet fluet at mlton.org
Sun Aug 19 13:46:31 PDT 2007


Eliminate warnings
----------------------------------------------------------------------

U   mlton/trunk/runtime/platform/windows.c

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

Modified: mlton/trunk/runtime/platform/windows.c
===================================================================
--- mlton/trunk/runtime/platform/windows.c	2007-08-19 11:24:46 UTC (rev 5888)
+++ mlton/trunk/runtime/platform/windows.c	2007-08-19 20:46:31 UTC (rev 5889)
@@ -105,6 +105,8 @@
                 case PAGE_NOCACHE:
                         protect = "PAGE_NOCACHE";
                         break;
+                default:
+                        assert (FALSE);
                 }
                 switch (buf.State) {
                 case MEM_COMMIT:
@@ -116,6 +118,8 @@
                 case MEM_RESERVE:
                         state = "MEM_RESERVE";
                         break;
+                default:
+                        assert (FALSE);
                 }
                 fprintf(stderr, "0x%8x %10u  %s %s\n",
                         (unsigned int)buf.BaseAddress,




More information about the MLton-commit mailing list