[commit: ghc] master: remove unnecessary ifdef (1275994)

git at git.haskell.org git at git.haskell.org
Tue Oct 18 16:20:21 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/1275994613222285b674e4cf7641dd29fb5954e6/ghc

>---------------------------------------------------------------

commit 1275994613222285b674e4cf7641dd29fb5954e6
Author: Simon Marlow <marlowsd at gmail.com>
Date:   Tue Oct 18 11:35:12 2016 +0100

    remove unnecessary ifdef


>---------------------------------------------------------------

1275994613222285b674e4cf7641dd29fb5954e6
 rts/RtsStartup.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/rts/RtsStartup.c b/rts/RtsStartup.c
index 7c2be0d..86a3228 100644
--- a/rts/RtsStartup.c
+++ b/rts/RtsStartup.c
@@ -435,10 +435,8 @@ hs_exit_(rtsBool wait_foreign)
     // Free the various argvs
     freeRtsArgs();
 
-#ifndef CMINUSMINUS
     // Free threading resources
     freeThreadingResources();
-#endif
 }
 
 // Flush stdout and stderr.  We do this during shutdown so that it



More information about the ghc-commits mailing list