[commit: ghc] master: driver/utils/dynwrapper.c: Remove unused variable (c969c98)

git at git.haskell.org git at git.haskell.org
Sun Feb 25 21:57:42 UTC 2018


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

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

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

commit c969c987ab63db29f305f9a0fd2047bc8156f309
Author: Simon Jakobi <simon.jakobi at gmail.com>
Date:   Tue Feb 20 13:17:27 2018 -0500

    driver/utils/dynwrapper.c: Remove unused variable
    
    The variable was already unused when the file was introduced in
    b35a6ce0e34255d200ddcf341ffc645fd237ea32.
    
    Reviewers: bgamari
    
    Reviewed By: bgamari
    
    Subscribers: rwbarton, thomie, carter
    
    GHC Trac Issues: #11777
    
    Differential Revision: https://phabricator.haskell.org/D4426


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

c969c987ab63db29f305f9a0fd2047bc8156f309
 driver/utils/dynwrapper.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/driver/utils/dynwrapper.c b/driver/utils/dynwrapper.c
index a9250f5..7fb06e5 100644
--- a/driver/utils/dynwrapper.c
+++ b/driver/utils/dynwrapper.c
@@ -155,7 +155,6 @@ HINSTANCE GetNonNullModuleHandle(LPTSTR dll) {
 typedef int (*hs_main_t)(int , char **, StgClosure *, RtsConfig);
 
 int main(int argc, char *argv[]) {
-    void *p;
     HINSTANCE hRtsDll, hProgDll;
     LPTSTR oldPath;
 



More information about the ghc-commits mailing list