shithub: mc

Download patch

ref: 68b9ac1db448f98bb985a93216537d2419634a52
parent: 69e1e517aaab2af4e7f18cfc7f549e0a92be270c
author: Ori Bernstein <[email protected]>
date: Tue Dec 30 13:07:37 EST 2014

Fix duplicate variable definition.

    Should really make the compiler error on this..

--- a/libstd/syswrap+posixy.myr
+++ b/libstd/syswrap+posixy.myr
@@ -86,8 +86,6 @@
 
 /* useful/portable bits of uname */
 const getsysinfo = {si
-	var si : sysinfo
-
 	sys.uname(&si.uname)
 	si.system = cstrconv(si.uname.system[:])
 	si.version = cstrconv(si.uname.version[:])